-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Cannot compile 32-bit version (BINARY=32) #1974
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
Comments
Do you use 32bit gcc or clang with multilib? |
Can you provide the complete build log please ? The avx512 detection is allowed to fail and should set NO_AVX512=1 in that case. |
This is the complete build log. The build system fails very early, because it cannot compile getarch.c . |
Ah, I see. You have set NO_AVX=1 which removes the definition of xgetbv(). Line 231 of cpuid_x86.c should read |
Trying to compile a 32-bit version of the library on a 64-bit OS (Ubuntu 18.04, GCC 7.3) fails with the following log. Something related to avx512 detection does not work on 32-bit. NO_AVX=1 and NO_AVX2=1 have no effect on this issue.
The text was updated successfully, but these errors were encountered: