gcc 4.2.4 works well, and not support "__thead". gcc 4.3.2 bootstrap hug on libstdc++.a. but when I use --disable-tls, hug the same......
=============================================================== AIX 5.1 doesn't supprt TLS. Only supported on AIX® for POWER version 5.3 with the 5300-05 Technology Level and higher. http://publib.boulder.ibm.com/infocenter/comphelp/v9v111/topic/com.ibm.xlcpp9.aix.doc/compiler_ref/opt_tls.htm#opt_tls ----------------------------------- __thread int a,b; int main() { return a==b; } -- Summary: bootstrap hug on libstdc++.a Product: gcc Version: 4.3.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: cnstar9988 at gmail dot com GCC build triplet: powerpc-ibm-aix5.1.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37308