Use 16KB max page size on Android.#1248
Conversation
|
I think we should add this conditionally based on ndk version, since we don't have to enable it manually for r28+. We also need an additional flag for ndk 22 and below: https://developer.android.com/guide/practices/page-sizes#compile-16-kb-alignment Also, does it make sense to enable it for the gcc toolchain? It is only used for ndks older than r19. |
In case someone uses an ndk older than 19, this should still be supported ig. |
|
Hi @Simn, would you be able to consider this for merge? The deadline for this requirement is approaching in a few months so it will be good to have this patch out. |
This pr adds support for 16 KB page sizes on both Android toolchains.
https://developer.android.com/guide/practices/page-sizes