This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Help for compiling PERFECTLY SPECjbb2000 with gcj
- From: Tony Reix <Tony dot Reix at bull dot net>
- To: green at redhat dot com
- Cc: java at gcc dot gnu dot org, Tony dot Reix at frec dot bull dot fr, hans_boehm at hp dot com
- Date: Fri, 29 Aug 2003 10:36:17 +0200
- Subject: Re: Help for compiling PERFECTLY SPECjbb2000 with gcj
Hi,
{ On Wed, 2003-08-27 at 09:05, Tony Reix wrote:
{ > Done on a 2xia32 (RedHat 9 , 2.4.20-8smp) 1.266 GHz and 512K cache, gcc 3.3.1 .
{
{ Try compiling with -O3 -fomit-frame-pointer -march=pentium4
{ -finline-functions -finline-limit=800 -ffast-math -mfpmath=sse
1) Using all proposed flags:
---------------------------------------
-O3 -g -fomit-frame-pointer -march=pentium4 -finline-functions -finline-limit=800 -ffast-math -mfpmath=sse
This led to a new kind of error : Illegal instruction
# gcj.EXEC
...
++ SPECjbb2000.gcj-O3 -propfile SPECjbb.GCJ331.props
Checking JVM
1st bounds test: OK
Super: Class Super, public=34, protected=33, private=32
Sub: Class Super, public=804, protected=803, private=802
Super: prot=33, priv=32
Sub: prot=111, priv=105
Subclass test OK
1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765
1 1 2 3 5 ./gcj.EXEC: line 28: 6354 Illegal instruction
Line 28 of gcj.EXEC is: SPECjbb2000.gcj-O3 ....
2) Using only: -O2 -ffast-math -mfpmath=sse
----------------------------------------------
This led to the same "VALIDATION ERROR" messages. So it may be another
problem than FP.
jc1: attention : SSE instruction set disabled, using 387 arithmetics
cc1: attention : SSE instruction set disabled, using 387 arithmetics
VALIDATION ERROR: incorrect output for NewOrderTransaction
Line 3 should be: |Customer: 17 Name: BAROUGHTANTI Credit: GC %Disc: 43.11|
Line 3 is: |Customer: 30 Name: BARABLEEING Credit: GC %Disc: 12.76|
3) Using only: -O3 -g -finline-functions -finline-limit=800 -ffast-math -mfpmath=sse
-------------------------------------------------------------------------------------
This again led to the problem:
JVM Check OK
Exception in thread "main" java.lang.NullPointerException
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/home/reixt/gcc/gcc-3.3.1.install/lib/libgcj.so.4.0.0)
at java.lang.Class.forName(java.lang.String) (/home/reixt/gcc/gcc-3.3.1.install/lib/libgcj.so.4.0.0)
at spec.jbb.JBBmain.main(java.lang.String[]) (/home/reixt/SPECjbb2000/jbb/src/spec/jbb/infra/Factory/Factory.java.fixed:91)
Amicalement/Regards,
Tony