------- Comment #31 from howarth at nitro dot med dot uc dot edu 2009-12-05 08:54 ------- Interestingly gcc-4.4.2 with the proposed patch, http://gcc.gnu.org/ml/java/2009-12/msg00027.html, shows gcj crashing the same way as gcc trunk with the same patch....
(gdb) r testme.java -fbootclasspath=/sw/share/java/ecj/ecj.jar:./:/sw/share/xtal/ccp4-6.1.2/bin/:/sw/lib/gcc4.4/share/java/libgcj-4.4.2.jar -fsource=1.5 -ftarget=1.5 -fzip-dependency /var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccyWYcT2.zip -fzip-target /var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccHDO5f8.jar Starting program: /sw/lib/gcc4.4/libexec/gcc/x86_64-apple-darwin10/4.4.2/ecj1 testme.java -fbootclasspath=/sw/share/java/ecj/ecj.jar:./:/sw/share/xtal/ccp4-6.1.2/bin/:/sw/lib/gcc4.4/share/java/libgcj-4.4.2.jar -fsource=1.5 -ftarget=1.5 -fzip-dependency /var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccyWYcT2.zip -fzip-target /var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccHDO5f8.jar Reading symbols for shared libraries +++++. done Program received signal SIGABRT, Aborted. 0x00007fff843d4fe6 in __kill () (gdb) bt #0 0x00007fff843d4fe6 in __kill () #1 0x00007fff84475e32 in abort () #2 0x00007fff844bffc9 in _Unwind_FindEnclosingFunction () #3 0x000000010000fcbc in gnu::classpath::VMStackWalker::getCallingClassLoader (pc=0x100980d1c) at ../../../gcc-4.4.2/libjava/gnu/classpath/natVMStackWalker.cc:104 Previous frame inner to this frame (gdb could not unwind past this frame) So the crash on darwin10 appears to be independent of the libgcc_ext changes added to gcc trunk. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41991