Skip to content

Updates android builds to always use 16KB memory pages#121

Open
SvenSchindler wants to merge 1 commit intobazelbuild:mainfrom
SvenSchindler:update-builds-to-16KB-memory-pages
Open

Updates android builds to always use 16KB memory pages#121
SvenSchindler wants to merge 1 commit intobazelbuild:mainfrom
SvenSchindler:update-builds-to-16KB-memory-pages

Conversation

@SvenSchindler
Copy link

Description

Android expects apps to support 16KB memory page alignments, otherwise it'll complain. This PR updates the linking flags to default to 16KB memory pages. For more details see https://developer.android.com/guide/practices/page-sizes.

@google-cla
Copy link

google-cla bot commented Feb 5, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

flags = ["-Wl,--fix-cortex-a8", "-march=armv7-a"],
features = ["crosstool_cpu_arm"],
),
flag_set(
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need to keep this flag set anymore but please correct me if I'm wrong 🙏 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant