This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Gcj segfault on RH7.3
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Mark Anderson <mark at panonet dot net>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 25 Aug 2003 11:31:56 -0400 (EDT)
- Subject: Re: Gcj segfault on RH7.3
On Mon, 25 Aug 2003, Mark Anderson wrote:
> #0 0x00000005 in ?? ()
> #1 0x403fb472 in _Jv_Throw (value=0x807afa0) at ../../../gcc/libjava/exception.cc:103
> #2 0x4040c77d in java::lang::Class::forName(java::lang::String*, bool, java::lang::ClassLoader*) (className=0x809ef78, initialize=1 '\001',
> loader=0x0) at ../../../gcc/libjava/java/lang/natClass.cc:83
Funny, I had a similar failure on a RH 7.2 box last week. It turns out
the system binutils (2.11.90.0.8) is too old to build mainline GCC
reliably.
You can build/install a newer binutils (and configure GCC using --with-as
and --with-ld), or build GCC from a unified source tree. I did the
latter, which solved my problem.
Jeff