Skip to content

fix: Use GNU ld instead of LLVM lld for x86_64-unknown-linux-musl #794

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

Merged
merged 3 commits into from Aug 25, 2019
Merged

fix: Use GNU ld instead of LLVM lld for x86_64-unknown-linux-musl #794

merged 3 commits into from Aug 25, 2019

Conversation

ghost
Copy link

@ghost ghost commented Aug 24, 2019

Closes #791

typetag crate does not function correctly when the executable is linked by LLVM lld.

This PR switches the linker for MUSL build from LLVM lld to GNU ld. It means that linker plugin LTO cannot be used, but Rust codegen LTO is still working.

@ghost ghost changed the title Use GNU ld instead of LLVM lld for x86_64-unknown-linux-musl fix: Use GNU ld instead of LLVM lld for x86_64-unknown-linux-musl Aug 24, 2019
@binarylogic
Copy link
Contributor

Thanks @a-rodin, this looks good!

@binarylogic binarylogic merged commit 3a57fe5 into vectordotdev:master Aug 25, 2019
@ghost ghost mentioned this pull request Sep 3, 2019
@ghost ghost mentioned this pull request Feb 15, 2020
4 tasks
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.

Configs parsing errors on x86_64-unknown-linux-musl
2 participants