Skip to content

Unable to build Zig on riscv64gc-linux-musl #24508

@bwbuhse

Description

@bwbuhse

Zig Version

0.14.2-dev.1+6d1f0eca7

Steps to Reproduce and Observed Behavior

  • git clone https://github.com/ziglang/zig.git -b 0.14.x
  • Follow standard build process, i.e.
mkdir build
cd build
cmake ..
make install
  • Build fails due to issues in zig2.c

I've attached the build log for the 0.14.x branch as well as the log from trying to build the Gentoo package for master. They're both about 33MiB so I had to compress them. I just put them in a tarball together. (The master log actually includes some more issues about compiler_rt.c, but I'm guessing the reason it's different is just the Gentoo package's build arguments?)

build-logs.tgz

Expected Behavior

Zig should build correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-riscv32-bit and 64-bit RISC-VbugObserved behavior contradicts documented or intended behavioros-linux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions