This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Gcj segfault on RH7.3


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]