This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: x86 cross toolchain and pthread_* weak symbols


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

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]