This is the mail archive of the
mailing list for the binutils project.
Re: Linking problems on CentOS 4.9
- From: Michael Smith <michael dot smith at puppetlabs dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: binutils at sourceware dot org
- Date: Wed, 4 Nov 2015 10:43:02 -0800
- Subject: Re: Linking problems on CentOS 4.9
- Authentication-results: sourceware.org; auth=none
- References: <CABy1mMLwQChC4ig_9YaFdr1J-=yGp_d2jg-rh5+M-aJDm3M5sA at mail dot gmail dot com> <87a8qt8xob dot fsf at igel dot home>
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 <firstname.lastname@example.org> wrote:
> Michael Smith <email@example.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 Schwab, firstname.lastname@example.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
Developer, Puppet Labs