zig c++ fails when using -march (and -mtune) when using x86_64-linux-musl as target #9986
Open
1 task done
Labels
arch-x86_64
bug
Observed behavior contradicts documented or intended behavior
os-linux
zig cc
Zig as a drop-in C compiler feature
Milestone
Remember to search before filing a new report
Zig Version
0.9.0-dev.1433+4a76523b9
Steps to Reproduce
zig c++ fails when using -march (and -mtune) when using x86_64-linux-musl as target.
Without
-march
and-mtune
option it build fine. with those options, there are problems building MUSL:error: unable to build musl CRT file: BuildingLibCObjectFailed
.Without
-target x86_64-linux-musl
, but with-march
and-mtune
it builds fine too.Expected Behavior
Expect that it can build MUSL when specifying -march and -mtune.
Actual Behavior
The text was updated successfully, but these errors were encountered: