-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
build broken, rustc_driver fails to link (with llvm?) #82839
Comments
I believe the current known workarounds for this are 1. use gcc or clang 10 or older, or 2. use lld for linking. |
Can confirm that using lld "fixes" this. |
Seems to me like an issue in lld. I've opened bug 49915 for this. |
Just for reference, here is the proposed fix: https://reviews.llvm.org/D100624. |
The bug has been fixed, the fix will be in LLVM 12.0.1. |
@matthiaskrgr are you still hitting this now that LLVM 12 is merged? |
Going to go ahead and close as fixed -- we're now requiring LLVM 12+ to build rustc. |
The repo is at 51748a8
I'm using clang 11.1.0 and sccache to build.
I already tried a clean rebuild (of llvm+rustc) but that didn't help.
I can try to do a sccache-less build next but I'm not sure if it will make a difference.
Backtrace
The text was updated successfully, but these errors were encountered: