Dan E wrote:
> On Thu, 23 Apr 2009 12:45 +0200, "Stephan Raue"
> <[email protected]> wrote:
>> i have upgraded my geexbox based toolchain (uClibc-0.9.30.1) with 
>> gcc-4.4.0 and now i have often errors like this
>>
>> /home/stephan/projects/OpenELEC/build.OpenELEC.i386.uClibc/toolchain/lib/gcc/i686-linux-uclibc/4.4.0/../../../../i686-linux-uclibc/lib/libstdc++.so:
>>  
>> undefined reference to `___tls_get_addr'
>>
>> what must i do?
>>
>> Stephan
> 
> The quickest way to get rid of that error is disable NPTL in your uClibc
> configuration.  The release versions of uClibc don't really work with
> NPTL yet.  What's the processor in the geexbox?
> 
> 

wrong. It's a matter of having TLS support in the uclibc.
uclibc trunk simply doesn't have it, nothing to do with NPTL.
Instead, nptl-branch (that requires TLS) has tls implemented for some archs.
At any rate, x86 has not it neither in NPTL branch.

FYI, __tls_get_address is a function automatically called by the compiler
when code needs to access a TLS variable (declared with __thread keyword)
by uing the dynamic access model.

carmelo
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to