Closed
Description
Happens at stage 1 during rustc bootstrap with enabled debug info and MIR on Windows/GNU.
./configure --enable-debug --enable-optimize
make rustc-stage1 VERBOSE=1
Result:
CFG_LLVM_LINKAGE_FILE=/home/we/rust/x86_64-pc-windows-gnu/rt/llvmdeps.rs PATH=/home/we/rust/x86_64-pc-windows-gnu/stage1/bin:/home/we/rust/x86_64-pc-windows-gnu/llvm/lib:$PATH x86_64-pc-windows-gnu/stage1/bin/rustc.exe --cfg stage1 -O --cfg rtopt -C debug-assertions=on -g -C rpath -C prefer-dynamic --target=x86_64-pc-windows-gnu -L "x86_64-pc-windows-gnu/rt" -L native="C:/msys64/home/we/rust/x86_64-pc-windows-gnu/llvm/lib" --out-dir x86_64-pc-windows-gnu/stage1/lib/rustlib/x86_64-pc-windows-gnu/lib -C extra-filename=-f53fb285 -C metadata=f53fb285 src/libpanic_unwind/lib.rs
inlinable function call in a function with debug info must have a !dbg location
call void @rust_eh_unwind_resume(i8* %7)
LLVM ERROR: Broken function found, compilation aborted!
make: *** [/home/we/rust/mk/target.mk:216: x86_64-pc-windows-gnu/stage1/lib/rustlib/x86_64-pc-windows-gnu/lib/stamp.panic_unwind] Error 1