-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Rustc SIGSEGV in proc_macro bridge #116976
Comments
This requires disabling incremental compilation as well as using a custom built sysroot. I'm not passing any weird arguments when building the sysroot and because of the |
This is causing cg_clif's CI to fail as it checks that it's test suite passes with LLVM: https://github.com/bjorn3/rustc_codegen_cranelift/actions/runs/6574776266/job/17861480553 |
A workaround is:
A small reproduction is: use serde::Serialize;
#[derive(Serialize)]
struct Internal {
} |
It may be an alias related issue. I am not really sure. But I started trying to address it. @rustbot claim |
WG-prioritization assigning priority (Zulip discussion). @rustbot label -I-prioritize +P-high T-compiler |
Possible upstream issue: llvm/llvm-project#70158. |
Upstream issue: llvm/llvm-project#70578. |
Update to LLVM 17.0.4 Fixes rust-lang#116668. Fixes rust-lang#116941. Fixes rust-lang#116976. r? `@cuviper`
Update to LLVM 17.0.4 Fixes rust-lang#116668. Fixes rust-lang#116941. Fixes rust-lang#116976. r? `@cuviper`
It is indeed fixed now: https://github.com/rust-lang/rustc_codegen_cranelift/actions/runs/6731313582/job/18295728423 |
Code
I tried these commands:
I expected to see this happen: Compiles
Instead, this happened: Rustc SIGSEGV's.
Version it worked on
It most recently worked on: nightly-2023-10-09
Version with regression
rustc --version --verbose
:Backtrace
Backtrace
The text was updated successfully, but these errors were encountered: