Bug: Docker image won't run on ARM64 systems with non 4KB page size
xJonathanLEI opened this issue · comments
Jonathan LEI commented
This is because the default build option in jemalloc
uses the host page size, even when cross-compiling. See jemalloc/jemalloc#467 (comment) 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).