Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile issue: unrecognized option #1209

Open
ryanfortner opened this issue Jan 19, 2024 · 3 comments
Open

Compile issue: unrecognized option #1209

ryanfortner opened this issue Jan 19, 2024 · 3 comments

Comments

@ryanfortner
Copy link
Contributor

When building SD8G2 target:

Error: unrecognized option -march=armv9-a+i8mm+sm4+sha3+rcpc+crypto+nosve+nosve2
cc1: error: unknown value 'armv9-a+i8mm+sm4+sha3+rcpc+crypto+nosve+nosve2' for '-march'
cc1: note: valid arguments are: armv8-a armv8.1-a armv8.2-a armv8.3-a armv8.4-a armv8.5-a
cc1: error: unknown value 'armv9-a+i8mm+sm4+sha3+rcpc+crypto+nosve+nosve2' for '-march'
cc1: note: valid arguments are: armv8-a armv8.1-a armv8.2-a armv8.3-a armv8.4-a armv8.5-a
Assembler messages:
Error: unknown architecture `armv9-a+i8mm+sm4+sha3+rcpc+crypto+nosve+nosve2'

make[2]: *** [CMakeFiles/native_pass0.dir/build.make:102: CMakeFiles/native_pass0.dir/src/dynarec/arm64/dynarec_arm64_emit_logic.c.o] Error 1
Error: unrecognized option -march=armv9-a+i8mm+sm4+sha3+rcpc+crypto+nosve+nosve2
make[2]: *** [CMakeFiles/native_pass0.dir/build.make:115: CMakeFiles/native_pass0.dir/src/dynarec/arm64/dynarec_arm64_emit_shift.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:177: CMakeFiles/native_pass0.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
@ptitSeb
Copy link
Owner

ptitSeb commented Jan 19, 2024

What compiler version are youi using? I suspect it's too old for those options. (Use some other SD if you cannot upgrade the compiler)

@ryanfortner
Copy link
Contributor Author

What compiler version are youi using? I suspect it's too old for those options. (Use some other SD if you cannot upgrade the compiler)

It's gcc-9, I also tried gcc-10 with the same error. I didn't get this error a week ago

@ptitSeb
Copy link
Owner

ptitSeb commented Jan 19, 2024

What compiler version are youi using? I suspect it's too old for those options. (Use some other SD if you cannot upgrade the compiler)

It's gcc-9, I also tried gcc-10 with the same error. I didn't get this error a week ago

Nothing changed on that front last week. That's odd. I built using this profile on a Arch linux with gcc-12 not too long ago without issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants