-
Epic
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
PortableZero
-
False
-
-
False
-
To Do
-
0% To Do, 17% In Progress, 83% Done
-
-
At present, the portable build works with Zero, but only if the version of libffi.so on the build system matches the destination system. This is the case when the destination is RHEL 8, but not if it is RHEL 9.
We need to use libffi bundling (https://bugs.openjdk.org/browse/JDK-8141590) to include the build libffi.so in the portable image so the JDK can always find the correct libffi.so it was built against.
Fixing this is most relevant to 8u on RHEL 9 as s390x still use Zero there. It should be fixed elsewhere as well, but there are currently no architectures using Zero on 11u and up, as s390x now has a JIT.