Zig selects musl toolchain by default on riscv64 #15368
Labels
arch-riscv
32-bit and 64-bit RISC-V
bug
Observed behavior contradicts documented or intended behavior
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Zig Version
0.10.1
Steps to Reproduce and Observed Behavior
I am packaging Zig on Arch Linux riscv64. Since there's no LLVM 16 in Arch right now, we have to stick to v0.10.1.
On x86_64 the build script works just fine and produces x86_64-linux-gnu Zig. On riscv64 I switched
CC
andCXX
to clang (since GCC segfaults/overflows, seems to relate to #3275), and it complains about redeclaration from musl:When I specified
-DZIG_TARGET_TRIPLE=native-native-gnu
, CMake complains about missing Clang:Expected Behavior
Use riscv64-linux-gnu toolchain on riscv64 by default (?), or have a way to correctly specify it
The text was updated successfully, but these errors were encountered: