This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug target/18459] [4.0 Regression] gcj no longer works on win32
- From: "dannysmith at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 10 Dec 2004 23:11:57 -0000
- Subject: [Bug target/18459] [4.0 Regression] gcj no longer works on win32
- References: <20041113044458.18459.ovidr@users.sourceforge.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dannysmith at users dot sourceforge dot net 2004-12-10 23:11 -------
Ugh, I see what is wrong with the patch I posted at:
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg02192.html
* config/i386/cygming.h (TARGET_USE_JCR_SECTION): Overide
default.
Index: gcc/gcc/config/i386/cygming.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/cygming.h,v
retrieving revision 1.23
diff -c -3 -p -r1.23 cygming.h
*** gcc/gcc/config/i386/cygming.h 6 Nov 2004 04:28:06 -0000 1.23
--- gcc/gcc/config/i386/cygming.h 25 Nov 2004 21:25:17 -0000
*************** extern int i386_pe_dllimport_name_p (con
*** 408,413 ****
--- 410,420 ----
while (0)
#endif /* HAVE_GAS_WEAK */
+ /* FIXME: SUPPORTS_WEAK && TARGET_HAVE_NAMED_SECTIONS is true,
+ but for .jcr section to work we also need crtbegin and crtend
+ objects as well as linker supoort. */
+ #define USE_JCR_SECTION 0 <<<<<<
+
/* Decide whether it is safe to use a local alias for a virtual function
when constructing thunks. */
#undef TARGET_USE_LOCAL_THUNK_ALIAS_P
That should be
#define TARGET_USE_JCR_SECTION 0
Sorry, I'll retest with clean CVS co and resubmit patch.
Danny
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18459