-
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 1.78.0 segfault on MacOS / M1 #125053
Comments
The problem disappears if I turn off incremental compilation by adding this to the [profile.dev]
incremental = false |
We are hitting an LLVM assertion:
|
Could someone please run |
I can reproduce it, and I will try to reduce it. |
Upstream issue: llvm/llvm-project#92062 target triple = "arm64"
@p = external global { {}, { ptr } }
define void @foo() {
bb:
%i1 = load ptr, ptr @p, align 8
store ptr %i1, ptr null, align 8
ret void
} |
It has already been backported to LLVM 18: llvm/llvm-project#92129. |
I get a segfault when I try to run
cargo test
on the following code:I see the same behavior with the latest nightly
rustc
. I see no error withrustc
1.77.0 or earlier. It also works fine on Linux, and on an older Intel Macbook.I also updated to the latest XCode to make sure all parts of my toolchain were up to date. Doing so did not make the segfault go away.
The text was updated successfully, but these errors were encountered: