[PATCH 1/6] Config.in: enable TLS config option only for nptl

Khem Raj raj.khem at gmail.com
Wed Sep 23 23:42:25 UTC 2009


On Wed, Sep 23, 2009 at 3:22 PM, Austin Foxley <austinf at cetoncorp.com> wrote:
> On 09/23/2009 09:07 AM, Mike Frysinger wrote:
>> On Wednesday 23 September 2009 10:53:23 Austin Foxley wrote:
>>> On 09/23/2009 07:40 AM, Carmelo Amoroso wrote:
>>>>> diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
>>>>> index efa90d7..3d1a929 100644
>>>>> --- a/extra/Configs/Config.in
>>>>> +++ b/extra/Configs/Config.in
>>>>> @@ -403,7 +403,7 @@ config UCLIBC_HAS_THREADS
>>>>>
>>>>>  config UCLIBC_HAS_TLS
>>>>>    bool "Thread-Local Storage"
>>>>> -  depends on UCLIBC_HAS_THREADS && !LINUXTHREADS_OLD
>>>>> +  depends on UCLIBC_HAS_THREADS_NATIVE
>>>>>    default n
>>>>>    help
>>>>>      If you want to enable TLS support then answer Y.
>>>>
>>>> Hum... TLS should work for NPTL and Linuxthreads too, so I think
>>>> this patch is wrong.
>>>
>>> It didn't build for me, but I will look at it again.
>>
>> TLS in linuxthreads.old will require a bit of work, so simply disabling it for
>> now is fine i think.  TLS support in linuxthreads doesnt really gain you that
>> much anyways.

I agree.

>> -mike
>
> I took another look at it (tls with linuxthreads), and it is quite a ways away
> from even compiling at least on i386. Carmelo, did you have it working at some
> point? On what arch?
>
> -Austin
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
>


More information about the uClibc mailing list