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]

Re: SIGSEGV in jc1




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



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