Hi, I've built the ITK package on my AMD64 machine without trouble, but the 32-bit build is failing with the error below.
The errors seem to point to using SSE instructions. Is there a recommended set of flags to use when building for x86? I tried "-march=i686" but it gives the same error. Below is the first warning and error -- there are several more similar errors. Thanks! -Steve In file included from /home/steve/Packages/insighttoolkit/build-area/ InsightToolkit-5.2.1/Modules/Core/Common/include/itkMath.h:32, from /home/steve/Packages/insighttoolkit/build-area/ InsightToolkit-5.2.1/Modules/Core/Common/include/itkVector.hxx:21, from /home/steve/Packages/insighttoolkit/build-area/ InsightToolkit-5.2.1/Modules/Core/Common/include/itkVector.h:332, from /home/steve/Packages/insighttoolkit/build-area/ InsightToolkit-5.2.1/Modules/Core/Common/include/itkPoint.h:23, from /home/steve/Packages/insighttoolkit/build-area/ InsightToolkit-5.2.1/Modules/Core/Common/include/itkContinuousIndex.h:21, from /home/steve/Packages/insighttoolkit/build-area/ InsightToolkit-5.2.1/Modules/Core/Common/include/itkImageRegion.h:34, from /home/steve/Packages/insighttoolkit/build-area/ InsightToolkit-5.2.1/Modules/Core/Common/include/itkImageRegionSplitterBase.h: 21, from /home/steve/Packages/insighttoolkit/build-area/ InsightToolkit-5.2.1/Modules/Core/Common/include/ itkImageRegionSplitterSlowDimension.h:21, from /home/steve/Packages/insighttoolkit/build-area/ InsightToolkit-5.2.1/Modules/Core/Common/src/ itkImageRegionSplitterSlowDimension.cxx:19: /home/steve/Packages/insighttoolkit/build-area/InsightToolkit-5.2.1/Modules/ Core/Common/include/itkMathDetail.h: In function ‘itk::int32_t itk::Math::Detail::RoundHalfIntegerToEven_32(double)’: /home/steve/Packages/insighttoolkit/build-area/InsightToolkit-5.2.1/Modules/ Core/Common/include/itkMathDetail.h:151:24: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi] 151 | return _mm_cvtsd_si32(_mm_set_sd(x)); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /home/steve/Packages/insighttoolkit/build-area/ InsightToolkit-5.2.1/Modules/Core/Common/include/itkMathDetail.h:37, from /home/steve/Packages/insighttoolkit/build-area/ InsightToolkit-5.2.1/Modules/Core/Common/include/itkMath.h:32, from /home/steve/Packages/insighttoolkit/build-area/ InsightToolkit-5.2.1/Modules/Core/Common/include/itkVector.hxx:21, from /home/steve/Packages/insighttoolkit/build-area/ InsightToolkit-5.2.1/Modules/Core/Common/include/itkVector.h:332, from /home/steve/Packages/insighttoolkit/build-area/ InsightToolkit-5.2.1/Modules/Core/Common/include/itkPoint.h:23, from /home/steve/Packages/insighttoolkit/build-area/ InsightToolkit-5.2.1/Modules/Core/Common/include/itkContinuousIndex.h:21, from /home/steve/Packages/insighttoolkit/build-area/ InsightToolkit-5.2.1/Modules/Core/Common/include/itkImageRegion.h:34, from /home/steve/Packages/insighttoolkit/build-area/ InsightToolkit-5.2.1/Modules/Core/Common/include/itkImageRegionSplitterBase.h: 21, from /home/steve/Packages/insighttoolkit/build-area/ InsightToolkit-5.2.1/Modules/Core/Common/include/ itkImageRegionSplitterSlowDimension.h:21, from /home/steve/Packages/insighttoolkit/build-area/ InsightToolkit-5.2.1/Modules/Core/Common/src/ itkImageRegionSplitterSlowDimension.cxx:19: /usr/lib/gcc/i686-linux-gnu/11/include/emmintrin.h:867:1: error: inlining failed in call to ‘always_inline’ ‘int _mm_cvtsd_si32(__m128d)’: target specific option mismatch
signature.asc
Description: This is a digitally signed message part.