Gcj segfault on RH7.3

Mark Anderson mark@panonet.net
Mon Aug 25 14:57:00 GMT 2003

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. 


More information about the Java mailing list