glibc-2.3.4-20040701: error with libc_pic.a

root fishersssss at 126.com
Wed Dec 29 19:24:27 PST 2004


On Wed, Dec 29, 2004 at 09:31:49PM +0300, Vladimir Rusinov aka B. wrote:

Use the LFS6-bootCD as your host system is a better choice.




> Hello!
> 
> I am trying to compile glibc (LFS 6.0, in chapter 5)
> 
> glibc-2.3.4-20040701
> 
> 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
> --with-headers=/tools/glibc-kernheaders
> --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/librtld.map.o '-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/librtld.map] 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 2.15.94.0.2
> gcc-3.4.3
> 
> Thanks.
> 
> PS: host system: SuSE 9.1
> 
> PPS: sorry for my english
> 
> -- 
> WBR, Vladimir Rusinov aka B.
> ORIGIN: "Matrix: segmentation fault"
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
> 





More information about the lfs-support mailing list