This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/52805] [4.8 Regression] 243 new GCC HEAD@185977 regressions (libjava failures)
- From: "iains at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 01 Apr 2012 17:28:47 +0000
- Subject: [Bug java/52805] [4.8 Regression] 243 new GCC HEAD@185977 regressions (libjava failures)
- Auto-submitted: auto-generated
- References: <bug-52805-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52805
--- Comment #2 from Iain Sandoe <iains at gcc dot gnu.org> 2012-04-01 17:28:47 UTC ---
I suspect you might have altered the priority of class discovery methods
inadvertently.
e.g. AFAICT, although darwin defines JCR_SECTION_NAME, there is no crt
machinery to deal with it [darwin has it's own crt code] - it's on my TODO to
look at that & confirm/deny/fix as appropriate.
not sure why i686-pc-linux is failing tho (since crtstuff does seem to have
provision for JCR - but not checked in any depth).
Darwin folks might like to try:
Index: gcc/config/darwin.h
===================================================================
--- gcc/config/darwin.h (revision 186018)
+++ gcc/config/darwin.h (working copy)
@@ -847,6 +847,7 @@ enum machopic_addr_class {
/* Java runtime class list. */
#define JCR_SECTION_NAME "__DATA,jcr,regular,no_dead_strip"
+#define TARGET_USE_JCR_SECTION 0
#undef ASM_PREFERRED_EH_DATA_FORMAT
#define ASM_PREFERRED_EH_DATA_FORMAT(CODE,GLOBAL) \