-
Notifications
You must be signed in to change notification settings - Fork 377
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
aarch64-unknown-linux-gnu: glibc out of date #1237
Comments
this is most likely #724, try If that does not solve the issue, we can reopen |
Also, cross 0.2.5 is based on https://github.com/cross-rs/cross/tree/v0.2.5 which does not include #591 the |
I should mention, we do want to cut a release soon, it's just that time is an issue :) If you want to help out feel free to check out https://github.com/cross-rs/cross/milestone/2 for the remaining tasks. Some of those are less important |
Indeed, I am wrapping cross in a little CLI tool to loop over the available rustup targets. I will try the Yes, that works better, thank you! Would be nice for cross to automatically apply like |
Checklist
Describe your issue
When I try to build the target aarch64-unknown-linux-gnu, then I get an error about incompatible (g)libc versions.
What target(s) are you cross-compiling for?
aarch64-unknown-linux-gnu
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.5
Example
I don't know why glibc 2.28 is needed. But for what it's worth, the image base layer is a really old version of Ubuntu, 16.04 Xenial Xerus.
Ubuntu never got glibc 2.28 exactly. It has glibc 2.27 in 18.04 Bionic Beaver, it has glibc 2.31 in 20.04 Focal Fossa.
The current Ubuntu LTS release is Ubuntu 22.04 Jammy Jellyfish, which has glibc 2.35.
Worth rechecking this image, and the others, for similar issues.
Notably, the cross-toolchains images say that they default to glibc 2.17.
Additional information / notes
The cross-rs source tree appears to show Ubuntu 20.04 in cross git HEAD:
https://github.com/cross-rs/cross/blob/main/docker/Dockerfile.aarch64-unknown-linux-gnu
Though the toolkit installed references libc6 (?)
Maybe it's time to cut a fresh release of cross, now that many improvements have been added since cross 0.2.5.
The text was updated successfully, but these errors were encountered: