This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: SIGSEGV in jc1
- To: Per Bothner <per at bothner dot com>
- Subject: Re: SIGSEGV in jc1
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Wed, 9 May 2001 01:55:33 -0400 (EDT)
- cc: "Boehm, Hans" <hans_boehm at hp dot com>, "'java at gcc dot gnu dot org'" <java at gcc dot gnu dot org>
On 8 May 2001, Per Bothner wrote:
> Could some other people try Hans's testcase using a branch or trunk
> tree, and report the result?
Sure. With a fresh branch on i686-pc-linux-gnu:
$ make rpn_calc
/opt/java/bin/javac -d . UnaryCRFunction.java CR.java
PrecisionOverflowError.java AbortedError.java TestCR.java
gcj -O -o rpn_calc --main=rpn_calc rpn_calc.java com/sgi/math/*.class
$ ./rpn_calc
1 2 +
3.00
Building from source seems to work too:
$ gcj -O -o rpn_calc --main=rpn_calc *.java
$ ./rpn_calc
3 4 *
12.00
except when building TestCR:
$ gcj -O -o TestCR --main=com.sgi.math.TestCR *.java
$ ./TestCR
Segmentation fault (core dumped)
Strange, that one.
Jeff