This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
- From: "howarth at nitro dot med dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 19 Dec 2009 00:35:03 -0000
- Subject: [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
- References: <bug-41991-11113@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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