Hi Richard,

What do you think about this fix? [1]

[1] https://github.com/RobertBerger/meta-java/commit/3db52ddcb7771e989cf39048a7b084d040d6b5b0

I am still building and testing, but it looks like this allows me to successfully build a jdk for x86 which runs in an x86 container with gcc-9.

It conditionally adds the required CLFAGS.

I will run a few more tests and see if it works as expected also for older gcc versions. When I tried last time I was only able to create a jdk with gcc-9 and whatever was on master-next which was also able to run without crashing. I am curious if with the new version something changed.

Run like in:

root@f1e0f8e7ef93:/# java -version
openjdk version "1.8.0_252-internal"
OpenJDK Runtime Environment (build 1.8.0_252-internal-ga)
OpenJDK 64-Bit Server VM (build 25.252-bga, mixed mode)

Regards,

Robert
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84168): 
https://lists.openembedded.org/g/openembedded-devel/message/84168
Mute This Topic: https://lists.openembedded.org/mt/72312277/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.openembedded.org/g/openembedded-devel/leave/8024792/1994799631/xyzzy
  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to