Error with glibc-2.7

Richard Delétang rdeletang at gmail.com
Thu Jan 3 13:25:37 PST 2008


Hi,

I have a problem with the compilation of the package glibc-2.7 :  
http://www.linuxfromscratch.org/lfs/view/development/chapter06/glibc.html

The make command return me this error:

if test -r /usr/src/glibc-build/csu/abi-tag.h.new; then mv -f 
/usr/src/glibc-build/csu/abi-tag.h.new /usr/src/glibc-build/csu/abi-tag.h; \
        else echo >&2 'This configuration not matched in ../abi-tags'; 
exit 1; fi
gawk -f ../scripts/gen-as-const.awk ../nptl/sysdeps/i386/tcb-offsets.sym \
        | gcc -S -o /usr/src/glibc-build/tcb-offsets.hT3 -std=gnu99 
-fgnu89-inline -Wall -Winline -Wwrite-strings -fmerge-all-constants 
-march=i486 -Wstrict-prototypes -mpreferred-stack-boundary=4     
-I../include -I/usr/src/glibc-build/csu -I/usr/src/glibc-build 
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 
-I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread 
-I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu 
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet 
-I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv 
-I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix 
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu 
-I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 
-I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu 
-I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 
-I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl  -I.. -I../libio 
-I.  -D_LIBC_REENTRANT -include ../include/libc-symbols.h       
-DHAVE_INITFINI -x c - \
                -MD -MP -MF /usr/src/glibc-build/tcb-offsets.h.dT -MT 
'/usr/src/glibc-build/tcb-offsets.h.d /usr/src/glibc-build/tcb-offsets.h'
In file included from ./../include/libc-symbols.h:55,
                 from <command-line>:0:
/usr/src/glibc-build/config.h:3:3: error: #error "glibc cannot be 
compiled without optimization"
make[2]: *** [/usr/src/glibc-build/tcb-offsets.h] Error 1
make[2]: Leaving directory `/usr/src/glibc-2.7/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/usr/src/glibc-2.7'
make: *** [all] Error 2

Best regards,
Richard



More information about the lfs-dev mailing list