RFR: 8195685: AArch64: AArch64 cannot build with JDK-8174962

Andrew Dinn adinn at redhat.com
Fri Jan 19 18:24:12 UTC 2018

The following critical patch fixes 8195685 for the latest jdkdev/jdk
tree and also jdkdev/jdk10, making it possible to run any JVM built form
them on AArch64

issue: https://bugs.openjdk.java.net/browse/JDK-8195685
webrev: http://cr.openjdk.java.net/~adinn/8195685/webrev

The patch applies cleanly to jdk10 and really needs to be pushed in
before it is frozen as it is a complete show-stopper for the AArch64 port.

Quick reviews would be welcome.

What is essentially the same patch is also needed to fix the jdk9 tree
that was used to build Oracle's 9.0.4. Here is the alternative jdk9
webrev needed to allow for different src tree layout.

jdk9u webrev: http://cr.openjdk.java.net/~adinn/8195685.jdk9

Note that the jdk9u patch is currently against the same issue as the
jdkdev patch. I don't know what to do about the official backport
process for this. Whatever need to be done is it possible to expedite
any admin process for backporting? Red Hat need this fix to get our
Fedora jdk9 AArch64 release out the door.

The patch allows aarch64 to run a variety of simple programs where
previously it crashed almost immediately. It is essentially the same
code as was added to Red Hat's latest released jdk8 AArch64 build.


Andrew Dinn
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander

More information about the jdk-dev mailing list