Skip to content
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 compilation no more supported on Alpine 3:15 from nightly-2024-03-02 #112

Open
yogh333 opened this issue Mar 4, 2024 · 3 comments
Open

Comments

@yogh333
Copy link
Contributor

yogh333 commented Mar 4, 2024

Starting from nightly version nightly-2024-03-02, both rustc and cargo binaries will fail with the following error message:

Error relocating /opt/rustup/toolchains/nightly-aarch64-unknown-linux-musl/bin/cargo: pthread_getname_np: symbol not found

See rust-lang/rust#121980 for more information.

There is a requirement for musl targets to use musl 1.2.3 (see rust-lang/compiler-team#572)
Alpine 3:15 is using musl 1.2.2

One possible solution would be to upgrade Alpine version but it could trigger other side effects.

@lpascal-ledger
Copy link
Contributor

Upgrading the Alpine version will trigger side effects, however it feels like the most sensible thing to do. Do you have more input on this @apaillier-ledger ?

We should try and save some time to do this. Do you have a deadline linked with this issue @yogh333 ?

@apaillier-ledger
Copy link
Contributor

It would bring a newer toolchain, with possible side-effects. But if we're going to do an upgrade like this, might as well move over to a Debian-based image like I tried a few months ago, to have better compatibility and finally get rid of the -legacy container. 👍

@yogh333
Copy link
Contributor Author

yogh333 commented Apr 4, 2024

yes I think that using a Debian based image is a better and future proof solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants