[Boost-bugs] [Boost C++ Libraries] #8333: [math] PGI 11.3 problems (sph_bessel.cpp, sph_bessel.cpp)

Subject: [Boost-bugs] [Boost C++ Libraries] #8333: [math] PGI 11.3 problems (sph_bessel.cpp, sph_bessel.cpp)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-25 16:37:39


#8333: [math] PGI 11.3 problems (sph_bessel.cpp, sph_bessel.cpp)
------------------------------------------------+---------------------------
 Reporter: Mark Dixon <m.c.dixon@…> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: math
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: pgi |
------------------------------------------------+---------------------------
 Hi,

 Compilation of boost 1.53.0 with the PGI 11.3 compiler on RHEL5 fails for
 the following targets:

 * bin.v2/libs/math/build/pgi/release/threading-multi/sph_bessel.o
 * bin.v2/libs/math/build/pgi/release/threading-multi/sph_bessell.o

 Is this a known issue? I cannot seem to find it mentioned in the
 bugtracker.

 Thanks,

 Mark

 Error messages follow:

 {{{
 pgi.compile.c++ bin.v2/libs/math/build/pgi/release/threading-
 multi/sph_bessel.o
 "./boost/math/special_functions/sinc.hpp", line 70: error: more than one
           instance of overloaded function "abs" matches the argument list:
             function "abs(double)"
             function "abs(int)"
             argument types are: (const long double)
               if (abs(x) >= taylor_n_bound)
                      ^
           detected during:
             instantiation of "T boost::math::detail::sinc_pi_imp(T) [with
                       T=long double]" at line 110
             instantiation of "boost::math::tools::promote_args<T, float,
                       float, float, float, float>::type
                       boost::math::sinc_pi(T, const Policy &) [with T=long
                       double, Policy=c_policies::c_policy]" at line 154 of
                       "./boost/math/special_functions/bessel.hpp"
             instantiation of "T
 boost::math::detail::sph_bessel_j_imp(unsigned
                       int, T, const Policy &) [with T=long double,
                       Policy=c_policies::c_policy]" at line 394 of
                       "./boost/math/special_functions/bessel.hpp"
             instantiation of "boost::math::detail::bessel_traits<T, T,
                       Policy>::result_type
 boost::math::sph_bessel(unsigned
                       int, T, const Policy &) [with T=double,
                       Policy=c_policies::c_policy]" at line 129 of
                       "libs/math/build/../src/tr1/c_policy.hpp"
             instantiation of "boost::math::detail::bessel_traits<T, T,
                       c_policies::c_policy>::result_type
                       c_policies::sph_bessel(unsigned int, T) [with
 T=double]"
                       at line 16 of
 "libs/math/build/../src/tr1/sph_bessel.cpp"

 "./boost/math/special_functions/sinc.hpp", line 79: error: more than one
           instance of overloaded function "abs" matches the argument list:
             function "abs(double)"
             function "abs(int)"
             argument types are: (const long double)
                   if (abs(x) >= taylor_0_bound)
                          ^
           detected during:
             instantiation of "T boost::math::detail::sinc_pi_imp(T) [with
                       T=long double]" at line 110
             instantiation of "boost::math::tools::promote_args<T, float,
                       float, float, float, float>::type
                       boost::math::sinc_pi(T, const Policy &) [with T=long
                       double, Policy=c_policies::c_policy]" at line 154 of
                       "./boost/math/special_functions/bessel.hpp"
             instantiation of "T
 boost::math::detail::sph_bessel_j_imp(unsigned
                       int, T, const Policy &) [with T=long double,
                       Policy=c_policies::c_policy]" at line 394 of
                       "./boost/math/special_functions/bessel.hpp"
             instantiation of "boost::math::detail::bessel_traits<T, T,
                       Policy>::result_type
 boost::math::sph_bessel(unsigned
                       int, T, const Policy &) [with T=double,
                       Policy=c_policies::c_policy]" at line 129 of
                       "libs/math/build/../src/tr1/c_policy.hpp"
             instantiation of "boost::math::detail::bessel_traits<T, T,
                       c_policies::c_policy>::result_type
                       c_policies::sph_bessel(unsigned int, T) [with
 T=double]"
                       at line 16 of
 "libs/math/build/../src/tr1/sph_bessel.cpp"

 "./boost/math/special_functions/sinc.hpp", line 86: error: more than one
           instance of overloaded function "abs" matches the argument list:
             function "abs(double)"
             function "abs(int)"
             argument types are: (const long double)
                       if (abs(x) >= taylor_2_bound)
                              ^
           detected during:
             instantiation of "T boost::math::detail::sinc_pi_imp(T) [with
                       T=long double]" at line 110
             instantiation of "boost::math::tools::promote_args<T, float,
                       float, float, float, float>::type
                       boost::math::sinc_pi(T, const Policy &) [with T=long
                       double, Policy=c_policies::c_policy]" at line 154 of
                       "./boost/math/special_functions/bessel.hpp"
             instantiation of "T
 boost::math::detail::sph_bessel_j_imp(unsigned
                       int, T, const Policy &) [with T=long double,
                       Policy=c_policies::c_policy]" at line 394 of
                       "./boost/math/special_functions/bessel.hpp"
             instantiation of "boost::math::detail::bessel_traits<T, T,
                       Policy>::result_type
 boost::math::sph_bessel(unsigned
                       int, T, const Policy &) [with T=double,
                       Policy=c_policies::c_policy]" at line 129 of
                       "libs/math/build/../src/tr1/c_policy.hpp"
             instantiation of "boost::math::detail::bessel_traits<T, T,
                       c_policies::c_policy>::result_type
                       c_policies::sph_bessel(unsigned int, T) [with
 T=double]"
                       at line 16 of
 "libs/math/build/../src/tr1/sph_bessel.cpp"

 3 errors detected in the compilation of
 "libs/math/build/../src/tr1/sph_bessel.cpp".

     "pgCC" -Kieee -fpic -fPIC -fast -Mx,8,0x10000000 -Minform=warn
 -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG -D__need_IOV_MAX
 -
 I"." -I"libs/math/src/tr1" -c -o "bin.v2/libs/math/build/pgi/release
 /threading-multi/sph_bessel.o" "libs/math/build/../src/tr1/sph_bessel.cpp"


 pgi.compile.c++ bin.v2/libs/math/build/pgi/release/threading-
 multi/sph_bessell.o
 "./boost/math/special_functions/sinc.hpp", line 70: error: more than one
           instance of overloaded function "abs" matches the argument list:
             function "abs(double)"
             function "abs(int)"
             argument types are: (const long double)
               if (abs(x) >= taylor_n_bound)
                      ^
           detected during:
             instantiation of "T boost::math::detail::sinc_pi_imp(T) [with
                       T=long double]" at line 110
             instantiation of "boost::math::tools::promote_args<T, float,
                       float, float, float, float>::type
                       boost::math::sinc_pi(T, const Policy &) [with T=long
                       double, Policy=c_policies::c_policy]" at line 154 of
                       "./boost/math/special_functions/bessel.hpp"
             instantiation of "T
 boost::math::detail::sph_bessel_j_imp(unsigned
                       int, T, const Policy &) [with T=long double,
                       Policy=c_policies::c_policy]" at line 394 of
                       "./boost/math/special_functions/bessel.hpp"
             instantiation of "boost::math::detail::bessel_traits<T, T,
                       Policy>::result_type
 boost::math::sph_bessel(unsigned
                       int, T, const Policy &) [with T=long double,
                       Policy=c_policies::c_policy]" at line 129 of
                       "libs/math/build/../src/tr1/c_policy.hpp"
             instantiation of "boost::math::detail::bessel_traits<T, T,
                       c_policies::c_policy>::result_type
                       c_policies::sph_bessel(unsigned int, T) [with T=long
                       double]" at line 16 of
                       "libs/math/build/../src/tr1/sph_bessell.cpp"

 "./boost/math/special_functions/sinc.hpp", line 79: error: more than one
           instance of overloaded function "abs" matches the argument list:
             function "abs(double)"
             function "abs(int)"
             argument types are: (const long double)
                   if (abs(x) >= taylor_0_bound)
                          ^
           detected during:
             instantiation of "T boost::math::detail::sinc_pi_imp(T) [with
                       T=long double]" at line 110
             instantiation of "boost::math::tools::promote_args<T, float,
                       float, float, float, float>::type
                       boost::math::sinc_pi(T, const Policy &) [with T=long
                       double, Policy=c_policies::c_policy]" at line 154 of
                       "./boost/math/special_functions/bessel.hpp"
             instantiation of "T
 boost::math::detail::sph_bessel_j_imp(unsigned
                       int, T, const Policy &) [with T=long double,
                       Policy=c_policies::c_policy]" at line 394 of
                       "./boost/math/special_functions/bessel.hpp"
             instantiation of "boost::math::detail::bessel_traits<T, T,
                       Policy>::result_type
 boost::math::sph_bessel(unsigned
                       int, T, const Policy &) [with T=long double,
                       Policy=c_policies::c_policy]" at line 129 of
                       "libs/math/build/../src/tr1/c_policy.hpp"
             instantiation of "boost::math::detail::bessel_traits<T, T,
                       c_policies::c_policy>::result_type
                       c_policies::sph_bessel(unsigned int, T) [with T=long
                       double]" at line 16 of
                       "libs/math/build/../src/tr1/sph_bessell.cpp"

 "./boost/math/special_functions/sinc.hpp", line 86: error: more than one
           instance of overloaded function "abs" matches the argument list:
             function "abs(double)"
             function "abs(int)"
             argument types are: (const long double)
                       if (abs(x) >= taylor_2_bound)
                              ^
           detected during:
             instantiation of "T boost::math::detail::sinc_pi_imp(T) [with
                       T=long double]" at line 110
             instantiation of "boost::math::tools::promote_args<T, float,
                       float, float, float, float>::type
                       boost::math::sinc_pi(T, const Policy &) [with T=long
                       double, Policy=c_policies::c_policy]" at line 154 of
                       "./boost/math/special_functions/bessel.hpp"
             instantiation of "T
 boost::math::detail::sph_bessel_j_imp(unsigned
                       int, T, const Policy &) [with T=long double,
                       Policy=c_policies::c_policy]" at line 394 of
                       "./boost/math/special_functions/bessel.hpp"
             instantiation of "boost::math::detail::bessel_traits<T, T,
                       Policy>::result_type
 boost::math::sph_bessel(unsigned
                       int, T, const Policy &) [with T=long double,
                       Policy=c_policies::c_policy]" at line 129 of
                       "libs/math/build/../src/tr1/c_policy.hpp"
             instantiation of "boost::math::detail::bessel_traits<T, T,
                       c_policies::c_policy>::result_type
                       c_policies::sph_bessel(unsigned int, T) [with T=long
                       double]" at line 16 of
                       "libs/math/build/../src/tr1/sph_bessell.cpp"

 3 errors detected in the compilation of
 "libs/math/build/../src/tr1/sph_bessell.cpp".

     "pgCC" -Kieee -fpic -fPIC -fast -Mx,8,0x10000000 -Minform=warn
 -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG -D__need_IOV_MAX
 -
 I"." -I"libs/math/src/tr1" -c -o "bin.v2/libs/math/build/pgi/release
 /threading-multi/sph_bessell.o"
 "libs/math/build/../src/tr1/sph_bessell.cpp
 "
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8333>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC