[PR #875] [MERGED] Fix page size for Linux AArch64 native executables #781

Closed
opened 2025-12-30 01:26:41 +01:00 by adam · 0 comments
Owner

📋 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: mainHead: aarch64-page-size-fix


📝 Commits (3)

  • 786158d Fix page size for Linux AArch64 native executables
  • f66fec2 Update pkl-cli.gradle.kts
  • 80d3e81 Update 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.

## 📋 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>
adam added the pull-request label 2025-12-30 01:26:41 +01:00
adam closed this issue 2025-12-30 01:26:41 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#781