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) \