You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note -target-cpu generic -target-feature +neon -target-feature +v8a and the absence of my -mcpu settings. Changing the last command adding my desired features compiles without errors:
(side note: it looks like -target-feature +v8_2a is not a valid target feature? If I set it I get '+v8_2a' is not a recognized feature for this target (ignoring feature))
Expected Behavior
I expect zig to respect -mcpu and not override it using the defaults(?) of the target triple. Or noisily complain that it will do that
It looks like this was previously addressed in these issues: #9196#4912
The text was updated successfully, but these errors were encountered:
Zig Version
0.10.1
Steps to Reproduce and Observed Behavior
I fail to cross compile an asm file that you can find here from an x86_64 machine to
aarch64-linux-gnu
and an nvidia jetsoncarmel+v8_2a+crypto
:I have also tried
-mcpu=generic+v8a+crypto
and-mcpu=apple_m1+crypto
, but none of them work.Using verbose output I noticed that neither CPU nor features seem to be passed through:
Note
-target-cpu generic -target-feature +neon -target-feature +v8a
and the absence of my-mcpu
settings. Changing the last command adding my desired features compiles without errors:(side note: it looks like
-target-feature +v8_2a
is not a valid target feature? If I set it I get'+v8_2a' is not a recognized feature for this target (ignoring feature)
)Expected Behavior
I expect zig to respect
-mcpu
and not override it using the defaults(?) of the target triple. Or noisily complain that it will do thatIt looks like this was previously addressed in these issues: #9196 #4912
The text was updated successfully, but these errors were encountered: