RFC: 8229469 JEP 386: Alpine Linux/x64 Port

Nick Gasson nick.gasson at arm.com
Wed Sep 2 09:42:44 UTC 2020


Hi Aleksei,

On 09/01/20 19:41 pm, Aleksei Voitylov wrote:
>
> JEP 386 is now Candidate [1] and as we resolved all outstanding issues
> within the Portola project I'd like to ask for comments from HotSpot,
> Core Libs (changes in libjli/java_md.c), and Build groups before moving
> the JEP to Proposed to Target:
>
> http://cr.openjdk.java.net/~avoitylov/webrev.8247589.01/
>

I see the JEP only mentions support for x86_64, so maybe this is out of
scope, but with this trivial change to os_linux_aarch64.cpp your patch
works on Alpine/AArch64 too:

--- a/src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.cpp
+++ b/src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.cpp
@@ -74,7 +74,6 @@
 # include <pwd.h>
 # include <poll.h>
 # include <ucontext.h>
-# include <fpu_control.h>
 
 #define REG_FP 29
 #define REG_LR 30

--
Thanks,
Nick



More information about the build-dev mailing list