This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [cygwin] libjava/java/lang/natClass.cc:904: error: thread-local storage not supported for this target
- From: Brian Dessent <brian at dessent dot net>
- To: Andrew Haley <aph at redhat dot com>
- Cc: Christian Joensson <christian dot joensson at gmail dot com>, GCC Development <gcc at gcc dot gnu dot org>
- Date: Thu, 12 Oct 2006 03:13:22 -0700
- Subject: Re: [cygwin] libjava/java/lang/natClass.cc:904: error: thread-local storage not supported for this target
- References: <5460e3330610120251t7088b81nc2318e34d6491c34@mail.gmail.com> <17710.4868.653140.687439@zebedee.pink>
- Reply-to: GCC Development <gcc at gcc dot gnu dot org>
Andrew Haley wrote:
> That __thread variable is surrounded by HAVE_TLS. There is a
> configure test which simply compiles this line:
>
> __thread int foo;
>
> and that configure test must succeed for HAVE_TLS to be set. So, to
> fix this we need to find out if that program did compile, and if so,
> how.
Might this have to do with
<http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00208.html> which was
committed for a brief while and then subsequently reverted on
<http://gcc.gnu.org/ml/gcc-patches/2006-10/msg00461.html>? The
configure machinery in libjava might not be equipped to deal with this
kind of dependency and could require a "make clean".
> --disable-tls in the configure line might solve your problem.
That too.
Brian