Linking problems on CentOS 4.9

Michael Smith michael.smith@puppetlabs.com
Wed Nov 4 18:43:00 GMT 2015


My expectation from compiling with the system ld, and on every other
system I've built on (a large number), is that is sufficient for
resolving __tls_get_addr at runtime. With successful builds I see a
dependency setup against /lib64/ld-linux-x86-64.so.2 without having to
specify it explicitly.

On Wed, Nov 4, 2015 at 9:46 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> Michael Smith <michael.smith@puppetlabs.com> writes:
>
>> That happens despite __tls_get_addr being defined in
>> /lib64/ld-linux-x86-64.so.2, and the link command including
>> '-dynamic-linker /lib64/ld-linux-x86-64.so.2'.
>
> -dynamic-linker only sets the interpreter section, it does not add
> anything to the list of linked objects.
>
> Andreas.
>
> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
> "And now for something completely different."



-- 
Michael Smith
Developer, Puppet Labs



More information about the Binutils mailing list