vaccovecrana / awe4lb

Layer 4 load balancer
Other
0 stars 0 forks source link

Support ARM64 builds #12

Open jjzazuet opened 1 week ago

jjzazuet commented 1 week ago

Ideally, link against musl on aarch64, but Graal still has this nasty footnote:

https://www.graalvm.org/latest/reference-manual/native-image/metadata/Compatibility/

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:

https://github.com/hyphop/khadas-openwrt

jjzazuet commented 1 week ago

Nope.. that didn't work. Next idea: package awe4lb alongside a minimal aarch64 JRE in an AppImage.