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

Austin Foxley austinf at cetoncorp.com
Wed Sep 23 14:53:23 UTC 2009


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.

-Austin


More information about the uClibc mailing list