Dynamic linker and hash-style=gnu

Francois Tigeot ftigeot at wolfpond.org
Mon Apr 4 14:34:19 PDT 2011

Hi all,
I have been recently puzzled by some binaries failing to load:

  ld-elf.so.2: makedepend: Shared object has no run-time symbol table
This error appears with programs linked with the "--hash-style=gnu" option.
ld --hash-style=gnu only writes a new ".gnu.hash" section in ELF files, and
not the classic ".hash" section.

It seems the runtime loader in DragonFly has no support for the ".gnu.hash"
section or it is not activated.

Francois Tigeot

More information about the Kernel mailing list