Does uclibc support TLS

Khem Raj raj.khem at gmail.com
Wed Feb 23 22:44:34 UTC 2011


On Wed, Feb 23, 2011 at 2:33 PM, Rich Felker <dalias at aerifal.cx> wrote:
> On Wed, Feb 23, 2011 at 09:42:45PM +0100, Yann E. MORIN wrote:
>> Raymond, Khem, All,
>>
>> On Wednesday 23 February 2011 21:30:25 raymond zhao wrote:
>> > > add --disable-tls to your configure commandline
>> > Unfortunately, we do not use auto config in this package. What will be put
>> > into makefile if apply --disable-tls in configure?
>>
>> I think Khem meant that you have to pass --disable-tls when you configure gcc.
>> --disable-tls is an option that you pass to gcc's ./configure.
>>
>> Yes, it means you'll have to rebuild your gcc (and the rest of the toolchain,
>> probably...).
>
> I see no reason you should have to rebuild gcc. The problem is that
> libstdc++ has been built incorrectly based on a determination that the
> target supports TLS, when in fact it doesn't. Recompiling just
> libstdc++ with the correct options (probably --disable-tls or similar)
> should be all that's required.

libstdc++ is build/configured unified with gcc.

>
> Rich
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
>


More information about the uClibc mailing list