ICE on hello_world
, nightly (2023-12-04), RUSTFLAGS="-Z threads=N" with N>1
#118648
Labels
A-parallel-compiler
Area: parallel compiler
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
An ICE shows up when compiling
hello_world
with parallel rustc.When built with RUSTFLAGS="-Z threads=N", where N>1, triggers the ICE.
Code
Meta
What stands out on my machine may be that I am running:
Linux kubus 6.6.1-060601-generic #202311151749 SMP PREEMPT_DYNAMIC Thu Nov 16 03:15:36 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
And have in
env
Since the backtrace mentions
clone3
, I triedMALLOC_CONF=""
which resulted in the same ICE.The backtrace also mentions
rayon
. I triedRUSTFLAGS=-Z threads=1
, which results in a succesful build and suggests parallel rustc is related.However, given how easy it is to provoke and considering I did not find other issue describes or resembling this ICE seems to indicate this may have sometihng todo with my setup.
rustc --version --verbose
:Error output
(See full backtrace below)
rustc-ice-2023-12-05T16_58_40-39803.txt
Backtrace
The text was updated successfully, but these errors were encountered: