-
Notifications
You must be signed in to change notification settings - Fork 47
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
Support 16KB page size devices #97
Comments
cc @alanleedev |
#98 this should do it |
facebook-github-bot
pushed a commit
that referenced
this issue
Sep 20, 2024
Summary: ## Motivation #97 Updated ndk to 27, enabled flexible page size support https://developer.android.com/guide/practices/page-sizes#compile-r27-higher Pull Request resolved: #98 Test Plan: Built locally and checked alignment via test method [here](https://developer.android.com/guide/practices/page-sizes#test) as well as `objdump` on the binary Reviewed By: alanleedev Differential Revision: D63021463 Pulled By: cortinico fbshipit-source-id: d4415440836b138a76bc101320dbe4b98c32f3c7
@cortinico would it be possible to cut a release for this so we can start pulling the artifact from maven? |
Yup this will be included in 0.7.0: |
This has been shipped in 0.7.0: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
In Android 15 support for 16KB page sizes has been announced.
However,
libfbjni.so
ELF segments are not aligned (UNALIGNED (212)
) using 16 KB ELF alignment. This results in runtime crash when loadinglibfbjni.so
on emulator that is configured to use 16KB page size:How To Reproduce:
libfbjni.so
with 16KB ELF alignment as described here.Environment
The text was updated successfully, but these errors were encountered: