mirror of
https://github.com/apple/pkl.git
synced 2026-01-13 15:13:38 +01:00
[PR #875] [MERGED] Fix page size for Linux AArch64 native executables #781
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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.