On 2016-12-05 11:07, Erik Joelsson wrote:
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/
Looks good to me.
Thanks for fixing this!
/Magnus