Help.

khaled gouaich gouaichkhaled at gmail.com
Fri Jun 12 07:49:05 PDT 2009


Hi every body,
i'm new in the LFS world and i'm trying to build my LFS. I'm using the LFS
book 6.3 (English version).
My host : linux 2.6.24 with a good configuration (i got all the tools).

I have a problem at chapter 5, 5.6.1 installing Glibc.
I got this message :

*** WARNING: You should not compile GNU libc without versioning. Not using
*** versioning will introduce incompatibilities so that old binaries
*** will not run anymore.
*** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer).
checking for .previous assembler directive... yes
checking for .protected and .hidden assembler directive... yes
checking whether __attribute__((visibility())) is supported... yes
checking for broken __attribute__((visibility()))... no
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section... no
checking for .preinit_array/.init_array/.fini_array support... no
configure: error: Need linker with .init_array/.fini_array support.

Here some informations from my config.log where it's situated at :
/mnt/lfs/sources/glibc-build/config.log

configure:5467: checking whether to put _rtld_local into .sdata section
configure:5481: result: no
configure:5491: checking for .preinit_array/.init_array/.fini_array support
configure:5504: gcc -B/tools/bin/ -g -O2   -o conftest conftest.c
                     -static -nostartfiles -nostdlib 1>&5
/tools/bin/ld: unrecognized option '--hash-style=both'
/tools/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
configure:5507: $? = 1
configure:5520: result: no
configure:5523: error: Need linker with .init_array/.fini_array support.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20090612/d3a9fabb/attachment.html>


More information about the lfs-support mailing list