ld built without --hash-style, Ch5, Fedora Core 6 -> glibc config failure

Luca liliana.perossa at fastwebnet.it
Wed Nov 29 02:22:07 PST 2006


Luca wrote:
> Just a note:
>
> The "-Xlinker" etc... can be passed to gcc, cc etc... however, example,
> on my lfs, obviously output this:
> root at lfs:~# cc -Wl,--hash-style=both dummy.c
> /usr/bin/ld: unrecognized option '--hash-style=both'
> /usr/bin/ld: use the --help option for usage information
> collect2: ld returned 1 exit status
> root at lfs:~#              
>
> Fedora Core 6 (and others) uses patched versions of binutils, gcc and
> glibc that permit to choose which hash-style to use (default is gnu).
>
> Bye and have a good evening.
>
> Luca
>   
Another note:

In OpenSuSE 10.2 RC1 it's possible to pass the "--hash-style=" too,
however looking at the gcc specs the default is the "old" hash-style and
hash-type is not mentioned in the specs.
Binutils in OpenSuSE is Binutils-2.17.50.0.5 and Fedora Core uses a HJL
binutils too.

Normally to binutils it's possible to pass the "--hash-size=" while with
the patches they use it's possible to pass the hash-type too.

Luca



More information about the lfs-support mailing list