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

amd64: OpenBSD/Clang 3.8.0 with -march=native: error: needs target feature sha #467

Closed
anonimal opened this issue Aug 24, 2017 · 3 comments

Comments

@anonimal
Copy link
Contributor

With -march=native.

@anonimal anonimal changed the title OpenBSD/Clang 3.8.0: error: needs target feature sha amd64: OpenBSD/Clang 3.8.0: error: needs target feature sha Aug 24, 2017
@anonimal anonimal changed the title amd64: OpenBSD/Clang 3.8.0: error: needs target feature sha amd64: OpenBSD/Clang 3.8.0 with -march=native: error: needs target feature sha Aug 24, 2017
@noloader
Copy link
Collaborator

OK, the problem here is -march=native will only enable SHA if its actually available on the hardware. I'm guessing its not being run on a machine with SHA.

The fix for Issue 468 will clear this one too.

I've got the changes checked-in on my testing branch. They should hit Master in a few hours.

@anonimal
Copy link
Contributor Author

Fix confirmed in noloader@d05c508 😄 Thank you.

@noloader
Copy link
Collaborator

Cleared at PR 469.

noloader referenced this issue Aug 25, 2017
Rollup CMake fixes for OpenBSD (Issues 467-468)
Rollup CMake fixes for MinGW (Issues 466)
Add CRYPTOPP_ENABLE_ARCH (Issue 380)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants