-
-
Notifications
You must be signed in to change notification settings - Fork 657
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
i386 build of Alizams fails due to GCC_USE_ASM_64IMPL set in itkMathDetail.h #3771
Comments
I could reproduce the problem on Debian 11 32-bit x86 clean VMware install. CMakeLists.txt:
test.cpp: #include "itkImage.h"
int main(int, char**)
{
return 0;
} If -msse2 compiler option is set for 32-bit x86 than
In the past i didn't have the problem with 32-bit x86 build with -msse2, BTW. I am not sure that i want to do a PR myself now, it is easy, but may have side effects somewhere else in ITK, who knows, i don't have time for that in the near future. @yurivict for AlizaMS you can set ALIZA_DISABLE_SIMDMATH cmake option, it will prevent -msse2 option for 32-bit x86 AlizaMS build. Use |
@issakomi I added |
I did draft PR nonetheless. |
I am sorry, it should be |
Yes, got it, thanks. |
I have tried current master with default configuration and tests on Debian 11 32-bit x86. The results are not so good, 20 tests failed
The types on 32-bit x86 Linux look like:
Not sure that 32-bit x86 is still supported by ITK. AFAIK Fedora dropped 32-bit x86 (but there is still 32-bit armhfp), Debian still releases 32-bit x86. Better avoid, IMHO. |
Didn't Linux Kernel drop support for i386 in 2012 (ref. 1 2) in version 3.8? There is even talk of dropping support for i486. |
Yes, AFAIK, probably better say 32-bit x86, corrected |
32-bit x86 is the widely used term. I think that technical name is IA32 (Intel Architecture, 32-bit). |
Description
Alizams fails with this error:
Versions
InsightToolkit-5.3.r04
Alizams-1.8.3-34-ge36859b
clang-14
FreeBSD 13.1
The text was updated successfully, but these errors were encountered: