-
Notifications
You must be signed in to change notification settings - Fork 3.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
Rust failed to build #21095
Comments
@1715173329 @lu-zero |
It is related to https://blog.rust-lang.org/2023/05/09/Updating-musl-targets.html See also https://bugs.gentoo.org/903607 |
Either we stay with musl-1.2.3 until the update is sorted out or we'll need to carry owned bootstrap binaries for 1.2.4 |
We have already gone to 1.2.4.. |
On alpine they chose to patch musl instead of all packages with issues.. https://git.alpinelinux.org/aports/tree/main/musl/lfs64-2.patch |
dirty patch at gentoo discussion did not work. Same result. |
Once the musl support is rolled in upstream one low impact solution is to build a beta or a nightly snapshot that has the support so everything works until there is a stable release. |
Seems still be quite far from that.. |
rust builds without issues with alpine's patches. Using them fixes all recent musl related issues, but makes your build non-standard and prevents from working with fixes for those musl related issues. But if you are working with something else, and just have to get stuff built, rust for example - this will give you a huge head start to that. |
Rust 1.70.0 was released and the issue seemed fixed. |
If you didn't beat me already I'll update it tomorrow (as I'm also preparing related releases) |
Aha nice waiting for your PR! |
#21270 should had addressed it, please confirm :) |
hmmmm libc 0.2.145 update was not included in rust 1.70.0 ;( |
fixed by #21296 |
Rust has issues with musl- missing 64bit definitions of some types and commands. My host is running with musl as well, adding largefile64 define to host_cflags and host_cxxflags did not help.
The text was updated successfully, but these errors were encountered: