void-packages icon indicating copy to clipboard operation
void-packages copied to clipboard

Rust will drop support for musl before 1.2.3

Open 22h49 opened this issue 1 year ago • 1 comments

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`

22h49 avatar Apr 04 '24 09:04 22h49

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

cplir-c avatar Jun 24 '24 23:06 cplir-c