[PATCH 1/6] Config.in: enable TLS config option only for nptl
Austin Foxley
austinf at cetoncorp.com
Wed Sep 23 22:22:02 UTC 2009
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.
> -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
More information about the uClibc
mailing list