-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
zig stuck at llvm emit object on riscv64-linux sifive_u74 #18872
Copy link
Copy link
Closed
Labels
arch-riscv6464-bit RISC-V64-bit RISC-Vbackend-llvmThe LLVM backend outputs an LLVM IR Module.The LLVM backend outputs an LLVM IR Module.bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorupstreamAn issue with a third party project that Zig uses.An issue with a third party project that Zig uses.
Milestone
Metadata
Metadata
Assignees
Labels
arch-riscv6464-bit RISC-V64-bit RISC-Vbackend-llvmThe LLVM backend outputs an LLVM IR Module.The LLVM backend outputs an LLVM IR Module.bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorupstreamAn issue with a third party project that Zig uses.An issue with a third party project that Zig uses.
Zig Version
0.12.0-dev.2058+04ac028a2
Steps to Reproduce and Observed Behavior
Run
zig build -Dcpu=sifive_u74in this repo on a Sifive U74 system such as a VisionFive 2. This can also occur with zig-bootstrap (even if updated to use zig master).After waiting 3 hours or longer, nothing happens during the
LLVM Emit Objectstage for building the zig executable itself. On the other hand, the build runnable builds in 6 minutes on the VisionFive 2 so this likely isn't just a LLVM is entirely broken.Expected Behavior
Zig should finish.