-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Unable to build LLVM with clang on master/stable 1.73 #116397
Comments
This bug is not host compiler specific, fails when building on both clang 17 and gcc 12.3.0 host toolchains (x86_64 is my host). Build succeeds when |
This looks like a low priority problem, likely upstream in LLVM to me. AFAIK, our CI does not test that we can build clang from the LLVM tree we check out. |
It does look like an upstream bug that occurs when I also think we should do this as a step in CI when we do upgrade LLVM submodule to ensure there are no regressions for these options offered by bootstrap. |
Filed an upstream bug: llvm/llvm-project#68237 |
@rustbot claim |
Given that we don't distribute clang, I'm not inclined to block our CI on it and spend time building it in one or more builders. Small patches are likely to be accepted to fix it but I don't want us to test every option that's possible. |
Alright that makes sense, I'll fix this in upstream LLVM and submit a patch to our LLVM fork as per https://rustc-dev-guide.rust-lang.org/backend/updating-llvm.html#bugfix-updates |
Fixed in branch https://github.com/rust-lang/llvm-project/commits/rustc/17.0-2023-09-19 in commit rust-lang/llvm-project@e7b3b94 |
Build steps
I tried this code:
LLVM configuration options
I expected to see this happen: Build success
Instead, this happened:
Version it worked on
Rust stable 1.72.1 release with LLVM 16
Version with regression
Rust stable branch and master branch containing LLVM 17
Build environment details
@rustbot modify labels: +regression-from-stable-to-stable -regression-untriaged
The text was updated successfully, but these errors were encountered: