Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Docker image won't run on ARM64 systems with non 4KB page size #1854

Open
xJonathanLEI opened this issue May 2, 2024 · 0 comments
Open

Comments

@xJonathanLEI
Copy link
Contributor

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant