Glibc Build error

Jason Brooks icedown at icedown.net
Thu Sep 16 21:55:48 PDT 2004


I am building LFS on a VMWare system running fedora core 2.  I ran configure
with this command.

../sources/glibc-2.3.3-lfs-5.1/configure --prefix=/tools \
--disable-profile --enable-add-ons=linuxthreads \
--with-binutils=/tools/bin --with-headers=/tools/include \
--without-gd --without-cvs && make AUTOCONF=no


During the make I received this error.

gcc -B/tools/bin/ ../sysdeps/unix/sysv/linux/pread.c -c -std=gnu99 -O2 -Wall
-Winline -Wstrict-prototypes -Wwrite-strings -g -mpreferred-stack-boundary=2
-fPIC    -I../include -I. -I/mnt/lfs/build-glibc/linuxthreads -I..
-I../libio  -I/mnt/lfs/build-glibc -I../sysdeps/i386/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/i386
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread
-I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686
-I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386
-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../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686
-I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -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 -nostdinc -isystem
/tools/lib/gcc-lib/i686-pc-linux-gnu/3.3/include -isystem /tools/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED
-DNOT_IN_libc=1 -DIS_IN_libpthread=1    -o
/mnt/lfs/build-glibc/linuxthreads/ptw-pread.os -MD -MP -MF
/mnt/lfs/build-glibc/linuxthreads/ptw-pread.os.dt
../linuxthreads/descr.h:246: warning: inlining failed in call to
`thread_self'
../linuxthreads/internals.h:535: warning: called from here
gcc -B/tools/bin/ ../sysdeps/unix/sysv/linux/pread64.c -c -std=gnu99 -O2
-Wall -Winline -Wstrict-prototypes -Wwrite-strings -g
-mpreferred-stack-boundary=2  -fPIC    -I../include -I.
-I/mnt/lfs/build-glibc/linuxthreads -I.. -I../libio  -I/mnt/lfs/build-glibc
-I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread
-I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686
-I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386
-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../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686
-I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -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 -nostdinc -isystem
/tools/lib/gcc-lib/i686-pc-linux-gnu/3.3/include -isystem /tools/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED
-DNOT_IN_libc=1 -DIS_IN_libpthread=1    -o
/mnt/lfs/build-glibc/linuxthreads/ptw-pread64.os -MD -MP -MF
/mnt/lfs/build-glibc/linuxthreads/ptw-pread64.os.dt
../linuxthreads/descr.h:246: warning: inlining failed in call to
`thread_self'
../linuxthreads/internals.h:535: warning: called from here
/tmp/ccoApZw9.s: Assembler messages:
/tmp/ccoApZw9.s:1162: Warning: value 0x140 truncated to 0x40
/tmp/ccoApZw9.s:1162: Error: junk at end of line, first unrecognized
character is `x'
make[2]: *** [/mnt/lfs/build-glibc/linuxthreads/ptw-pread64.os] Error 1
make[2]: Leaving directory
`/mnt/lfs/sources/glibc-2.3.3-lfs-5.1/linuxthreads'
make[1]: *** [linuxthreads/others] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.3-lfs-5.1'
make: *** [all] Error 2

I've looked in the archives and on google but haven't come up with anything.




More information about the lfs-support mailing list