This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Gcj segfault on RH7.3
- From: Mark Anderson <mark at panonet dot net>
- To: java at gcc dot gnu dot org
- Date: Mon, 25 Aug 2003 15:59:36 +0100
- Subject: Re: Gcj segfault on RH7.3
- References: <200308251205.24703.mark@panonet.net>
On Monday 25 Aug 2003 12:05, Mark Anderson wrote:
> Hi list,
>
> I have built the gcj cvs on a standard RH7.3 install but running a simple
> hello world program causes a segfault. Here is the output of gcc -v. Also,
> a backtrace from gdb is attached to the end of the mail.
>
> gcj -v
> Reading specs from /opt/gcc3.4/lib/gcc/i686-pc-linux-gnu/3.4/specs
> Reading specs from
> /opt/gcc3.4/lib/gcc/i686-pc-linux-gnu/3.4/../../../libgcj.spec rename spec
> lib to liborig
> Configured with: '../gcc/configure' '--enable-threads=posix
> '--prefix=/opt/gcc3.4 '--enable-shared '--enable-languages=c++,java Thread
> model: posix
> gcc version 3.4 20030822 (experimental)
>
> Have I built with the wrong configure options? I simply followed the
> instructions from the 'How to build GCJ from cvs' webpage. Any help would
> be greatly appreciated.
I have found that adding --enable-sjlj-exceptions to the configure options
solves this problem.
--
Regards,
Mark