-
Notifications
You must be signed in to change notification settings - Fork 510
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
Tests cannot be run on non-x86 architectures #774
Comments
Hello, indeed, AES New Instructions are specific to x86 architectures: https://en.wikipedia.org/wiki/AES_instruction_set#Supporting_x86_CPUs |
This is fixed in master |
yes, did it solved your issue ? |
I haven't tried yet, but I will next week. |
This is fixed in v3.20.0. |
I just uploaded pycryptodome 3.20.0+dfsg-1 to Debian unstable. In the next hours we will see if the tests succeed on non-x86: |
pycryptodome 3.20.0+dfsg-1 builds on most architectures now. So the SSE/AES config changes work. I filed two bug reports for the remaining failures: |
The Debian/Ubuntu packages runs the tests cases, but they fail on non-x86 architectures:
I tried to build the tests without SSE and AES disabled on ARM:
It fails then:
I disabled
add_compile_options(-mstackrealign)
inCMakeLists.txt
and then it failed with:The header
wmmintrin.h
seems to be x86-specific.Please support building/running the tests on non-x86 architectures.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053328
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/pycryptodome/+bug/2039968
The text was updated successfully, but these errors were encountered: