ld built without --hash-style, Ch5, Fedora Core 6 -> glibc config failure
liliana.perossa at fastwebnet.it
Wed Nov 29 02:22:07 PST 2006
> 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.
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-22.214.171.124.5 and Fedora Core uses a HJL
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.
More information about the lfs-support