Mostly all Native Image features are supported on Linux AArch64 architecture, except for the limitations described below.
-R:[+|-]WriteableCodeCache: must be disabled.
--libc=<value>: musl is not supported.
--gc=<value>: The G1 garbage collector (G1) is not supported.
We could try installing OpenWRT on a Khadas board, then compiling a4lb there and see if it works:
Ideally, link against
musl
onaarch64
, but Graal still has this nasty footnote:https://www.graalvm.org/latest/reference-manual/native-image/metadata/Compatibility/
We could try installing OpenWRT on a Khadas board, then compiling
a4lb
there and see if it works:https://github.com/hyphop/khadas-openwrt