Skip to content
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

fix page size on aarch64 #226

Merged
merged 1 commit into from
Aug 17, 2020
Merged

fix page size on aarch64 #226

merged 1 commit into from
Aug 17, 2020

Conversation

reaperhulk
Copy link
Member

debian/ubuntu use 4k pages while centos uses 64k pages. 64k pages work
on 4k page systems while a 4k compiled binary will throw this error:
ELF load command alignment not page-aligned

This patch attempts to pass a linker flag that should force 64k page
alignment at all times

Sample run: https://github.com/pyca/bcrypt/runs/993847721?check_suite_focus=true

debian/ubuntu use 4k pages while centos uses 64k pages. 64k pages work
on 4k page systems while a 4k compiled binary will throw this error:
ELF load command alignment not page-aligned

This patch attempts to pass a linker flag that should force 64k page
alignment at all times
@alex alex merged commit 8d35d8a into master Aug 17, 2020
@alex alex deleted the try-a-thing branch August 17, 2020 14:23
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants