Boost logo

Boost :

Subject: Re: [boost] Intel compilation
From: Barend Gehrels (barend_at_[hidden])
Date: 2011-03-26 13:25:25


Hi,

I mailed this:

On 24-3-2011 11:20, barend wrote:
>
> Hi,
>
> The Boost.Trunk summary now gives for some Intel compilers,
> since some time:
>
> Test output: Sandia-intel-10.1 - geometry - distance
> / intel-darwin-10.1Rev 70458 / Wed, 23 Mar 2011 01:41:17 +0000
>
> Report
> Time: Thu, 24 Mar 2011 07:47:34 +0000
>
> Compile [2011-03-23 04:42:50
> UTC]: fail
> "/opt/intel/cce/10.1.024/bin/icpc" -xc++ -w1 -O0 -g
> -inline-level=0 -vec-report0 -DBOOST_ALL_NO_LIB=1 -D__WINT_TYPE__=int
> -I".." -I"../boost/geometry/extensions/contrib/ttmath"
> -I"../libs/geometry/test" -c -o
> "/Volumes/Scratch/kbelco/boost/results/boost/bin.v2/libs/geometry/test/algorithms/distance.test/intel-darwin-10.1/debug/distance.o"
> "../libs/geometry/test/algorithms/distance.cpp"
> ../boost/detail/fenv.hpp(11):
> catastrophic error: #error directive: This platform does not have a
> floating point environment

And John responded

> It's the other way around - I changed Boost.Config to set
> BOOST_NO_FENV_H for Intel prior to 12.0 because it fails the test case

and:

> Is there a fallback for systems with no fenv.h?
>
> If so the right thing to do is to check for BOOST_NO_FENV_H before
> including the detail/ header (not sure what use the detail/ header is
> in that case, but there you go...)

Is this change reverted? Because it is now working again properly for
Sandia-intel-10.1 , Sandia-intel-11.0.

So, great.

The only platform that fails now is Sandia-intel-11.1, giving me at runtime

signal: SIGSEGV, si_code: 0 (memory access violation at address: 0x00000000)

(this probably is related to the earlier problem). I've seen this
earlier, it is not new. I'll probably denote only compiler-version as
unsupported then.

Regards, Barend


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk