Closed
Description
This was discovered in #81825 (comment), which adds support for Linux pidfds to standard library. With the changes in the PR, the issue-64655-extern-rust-must-allow-unwind
test triggers an LLVM assertion during compilation. This is similar to the issue described in #83854.
As a workaround, the failing test revision was disabled provisionally.
Minimal reproduction:
- Checkout 2208705
- Run
src/ci/docker/run.sh --dev i686-gnu
and buildstage1
compiler - Run
echo "fn main() {}" | build/i686-unknown-linux-gnu/stage1/bin/rustc - "--target=i686-unknown-linux-gnu" -Clto=fat
Output:
/checkout/src/llvm-project/llvm/lib/CodeGen/RegAllocFast.cpp:883: void {anonymous}::RegAllocFast::defineVirtReg(llvm::MachineInstr&, unsigned int, llvm::Register, bool): Assertion `PhysReg != 0 && "Register not assigned"' failed.