Skip to content
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

Upgrade Android builds to suppport 16 KB page size #5

Open
dellis1972 opened this issue Feb 25, 2025 · 2 comments
Open

Upgrade Android builds to suppport 16 KB page size #5

dellis1972 opened this issue Feb 25, 2025 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@dellis1972
Copy link
Contributor

We are now seeing the following warning. We should update the Android build to produce 16 KB aligned .so files.

warning XA0141: Android 16 will require 16 KB page sizes, shared library 'libopenal.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'MonoGame.Library.OpenAL' version '1.23.1.10' which contains 'runtimes/android-x64/native/libopenal.so'. See https://developer.android.com/guide/practices/page-sizes for more details.
@dellis1972 dellis1972 added bug Something isn't working help wanted Extra attention is needed labels Feb 25, 2025
@dellis1972
Copy link
Contributor Author

We need to make sure we add -Wl,-z,max-page-size=16384 to the linker args

e.g

target_link_options(${CMAKE_PROJECT_NAME} PRIVATE "-Wl,-z,max-page-size=16384")

@dellis1972
Copy link
Contributor Author

Issue raised upstream kcat/openal-soft#1116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant