You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting with Android 15, devices may use 16KiB pages instead of 4KiB, which requires native libraries to be recompiled to align the ELF sections to 16KiB boundaries (only on 64-bit architectures). https://developer.android.com/guide/practices/page-sizes has more details.
The latest binary release is only aligned to 4KiB (2**12) and so will fail to load on such devices:
for 64-bit builds (and depending on the version of ld may also need to set common-page-size=16384).
Not the most urgent issue since the validation layers are only used for testing and such devices probably don't exist yet, but would be good to be prepared for them.
The text was updated successfully, but these errors were encountered:
Starting with Android 15, devices may use 16KiB pages instead of 4KiB, which requires native libraries to be recompiled to align the ELF sections to 16KiB boundaries (only on 64-bit architectures). https://developer.android.com/guide/practices/page-sizes has more details.
The latest binary release is only aligned to 4KiB (2**12) and so will fail to load on such devices:
Per the linked document above, since you're using CMake and NDK 25, you should set
for 64-bit builds (and depending on the version of
ld
may also need to setcommon-page-size=16384
).Not the most urgent issue since the validation layers are only used for testing and such devices probably don't exist yet, but would be good to be prepared for them.
The text was updated successfully, but these errors were encountered: