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