[Bug target/24475] gcc.dg/tls/pr24428.c execution test and gcc.dg/tls/pr24428-2.c execution test fail on IA32

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 10 09:49:00 GMT 2005



------- 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



More information about the Gcc-bugs mailing list