Gcj segfault on RH7.3

Jeff Sturm jsturm@one-point.com
Mon Aug 25 15:32:00 GMT 2003


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



More information about the Java mailing list