-
Notifications
You must be signed in to change notification settings - Fork 117
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 in gomobile builds #300
Comments
Now I am understand how to build the 16kb paging library. if you run
Then try to set the variable and build without any ldflag in gomobile
You can get the 16kb paging library. Use
|
@250king That worked, thanks for posting! I did the check with Google script and it also confirms the correct alignment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
since recently it's possible to compile for 16kb memory page size Android devices.
I am building gopenpgp for Android using the
build.sh
and I am trying to figure out how to modify it according to Google tips here: https://source.android.com/docs/core/architecture/16kb-page-size/16kb#build-lib-16kb-alignmentI tried modyfing
in the
build.sh
by adding flagsbut got:
flag provided but not defined: -Wl
error when building.I suspect it may be because I use older NDK (23) and the linker does not know the flags, but when trying with the latest (27) I have:
not sure what else to try. Can you help?
This applies to both v2 and v3 lirabry.
The text was updated successfully, but these errors were encountered: