Skip to content

Align Android loadable to 16 KB page size - #460

Merged
tantaman merged 2 commits into
vlcn-io:mainfrom
dariyooo:fix-android_page_size
Aug 10, 2026
Merged

Align Android loadable to 16 KB page size#460
tantaman merged 2 commits into
vlcn-io:mainfrom
dariyooo:fix-android_page_size

Conversation

@dariyooo

@dariyooo dariyooo commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Android 15 requires shared libraries to have 16 KB aligned load segments, but the published crsqlite-aarch64-linux-android.so is aligned to 4 KB and fails to load on 16 KB page size devices. Passing -Wl,-z,max-page-size=16384 to the loadable build fixes it without changing the NDK version.

@dariyooo
dariyooo force-pushed the fix-android_page_size branch from 7d8c8b5 to 97533bc Compare August 2, 2026 14:32
@tantaman

tantaman commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Fixed a merge conflict between this and your prior change:

Can you confirm it still works for all android ABIs?

@dariyooo

dariyooo commented Aug 9, 2026

Copy link
Copy Markdown
Contributor Author

Confirmed, I built your merge commit on my fork and it seems to be working fine.

@tantaman
tantaman merged commit 164566f into vlcn-io:main Aug 10, 2026
7 of 9 checks passed
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

Successfully merging this pull request may close these issues.

3 participants