This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/48512] [4.6] gcj spec files references incorrectly crtmt.o on i686-w64-mingw32 target
- From: "ktietz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 02 Feb 2012 18:37:41 +0000
- Subject: [Bug java/48512] [4.6] gcj spec files references incorrectly crtmt.o on i686-w64-mingw32 target
- Auto-submitted: auto-generated
- References: <bug-48512-4@http.gcc.gnu.org/bugzilla/>
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