Unable to build Client/Server variant for OpenJDK-11 on ARMv7-A
Aleksey Shipilev
shade at redhat.com
Sat Oct 9 05:58:04 UTC 2021
Hi,
This does not look a build issue per se, but rather a Hotspot bug.
On 10/8/21 7:46 PM, John Cummings wrote:
> I am using the source from https://hg.openjdk.java.net/jdk/jdk11.
This is an extremely old JDK 11 tree. The most actual one is here:
https://github.com/openjdk/jdk11u-dev/
FWIW, ARM32 builds from that repo work for me on RPi 4:
https://builds.shipilev.net/openjdk-jdk11-dev/
> I am at the point where I am unsure where to proceed or what to change, and haven't been able to
> find a solution anywhere thus far to build a client version of OpenJDK-11. If there's any
> additional information I can/should provide, please let me know.
Additional things to try:
*) Build fastdebug, trying to see if any VM assert is triggered; pass --with-debug-level=fastdebug
to configure
*) Build/test the JDK mainline (https://github.com/openjdk/jdk/), trying to see if this is a fixed
issue that is missing a 11u backport
*) Trim down --with-extra-cflags and --with-extra-cxxflags, looking for some special flag that
triggers the bug
There were plenty of ARM32 bugs fixed (backported) in 11u, but I also see some that are only fixed
in later JDKs, for example:
https://bugs.openjdk.java.net/browse/JDK-8222825
--
Thanks,
-Aleksey
More information about the build-dev
mailing list