glibc-2.3.4-20040701: error with libc_pic.a

Vladimir Rusinov aka B. vovanrusinov at
Wed Dec 29 10:31:49 PST 2004


I am trying to compile glibc (LFS 6.0, in chapter 5)


lfs at linux:/tools/glibc-build> ../src/glibc-2.3.4-20040701/configure
--prefix=/tools --with-__thread --enable-kernel=2.6.0
--with-binutils=/tools/bin --without-gd --without-cvs
--disable-profile --enable-add-ons=nptl --with-tls

.... (no errors)

lfs at linux:/tools/glibc-build> make

a - elf/framestate.os
a - elf/unwind-pe.os
: /tools/glibc-build/libc_pic.a
gcc -B/tools/bin/   -nostdlib -nostartfiles -r -o
/tools/glibc-build/elf/ '-Wl,-('
/tools/glibc-build/elf/dl-allobjs.os /tools/glibc-build/libc_pic.a -lgcc
'-Wl,-)' -Wl,-Map,/tools/glibc-build/elf/librtld.mapT/tools/bin/ld:
errno: TLS definition in /tools/glibc-build/libc_pic.a(errno.os) section
.tbss mismatches non-TLS reference in
/tools/glibc-build/elf/dl-allobjs.os/tools/glibc-build/libc_pic.a: could
not read symbols: Bad value collect2: ld returned 1 exit status
make[2]: *** [/tools/glibc-build/elf/] Error 1
make[2]: Leaving directory `/lfs/tools/src/glibc-2.3.4-20040701/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/lfs/tools/src/glibc-2.3.4-20040701'
make: *** [all] Error 2

How to fix it?

Bunutils version


PS: host system: SuSE 9.1

PPS: sorry for my english

WBR, Vladimir Rusinov aka B.
ORIGIN: "Matrix: segmentation fault"

More information about the lfs-support mailing list