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

Support Alpine #1163

Closed
wants to merge 64 commits into from
Closed

Support Alpine #1163

wants to merge 64 commits into from

Conversation

jensmeindertsma
Copy link

This pull request implements support for Alpine and the generation of pre-built binaries for Alpine.

This work is not yet finished. Currently OpenSSL is compiled successfully under Alpine aarch64 and x86_64, but when Cargo builds the volta crate it doesn't link against musl correctly for some reason ( /lib/ld-linux-aarch64.so.1 where we want /lib/ld-musl-aarch64.so.1 )

The CI work is finished and the volta-install.sh file has also been updated.

@jensmeindertsma
Copy link
Author

@charlespierce do you have any idea how I can get Rust to stop linking to /lib64/ld-linux-x86-64.so.2? It seems to be caused by the native-tls dependency? Is there any way we can configure native-tls to be built for musl?

@jensmeindertsma
Copy link
Author

I'll try static linking tomorrow. The only downside would be that we bundle a specific version of OpenSSL. I'll have to make a few changes in the install script to make it stop looking for a OpenSSL install when it detects a musl based system

@jensmeindertsma
Copy link
Author

Closing this until #1164 is merged and also until a ARM64 PR that I'm yet to write based on #1164 is merged.

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

Successfully merging this pull request may close these issues.

2 participants