void-linux / void-packages

The Void source packages collection
https://voidlinux.org
Other
2.47k stars 2.1k forks source link

Rust will drop support for musl before 1.2.3 #49700

Open 22h49 opened 3 months ago

22h49 commented 3 months ago

Is this a new report?

Yes

System Info

Void 6.6.23_1 x86_64-musl AuthenticAMD uptodate rFFF

Package(s) Affected

rustup-1.27.0_1

Does a report exist for this bug with the project's home (upstream) and/or another distro?

Yes, but this concerns Alpine Linux (of which versions with old musl are EOL): https://github.com/rust-lang/rust/issues/121980.

I'm not really sure if this classifies as a bug or "requesting the update of a package" but this makes rust nightly currently unusable on musl, I'm aware that the discussion around updating musl is very large but if this issue is unproductive I'll close it.

Expected behaviour

rustc runs

Actual behaviour


$ rustc
Error relocating /home/[...]/.rustup/toolchains/nightly-x86_64-unknown-linux-musl/lib/libstd-3a22c2cec086c98b.so: pthread_getname_np: symbol not found

### Steps to reproduce

1. `xbps-install rustup`
2. `rustup install nightly`
3. `rustc`
cplir-c commented 3 weeks ago

It seems to run on Voidlinux x86_64 musl now? I force-reinstalled rustup; I'll update my system and test again.

When I tested this, my xbps-query -s musl showed:

[*] musl-1.1.24_20       Musl C library
[*] musl-devel-1.1.24_20 Musl C library - development files
[*] musl-fts-1.2.7_4     Implementation of fts(3) for musl libc
[*] musl-obstack-1.2.3_1 Implementation of obstack for musl libc