RFR: JDK-8141590: Cannot build Zero with devkit
erik.joelsson at oracle.com
Mon Dec 5 12:40:24 UTC 2016
On 2016-12-05 12:17, Severin Gehwolf wrote:
> On Mon, 2016-12-05 at 11:07 +0100, 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).
> Does this mean you are going to add Zero to your tested build configs
> (via JPRT)? So far my knowledge was Oracle didn't build the Zero port
> at all. From looking at the bug, it seems this is about to change.
This change alone will not add Zero to the standard set of tested
configs. It will only make it easier for Oracle engineers to verify zero
builds on demand. There is a related bug filed for adding zero builds to
the standard hotspot pre checkin jobs, but I can't say if that change is
going to be made at this point.
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8141590
>> Webrev: http://cr.openjdk.java.net/~erikj/8141590/webrev.01/
More information about the build-dev