Does uclibc support TLS

Khem Raj raj.khem at gmail.com
Wed Feb 23 19:31:54 UTC 2011


On Wed, Feb 23, 2011 at 11:29 AM, raymond zhao
<raymond.zhao.ml at gmail.com> wrote:
> Hi, Mike
> Thanks for making it clear.
> Do you know which version of uclibc has TLS support?

currently master. It will be in the next release.

> And, could you give me more detail information on how to disable TLS in GCC?

add --disable-tls to your configure commandline

> Did not get the answer from Google and 'man gcc'. :-(
>
> Thanks very much,
>
> Raymond
>
> On Wednesday, February 23, 2011 13:24:43 raymond zhao wrote:
>> I am building some application with uclibc. and got an error:
>>
>> uclibc/sysroot/lib/libstdc++.so: undefined reference to `__tls_get_addr'
>>
>> Does this mean uclibc doesn't support TLS? My uclibc is 0.90.30.3
>
> TLS isnt in that version
>
>> Is there some trick to solve the problem?
>
> disable tls in your gcc
> -mike
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
>


More information about the uClibc mailing list