[oe] [meta-java][PATCH] openjdk-8: gcc-8 fix #4: undefined behaviour (hotspot)

Richard Leitner richard.leitner at skidata.com
Mon Aug 13 20:39:49 UTC 2018


Hi André,
thanks again for the patch ;-)

On 08/13/2018 09:43 PM, André Draszik wrote:
> On Mon, 2018-08-13 at 20:32 +0100, André Draszik wrote:
>>
>> With these patches applied, the openjdk-8 ARM port works again:
>>> RESULTS:
>>> RESULTS - ping.PingTest.test_ping - Testcase 964: PASSED (0.04s)
>>> RESULTS - ssh.SSHTest.test_ssh - Testcase 224: PASSED (0.68s)
>>> RESULTS - java.JavaTest.test_java_exists - Testcase -1: PASSED (0.14s)
>>> RESULTS - java.JavaTest.test_java_jar_comp_mode - Testcase -1: FAILED
>>> (5.13s)
>>> RESULTS - java.JavaTest.test_java_jar_int_mode - Testcase -1: PASSED
>>> (4.48s)
>>> RESULTS - java.JavaTest.test_java_jar_works - Testcase -1: PASSED
>>> (4.44s)
>>> RESULTS - java.JavaTest.test_java_version - Testcase -1: PASSED (3.66s)
>>> RESULTS - javac.JavacTest.test_javac_exists - Testcase -1: PASSED
>>> (0.13s)
>>> RESULTS - javac.JavacTest.test_javac_works - Testcase -1: PASSED
>>> (30.87s)
>>> SUMMARY:
>>> openjdk-8-test-image () - Ran 9 tests in 50.263s
>>
>> The java.JavaTest.test_java_jar_comp_mode failure can be ignored for now,
>> as that test verifies compiled mode which is not available on arm. The
>> testcase must be fixed instead.

Yep. That's true.
According to my tests we have to this for compiled mode of several 
combinations:
	OpenJRE-8 on arm
	OpenJDK-7 on aarch64
	OpenJDK-7 on x86
	OpenJDK-7 on x86-64

All of them fail with "Incorrect mode" and therefore have no compiled 
mode/JIT built in.

Although (to be honest) I haven't looked into the JDK-7 problems... 
AFAIK they should be fixable (at least for x86{,-64})...

Maybe someone else here on the list (like Henning, Maxin or Otavio?) has 
more information/background on that?

> 
> Do you have an idea how to fix the test case? I've never looked into oeqa...

It's already on my todo list for tomorrow ;-)

regards;Richard.L

> 
> Cheers,
> Andre'
> 



More information about the Openembedded-devel mailing list