[cygwin] libjava/java/lang/natClass.cc:904: error: thread-local storage not supported for this target

2006-10-12 Thread Christian Joensson
Currently, and it's been there for a while, I get the following error on gcc trunk: /usr/local/src/trunk/objdir/./gcc/xgcc -shared-libgcc -B/usr/local/src/trunk/objdir/./gcc -nostdinc++ -L/usr/local/src/trunk/objdir/i686-pc-cygwin/libstdc++-v3/src

Re: [cygwin] libjava/java/lang/natClass.cc:904: error: thread-local storage not supported for this target

2006-10-12 Thread Andrew Haley
Christian Joensson writes: Currently, and it's been there for a while, I get the following error on gcc trunk: ../../../gcc/libjava/java/lang/natClass.cc:904: error: thread-local storage not supported for this target make[3]: *** [java/lang/natClass.lo] Error 1 make[3]: Leaving

Re: [cygwin] libjava/java/lang/natClass.cc:904: error: thread-local storage not supported for this target

2006-10-12 Thread Brian Dessent
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,