-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android 15 16kb Pages #2464
Comments
@jzern FYI. Vignesh: you take a look at this request? I don't remember any libavif code that uses the page size such as calls to the |
@wantehchang @jzern @vigneshvg |
The r27 Changelog provides details. |
I can reproduce this bug with a local build using CMake (the fix is to include the linker flag ''Wl,-z,max-page-size=16384" ). However, the maven hosted version does not seem to have this issue and is already aligned properly (it is generated by internal google build tools and not CMake). |
Add -Wl,-z,max-page-size=16384 linker flag when building the JNI wrapper to support newly added 16kb page size on Android. https://developer.android.com/guide/practices/page-sizes#cmake Fixes issue AOMediaCodec#2464
Add -Wl,-z,max-page-size=16384 linker flag when building the JNI wrapper to support newly added 16kb page size on Android. https://developer.android.com/guide/practices/page-sizes#cmake Fixes issue #2464
The issue has been fixed with CMake builds. The maven release with tag '1.1.1.14d8e3c4' works on devices with 16kb pages as well. |
With Android 15, users can now choose to activate the 16kb pages on arm64 devices.
Natives libraries need to support this to avoid crashes.
Can a new Android release be made with those changes ?
The text was updated successfully, but these errors were encountered: