Graal Native Image is assuming 4k page size here, which is a naughty assumption to make in the modern Linux-on-ARM landscape. Two very common hardware configurations require 16k minumum page size: the Raspberry Pi 5 and Asahi Linux (running on Apple Silicon hardware).
This change forces 64k pages for Linux/AArch64 native executables to guarantee compatibility with these platforms. DEVELOPMENT.adoc is also updated to cover the additional dependencies required for building native executables on Linux.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/apple/pkl/pull/875
**Author:** [@HT154](https://github.com/HT154)
**Created:** 1/5/2025
**Status:** ✅ Merged
**Merged:** 1/7/2025
**Merged by:** [@bioball](https://github.com/bioball)
**Base:** `main` ← **Head:** `aarch64-page-size-fix`
---
### 📝 Commits (3)
- [`786158d`](https://github.com/apple/pkl/commit/786158d93c7fc16d4f5b29595b9ad1456ce426da) Fix page size for Linux AArch64 native executables
- [`f66fec2`](https://github.com/apple/pkl/commit/f66fec2a8976db34aba9a679d09d92c88232bc20) Update pkl-cli.gradle.kts
- [`80d3e81`](https://github.com/apple/pkl/commit/80d3e819afb53f3931e364660202c3f978854c46) Update copyright year
### 📊 Changes
**2 files changed** (+14 additions, -4 deletions)
<details>
<summary>View changed files</summary>
📝 `DEVELOPMENT.adoc` (+7 -2)
📝 `pkl-cli/pkl-cli.gradle.kts` (+7 -2)
</details>
### 📄 Description
Graal Native Image is assuming 4k page size here, which is a naughty assumption to make in the modern Linux-on-ARM landscape. Two very common hardware configurations require 16k minumum page size: the Raspberry Pi 5 and Asahi Linux (running on Apple Silicon hardware).
This change forces 64k pages for Linux/AArch64 native executables to guarantee compatibility with these platforms. DEVELOPMENT.adoc is also updated to cover the additional dependencies required for building native executables on Linux.
Resolves #874
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/875
Author: @HT154
Created: 1/5/2025
Status: ✅ Merged
Merged: 1/7/2025
Merged by: @bioball
Base:
main← Head:aarch64-page-size-fix📝 Commits (3)
786158dFix page size for Linux AArch64 native executablesf66fec2Update pkl-cli.gradle.kts80d3e81Update copyright year📊 Changes
2 files changed (+14 additions, -4 deletions)
View changed files
📝
DEVELOPMENT.adoc(+7 -2)📝
pkl-cli/pkl-cli.gradle.kts(+7 -2)📄 Description
Graal Native Image is assuming 4k page size here, which is a naughty assumption to make in the modern Linux-on-ARM landscape. Two very common hardware configurations require 16k minumum page size: the Raspberry Pi 5 and Asahi Linux (running on Apple Silicon hardware).
This change forces 64k pages for Linux/AArch64 native executables to guarantee compatibility with these platforms. DEVELOPMENT.adoc is also updated to cover the additional dependencies required for building native executables on Linux.
Resolves #874
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.