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

error: unrecognized command line option ‘-mvaes’; did you mean ‘-maes’? #421

Open
leonSjp opened this issue Sep 24, 2022 · 7 comments

Comments

@leonSjp
Copy link

leonSjp commented Sep 24, 2022

No description provided.

@leonSjp
Copy link
Author

leonSjp commented Sep 24, 2022

How can I deal with it ? Thanks a lot!

@syohex
Copy link
Contributor

syohex commented Sep 25, 2022

-mvaes is the valid option both on gcc and clang. It means AVX-512 Vector AES instructions (VAES) – vector instructions for AES coding. GCC supports it since version 8 which was released in 2018. So I suppose that you can fix this issue by using newer compilers.

@leonSjp
Copy link
Author

leonSjp commented Sep 26, 2022

Thanks a lot . The verison of gcc is 6 before .And I update it to 12.2.0 .But I Still have the same problem.

@leonSjp
Copy link
Author

leonSjp commented Sep 26, 2022

Is it still using the before version to make install?

@syohex
Copy link
Contributor

syohex commented Sep 26, 2022

You can find compiler version in cmake log. I suppose there is in CMakeFiles/CMakeOutput.log under the build directory

@leonSjp
Copy link
Author

leonSjp commented Sep 26, 2022

Thanks a lot !!!! But I still have a problem ?execvp: /usr/bin/cc: Permission denied ? How could I deal with it ? I have already install the gcc of 12.2.0, in fact, the cc should be installed too .

@barracuda156
Copy link

BTW, notice, that while the compiler supports those insns, a) assembler may not and b) physical cpu may not.

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

3 participants