-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Linux arm64 releases contain x86-64 binaries #7287
Comments
Credit to @utaal for finding this |
wget https://github.com/Z3Prover/z3/releases/download/Nightly/z3-4.13.1-arm64-glibc-2.34.zip z3-4.13.1-arm64-glibc-2.34/bin/z3: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, with debug_info, not stripped |
* Fix linux-aarch64 build. While aarch64 builds of Z3 are now available, we still build our own due to Z3Prover/z3#7287 and Z3Prover/z3#7406 * Build our own linux-x86-64 binary, since after Z3Prover/z3@b39bcd6 Z3 only provides build with glibc 2.35, while Amazon Linuz 2023 only has glibc 2.34. * We use Ubuntu Focal as a build environment (AMazon Linux doesn't have an aarch64 cross toolchain) with glibc 2.31. However, we had to update to gcc-10 because Z3 requires C++20 after Z3Prover/z3@1e580a7 * We'll be able to upgrade our build environment once Amazon Linux 2025 becomes available with a newer glibc.
It seems like something is wrong with the release scripts for arm64 on Linux:
To reproduce:
which produces
The text was updated successfully, but these errors were encountered: