-
Notifications
You must be signed in to change notification settings - Fork 15
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
Generated Linux release binaries may not run on systems with older glibc #347
Comments
This can be solved by building against a docker container with Ubuntu 18.04 (I've run into the same issue with nextest). Happy to help tomorrow if required. |
(Another option is to build with the musl target.) |
So having looked at the solutions here: I think the best solution would be for cargo-dist to support musl and/or zigbuild. (If we use openssl then the musl solution becomes hairy, but if we manage to make it work we'll have a completely static binary which is great). However, both of these things will depend on cargo-dist support. As a workaround for now, if we decide on a set of minimum distro versions supported, we can build on them. Going by https://repology.org/project/glibc/versions (love the link!):
Based on this, I'd suggest we:
|
I'm going to check in with the axo folks to see if they're interested in adding this to |
Our
x86_64-unknown-linux-gnu
release currently get built in CI on aubuntu-20.04
image. That's often newer than whatever glibc is used by some distros like CentOS or Rocky.This is not a new issue for building releases in CI (and there's one solution mentioned in that blog post). I also noticed we use
cargo-dist
which might be able to just handle this soon™?The text was updated successfully, but these errors were encountered: