http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48512
Kai Tietz <ktietz at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-02-02 CC| |ktietz at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #1 from Kai Tietz <ktietz at gcc dot gnu.org> 2012-02-02 18:37:41 UTC --- Confirmed. Following patch should solve this Index: gcc/libjava/configure.ac =================================================================== --- gcc.orig/libjava/configure.ac +++ gcc/libjava/configure.ac @@ -1150,8 +1150,13 @@ case "$THREADS" in # FIXME: In Java we are able to detect thread death at the end of # Thread.run() so we should be able to clean up the exception handling # contexts ourselves. - THREADSTARTFILESPEC='crtmt%O%s' - ;; + case "$host" in + *-w64-mingw*) + ;; + *) + THREADSTARTFILESPEC='crtmt%O%s' + ;; + esac none) THREADH=no-threads.h