This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/24475] gcc.dg/tls/pr24428.c execution test and gcc.dg/tls/pr24428-2.c execution test fail on IA32
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Nov 2005 09:49:42 -0000
- Subject: [Bug target/24475] gcc.dg/tls/pr24428.c execution test and gcc.dg/tls/pr24428-2.c execution test fail on IA32
- References: <bug-24475-230@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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