Skip to content

Add -mno-outline-atomics to fix static build on Ubuntu arm64 #26323

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

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

cknitt
Copy link
Contributor

@cknitt cknitt commented Aug 2, 2024

Fixes #26216.

Only made this change for the 5.x release versions for now. If the change is ok, I can extend the PR to cover all the other versions, too.

Note that the problem does not occur on Alpine arm64 (as it doesn't have glibc), so the condition could be extended to check for os-distribution!="alpine", too.

@raphael-proust raphael-proust merged commit 4e44b0a into ocaml:master Aug 21, 2024
1 of 2 checks passed
@cknitt cknitt deleted the fix-arm64-static-build branch August 21, 2024 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

opam switch create with static option fails on Ubuntu aarch64
3 participants