Skip to content

zig stuck at llvm emit object on riscv64-linux sifive_u74 #18872

@RossComputerGuy

Description

@RossComputerGuy

Zig Version

0.12.0-dev.2058+04ac028a2

Steps to Reproduce and Observed Behavior

Run zig build -Dcpu=sifive_u74 in 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 Object stage 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-riscv6464-bit RISC-Vbackend-llvmThe LLVM backend outputs an LLVM IR Module.bugObserved behavior contradicts documented or intended behaviorupstreamAn issue with a third party project that Zig uses.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions