llvm assertion failure when trying to compile sha2 crate for skylake (with llvm+rustc debug assertions) #100834
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
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.
I have a
Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
, so when compiling with-Ctarget-cpu=native
this is equivalent to-Ctarget-cpu=skylake
.I have a rustc+llvm that has debug assertions enabled and when I try to compile
sha2 v0.10.1
this apparently hits a debug assertion inside llvm:RUSTFLAGS="-Ctarget-cpu=skylake" RUSTC=/home/matthias/vcs/github/rust_debug_assertions/build/x86_64-unknown-linux-gnu/stage1/bin/rustc cargo build --release
This rustc used is built with rustc debug assertions and llvm debug assertions and I noticed this crash during stage 2 of
x.py build
boostrap.bootstrap was done with
The text was updated successfully, but these errors were encountered: