To reproduce the issue with upstream openjdk the build flags need to be
patched to allow setting CPU flags using the attached patch:

 export VENDOR_FLAGS_CPU="-march=z13 -mtune=z15".

The bug is reproducible on CPUs with 'gs' flag enabled, in release 
configuration. 
----
cat /proc/cpuinfo | more
vendor_id       : IBM/S390
# processors    : 64
bogomips per cpu: 3241.00
max thread id   : 1
features        : esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te 
vx vxd vxe >gs< vxe2 vxp sort dflt pcimio sie 
---


To reproduce run

``
make reconfigure clean test 
TEST=test/hotspot/jtreg/compiler/codecache/stress/UnexpectedDeoptimizationAllTest.java
 CONF=linux-s390x-server-release

``
note reconfigure/clean to apply VENDOR_FLAGS_CPU variables when building 
openjdk. 


** Patch added: "flags.patch"
   
https://bugs.launchpad.net/ubuntu/+source/openjdk-21/+bug/2095441/+attachment/5888750/+files/flags.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2095441

Title:
  S390x build of openjdk crashes with the segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/2095441/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to