x86 cross toolchain and pthread_* weak symbols

Mike Frysinger vapier@gentoo.org
Mon Nov 30 23:56:00 GMT 2009


On Monday 30 November 2009 16:12:08 Lionel Landwerlin wrote:
> I'm using crosstool-ng to generate a cross toolchain for an x86 target
> (nothing too exciting...) and I'm kind of disappointed because I get
> some pthread_* weak symbols inside my toolchain :
> 
> /opt/cross_x86/i686-cm-linux-gnu/lib/libdl-2.10.2.so
>          w __pthread_getspecific
>          w __pthread_key_create
>          w __pthread_once
>          w __pthread_setspecific
> 
> I'm wondering why I don't have these weak symbols on my host system
> (debian unstable) which is an x86 too, and using the same toolchain
> (both using gcc-4.3.4 + eglibc-2.10/nptl, but binutils 2.19 in my cross
> toolchain, 2.20 on my host system).

maybe you're comparing apples to oranges.  such weak references make sense if 
you've spent time reading the code in question, and i have them on my host x86 
system.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20091130/692173a1/attachment.sig>


More information about the crossgcc mailing list