This is the mail archive of the
mailing list for the GCC project.
How to use __thread
- From: wj <jiawan at huawei dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 02 Dec 2004 17:38:23 +0800
- Subject: How to use __thread
I am configuring the glibc 2.3.3 with nptl thread, but I meet this error
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?