POV-Ray : Newsgroups : povray.general : It's that time again: icc vs. gcc : Re: It's that time again: icc vs. gcc Server Time
29 Jul 2024 12:28:57 EDT (-0400)
  Re: It's that time again: icc vs. gcc  
From: Thorsten Froehlich
Date: 27 Jun 2011 11:21:37
Message: <4e08a001@news.povray.org>
On 27.06.11 06:18, jhu wrote:
> clipka<ano### [at] anonymousorg>  wrote:
>> Am 24.06.2011 07:13, schrieb jhu:
>>> SharkD<pos### [at] gmailcom>   wrote:
>>>> Wow. And isn't the 3.7 binary a bit slower than 3.6?
>>>>
>>>> --
>>>> http://isometricland.com
>>>
>>> I've not tested 3.7. I like doing other things on my computer while running
>>> these things, so I used 3.6
>>
>> As you obviously have the icpc compiler suit installed, could you do me
>> a favor and try compiling&  running 3.7 nonetheless, and give some feedback?
>>
>> As for running, I'd be most interested in behaviour regarding photons;
>> I've been experiencing problems there with icpc-compiled POV-Ray 3.7
>> ever since, but haven't managed to get any feedback about whether it's a
>> freak problem limited to my machine or a general issue.
>
> Compiling with icc (icpc) gives an error (no error with gcc though):
>
> make[3]: Entering directory `/home/jhu/temp/povray-3.7.0.RC3/source/backend'
> icpc -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../source -I../../source
> -I../../source/base -I../../unix -I../../vfe -I../../vfe/unix -pthread
> -I/usr/local/include  -pipe -Wno-multichar -Wno-write-strings -s -O3 -ip -xHost
> -pthread -MT fnpovfpu.o -MD -MP -MF .deps/fnpovfpu.Tpo -c -o fnpovfpu.o `test -f
> 'vm/fnpovfpu.cpp' || echo './'`vm/fnpovfpu.cpp
> .../../source/base/image/colourspace.h(445): warning #1125: overloaded function
> "pov_base::GammaCurve::IsNeutral" is hidden by
> "pov_base::PowerLawGammaCurve::IsNeutral" -- virtual function override intended?
>      static bool IsNeutral(float gamma);
>                  ^
>
> .../../source/base/image/colourspace.h(464): warning #1125: overloaded function
> "pov_base::GammaCurve::IsNeutral" is hidden by
> "pov_base::ScaledGammaCurve::IsNeutral" -- virtual function override intended?
>      static bool IsNeutral(float factor);
>                  ^
>
> /usr/include/c++/4.4.5/cmath(500): error: identifier "__builtin_fpclassify" is
> undefined
>          return __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL,
>                 ^
>            detected during:
>              instantiation of
> "__gnu_cxx::__enable_if<std::__is_arithmetic<_Tp>::__value, int>::__type
> std::fpclassify(_Tp) [with _Tp=float]" at line 65 of
> "/usr/local/include/boost/functional/hash/detail/hash_float.hpp"
>              instantiation of "size_t={unsigned long}
> boost::hash_detail::float_hash_value(T) [with T=float]" at line 299 of
> "/usr/local/include/boost/functional/hash/hash.hpp"
>
> /usr/include/c++/4.4.5/cmath(500): error: identifier "__builtin_fpclassify" is
> undefined
>          return __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL,
>                 ^
>            detected during:
>              instantiation of
> "__gnu_cxx::__enable_if<std::__is_arithmetic<_Tp>::__value, int>::__type
> std::fpclassify(_Tp) [with _Tp=long double]" at line 65 of
> "/usr/local/include/boost/functional/hash/detail/hash_float.hpp"
>              instantiation of "size_t={unsigned long}
> boost::hash_detail::float_hash_value(T) [with T=long double]" at line 309 of
> "/usr/local/include/boost/functional/hash/hash.hpp"

Did you rebuild boost with icc first? This looks like boost is configured 
for gcc, while the compiler is of course icc.

	Thorsten


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.