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

Luca liliana.perossa at fastwebnet.it
Tue Nov 28 06:22:33 PST 2006

Luca wrote:
> Hello and sorry for auto-introducing me in the thread.
> In some new systems as Fedora Core 6 gcc passes --hash-style=gnu to the
> linker, which indeed is called with an option like
> "--enable-new-ldflags" (which enables new linker flags).
> The result is a DSO with ".gnu.hash" only so not including the "old"
> ".hash"; a possible option is to pass something like "--hash-style=both"
> so that an old dynamic linker should handle or the old "--hash-style=sysv".
> I just tried myself from a Fedora Core 6 (i386) host and it seems to work.
> Luca
Sorry, forgot a P.S.

It's not a bug in the build method, or in gcc, binutils etc... but
fedora core developers changed the default behavior to include as
default "--hash-style=gnu" which old linkers aren't able to handle.


More information about the lfs-support mailing list