This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [re] Java executables can abort trying to access a null pointer in a leaf function
- From: Bryce McKinlay <mckinlay at redhat dot com>
- To: tsuraan <tsuraan at gmail dot com>
- Cc: java at gcc dot gnu dot org
- Date: Wed, 01 Feb 2006 17:01:20 -0500
- Subject: Re: [re] Java executables can abort trying to access a null pointer in a leaf function
- References: <84fb38e30602011331s6cfd42bek@mail.gmail.com>
tsuraan wrote:
I'm getting the same result (program exit with abort) using
gcc-4.1-20051029 under FreeBSD 5.4. This happens reliably on many
machines. This code works fine using the same gcc source under Gentoo
Linux with a 2.6.x kernel, so I assume FreeBSD is handling things a
bit differently and causing the abort.
It sounds like -fnon-call-exceptions isn't enabled or isn't working for
some reason. Try specifying it explicitly, or checking -v output to
ensure that -fnon-call-exceptions is passed to jc1.
Bryce