How to use __thread

wj jiawan@huawei.com
Thu Dec 2 09:37:00 GMT 2004


Hi,

I am configuring the glibc 2.3.3 with nptl thread, but I meet this error 
info:
configure: error: compiler support for __thread is required

I am using the gcc 3.4.2 , and when I compile one test program which use
the __thread, I get this error:
t.c:3: error: thread-local storage not supported for this target

So how to resolve this problem?
Thanks.



More information about the Gcc mailing list