Compiler version test failed of SPECJVM2008 benchmarks on OpenJDK
Tony S
suokunstar at gmail.com
Sun Nov 27 21:29:08 UTC 2016
Here are the errors and corresponding solutions for compiler version
test failed of SPECJVM2008 on OpenJDK. Hoping this will help people in
the future.
------------------------[Error message start]------------------------
Received output:
[008] 2nd bounds test: OK
[009] Compiler version test: failed
[010] testIf: OK
[011] testArray: OK
[012] testBitOps: OK
[013] testFor: OK
[014] ...
Complete output: /SPECjvm2008/results/SPECjvm2008.055/check.bt1.i1.op1.error.log
Validation file: /SPECjvm2008/resources/check/validity.check.dat
No benchmarks will be run, since initial check test failed.
The Javac version test in check failed.
The Javac version must be the one included in SPECjvm2008.
There is a known issue with this for Java on Mac OS X, including a workaround.
For more info, see ./docs/KnownIssues.html
------------------------[Error message end]------------------------
Here is my solution:
------------------------[Solution message start]------------------------
Under your JDK directory, execute
$ make all images
Then you can find rt.jar under your build folder. For example, rt.jar
is located under my directory:
build/linux-x86_64-normal-server-release/images/j2sdk-image/jre/lib/
Next, execute the SPECJVM2008 benchmarks like this:
$ [your java directory] -Xbootclasspath/p:[your rt.jar directory]
-jar SPECjvm2008.jar [benchmark name] [other parameters]
it should works and no compiler version test error happens.
------------------------[Solution message end]------------------------
Hoping this will help people using SPECJVM2008 on your customized JDK.
--
**********************************
> Tony S
> Computer Science, University of Texas at Arlington
**********************************
More information about the compiler-dev
mailing list