glibc-2.3.4-20040701: error with libc_pic.a

B. boff2003 at mail.ru
Wed Dec 29 22:25:34 PST 2004


Hello, root <fishersssss at 126.com>!

On Thu, 30 Dec 2004 11:24:27 +0800 you wrote:

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

Hmm, I will wait for the CD for a mounth. (It's to long way to Russia)

Any other ideas?

May be I should use another version of binutils (stable, I have
downloaded last version - 5 Dec)?

> > 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
> > 
> 
> 
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page


-- 
WBR, Vladimir Rusinov aka B.
ORIGIN: Hастоящие программисты считают, что настоящие программы никогда
не пишутся за деньги.

MyORIGINS: лучшее из моей коллекции
http://subscribe.ru/catalog/rest.word.myorigns/
rest.word.myorigns-sub at subscribe.ru?subject=myorigns



More information about the lfs-support mailing list