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:26:52 EDT (-0400)
  Re: It's that time again: icc vs. gcc  
From: jhu
Date: 27 Jun 2011 00:20:01
Message: <web.4e0804a4be614b62dcff099d0@news.povray.org>
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"

compilation aborted for vm/fnpovfpu.cpp (code 2)
make[3]: *** [fnpovfpu.o] Error 2
make[3]: Leaving directory `/home/jhu/temp/povray-3.7.0.RC3/source/backend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jhu/temp/povray-3.7.0.RC3/source'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jhu/temp/povray-3.7.0.RC3'
make: *** [all] Error 2


Post a reply to this message

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