[PATCH] Fix linker script ld.so adding AS_NEEDED entry for the dynamic linker
Mike Frysinger
vapier at gentoo.org
Sat Sep 15 07:43:43 UTC 2007
On Friday 03 August 2007, Carmelo AMOROSO wrote:
> while compiling uClibc++ against uClibc-nptl, I found a problem
> into the linker script libc.so.
> The uClibc++ needs the __tls_get_addr symbol (TLS enabled), but it
> cannot find
> it because the dynamic linker is not present into the linker script
> libc.so. In the same way, a lot of applications using TLS dynamic access
> model will fail
> linking with uclibc-nptl
>
> This patch solves this issues defining into Rules.mak the ASNEEDED
> variables only for the NPTL case.
>
> It could be worth to add it both into trunk and nptl branch
considering the nature of as needed, enabling it all the time shouldnt help
(and if your binutils is too old, well tough)
merged
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20070915/5d9c704b/attachment-0002.pgp
More information about the uClibc
mailing list