-
Notifications
You must be signed in to change notification settings - Fork 413
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
macOS M1: dilithium/aarch64 not compiling with gcc #1506
Comments
Sure, I'll do a pull tomorrow and see if it fixes the issue. |
@bhess Thanks in advance. And while you're at it, please also check
|
Thanks for catching this @baentsch. I could reproduce the error but needed to compile with |
Describe the bug
Compiling fails on macOS (M1) when using gcc.
To Reproduce
Steps to reproduce the behavior:
Environment (please complete the following information):
Additional context
The respective ".type , %function" statements in the aarch64 assembly code are excluded for clang but not for gcc:
liboqs/src/sig/dilithium/pqclean_dilithium2_aarch64/__asm_iNTT.S
Lines 7 to 9 in 93e7847
PQClean upstream appears to have removed the ".type , %function" statements in the meanwhile, so a fresh copy_from_upstream might help.
The text was updated successfully, but these errors were encountered: