The --with-lg-page option must be set to fix this.
Running the ARM64 images on such devices results in an immediate seg fault.
This affects lots of ARM64 devices like Macs with Apple Silicon and Raspberry Pi 5 running Raspberry Pi OS (Ubuntu on RPI 5 uses 4KB page size so it still works).
This is because the default build option in
jemalloc
uses the host page size, even when cross-compiling. See https://github.com/jemalloc/jemalloc/issues/467#issuecomment-2054282344 for details.The
--with-lg-page
option must be set to fix this.Running the ARM64 images on such devices results in an immediate seg fault.
This affects lots of ARM64 devices like Macs with Apple Silicon and Raspberry Pi 5 running Raspberry Pi OS (Ubuntu on RPI 5 uses 4KB page size so it still works).