Add 16KB page size support for Android 15+#569
Open
dilumdesilva wants to merge 1 commit intosuperlistapp:mainfrom
Open
Add 16KB page size support for Android 15+#569dilumdesilva wants to merge 1 commit intosuperlistapp:mainfrom
dilumdesilva wants to merge 1 commit intosuperlistapp:mainfrom
Conversation
|
@dilumdesilva, thank you for the fix. @knopp, this PR addresses the issue. Please review, as the Play Store enforces a 16KB page size. Thank you. |
Adam-Langley
pushed a commit
to Adam-Langley/super_native_extensions
that referenced
this pull request
Mar 20, 2026
Which maintainer has not merged into mainline repo. - Add 16KB page size support for Android 15+ superlistapp#569 - chore(deps): update device_info_plus version constraint to <13.0.0 superlistapp#553 - MinRisk: upgrade android compileSdkVersion from 31 -> 36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds support for Android 15+'s 16KB page size requirement by adding the necessary linker flags for
arm64-v8aandx86_64architectures.Fixes #560
Changes
-Wl,-z,max-page-size=16384linker flag for 16KB page alignment-Wl,--hash-style=bothfor compatibilityarm64-v8aandx86_64(as per Android documentation)Important Note
This fix only addresses
super_native_extensions. For full 16KB compatibility, the dependencyirondash_engine_context(from irondash) also needs the same linker flags applied. A similar PR should be raised there, or users will need to vendor/overrideirondash_engine_contextwith 16KB-aligned binaries.Testing Branch
For anyone who wants to test immediately without Rust installed, I've published a branch with pre-built 16KB-aligned binaries (including vendored
irondash_engine_context):References
Testing