RFR: JDK-8141590: Cannot build Zero with devkit
Erik Joelsson
erik.joelsson at oracle.com
Mon Dec 5 10:07:47 UTC 2016
This patch adds libffi to the linux devkit to enable building of zero.
It also adds optional bundling of the libffi library with the JDK. The
reason for this is that the devkit sysroot is based on a distro that
uses libffi.so.5 while most distros we build or run tests on comes with
libffi.so.6, and those are not compatible. Static linking was
considered, but libffi.a doesn't seem commonly available where we would
need it.
I'm also adding Jib profiles and a JPRT configuration which enables
building of zero on Linux x86 and x64 for the "buildinfra" testset in
JPRT. Note that these builds are currently not clean (for OracleJDK
builds at least).
Bug: https://bugs.openjdk.java.net/browse/JDK-8141590
Webrev: http://cr.openjdk.java.net/~erikj/8141590/webrev.01/
/Erik
More information about the build-dev
mailing list