[Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*

howarth at nitro dot med dot uc dot edu gcc-bugzilla@gcc.gnu.org
Sat Dec 19 00:35:00 GMT 2009



------- Comment #38 from howarth at nitro dot med dot uc dot edu  2009-12-19 00:35 -------
I've confirmed that both the WalkerTest failures and the gcj compiler crashes
on java code are eliminated on darwin10 if I duplicate the code for
_Unwind_FindEnclosingFunction() as _darwin10_Unwind_FindEnclosingFunction() and
export that via the versioned libgcc_ext. So the entire problem is that
darwin10's _Unwind_FindEnclosingFunction()  is non-functional (and just calls
abort()). Fortunately, since FSF gcc builds on darwin10 without compact unwind
we still have access to a functional _Unwind_Find_FDE(). We just need to find
some approach short of adding a new symbol to libgcc that will provide an
alternate means of accessing the code for _Unwind_FindEnclosingFunction() on
darwin.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41991



More information about the Gcc-bugs mailing list