------- Comment #3 from jakub at gcc dot gnu dot org 2005-11-10 09:49 ------- glibc can be configured without tls support when using --without-tls configure switch. I think glibc 2.3.2 defaulted to --without-tls, so you had to explicitly request --with-tls support.
Does even a trivial __thread using program break fail at runtime? __thread int thr; int main (void) { return thr; } Maybe either tls.exp or testsuite/lib/*.exp could check for this. If the former, it would need moving runtime tls tests to say testsuite/gcc.dg/tls/run/ and using a separate *.exp file for them, if the latter set some dg-require-tls-libc or something like that. Do you think there are enough people with prehistoric libcs building new GCC to bother with it though? -- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rth at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24475