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

Do not use GMP on ARM Linux #2319

Merged
merged 1 commit into from
Jul 13, 2023
Merged

Conversation

Kha
Copy link
Member

@Kha Kha commented Jul 12, 2023

This should fix the linking issue reported at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/libgmp.20linking.20error

Interestingly, zlib is the one other library referencing the symbol, but there as part of glibc:

$ nm Downloads/lean-4.0.0-linux_aarch64/lib/libz.so.1.2.11 | grep chk_guard
                 U __stack_chk_guard@@GLIBC_2.17
$ nm Downloads/lean-4.0.0-linux_aarch64/lib/libgmp.a | grep chk_guard
nm: mp_clz_tab.o: no symbols
                 U __stack_chk_guard
                 U __stack_chk_guard
...

@Kha
Copy link
Member Author

Kha commented Jul 13, 2023

This should be good to go, we do the same for macOS ARM

@Kha Kha merged commit 4562e8d into leanprover:master Jul 13, 2023
13 checks passed
@Kha Kha deleted the aarch64-linux-no-gmp branch July 13, 2023 07:35
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.

None yet

1 participant