[Insight-developers] Dashboard Cleanup : MIT builds : itk::MathDetail & "_mm_cvtsd_si64"

Bradley Lowekamp blowekamp at mail.nih.gov
Wed Jan 27 10:40:28 EST 2010


Hello,

Specifically what version of gcc are you using. The following test in itkMathDetail.h is the problem:

// _mm_cvtsd_si64 and _mm_cvtss_si64 are not defined in gcc prior to 4.0
// of gcc, we have opted not to use a compile test for this due to
// complication with universal binaries on apple
#if (!defined(__GNUC__) || ( defined(__GNUC__) && (__GNUC__>=4 ) ))
# undef USE_SSE2_64IMPL
# define USE_SSE2_64IMPL 1
#endif

It would probably be best to actually run a cmake try compile for this one for the non-mac systems....

Brad

On Jan 27, 2010, at 10:31 AM, Luis Ibanez wrote:

> Hi Sylvain,
> 
> The following MIT machines are reporting compilation
> errors that seem to be related to their configuration.
> 
> http://www.cdash.org/CDash/index.php?project=Insight&filtercount=2&showfilters=1&filtercombine=and&field1=site/string&compare1=63&value1=sylvain.jaume&field2=builderrors/number&compare2=43&value2=0
> 
>     sylvain.jaume.coriander.mit   Linux-c++
>     sylvain.jaume.wasabi.mit       Linux-c++
>     sylvain.jaume.wasabi.mit       Linux-c++
>     sylvain.jaume.pandan.mit      Linux-c++
>     sylvain.jaume.tarcin.mit         Linux-c++
>     sylvain.jaume.darchin.mit      Linux-c++
>     sylvain.jaume.curcum.mit      Linux-c++
>     sylvain.jaume.neem.mit         Linux-c++
> 
> 
> For example:
> 
> http://www.cdash.org/CDash/viewBuildError.php?buildid=524377
> 
> says:
> 
> Building CXX object Code/Common/CMakeFiles/ITKCommon.dir/itkChainCodePath2D.o
> /.../Insight/Code/Common/itkMathDetail.h: In function 'itk::int64_t
> itk::Math::Detail::RoundHalfIntegerToEven_64(double)':
> /.../Insight/Code/Common/itkMathDetail.h:251: error: '_mm_cvtsd_si64'
> was not declared in this scope
> /.../Insight/Code/Common/itkMathDetail.h: In function 'itk::int64_t
> itk::Math::Detail::RoundHalfIntegerToEven_64(float)':
> 
> 
> 
> Could you give us more details on what is the architecture
> of these machines and how they differ from the other MIT
> machines that are submitting green builds ?
> 
> Here is the list of MIT machines that are submitting green builds.
> http://www.cdash.org/CDash/index.php?project=Insight&filtercount=2&showfilters=1&filtercombine=and&field1=site/string&compare1=63&value1=sylvain.jaume&field2=builderrors/number&compare2=43&value2=0
> 
> 
>   Thanks,
> 
> 
>         Luis



More information about the Insight-developers mailing list