Boost logo

Boost Users :

Subject: Re: [Boost-users] [fusion] xlC 6.0 building math lib - Errors
From: Jerry Jeremiah (Jerry.Jeremiah_at_[hidden])
Date: 2010-02-02 15:54:30


> >
> > I have access to this platform. When I tried to compile the boost
> > libraries with xlC 6 I got lots of template related errors in the math
> > library (the first library bjam tries to build) but I didn't see his
> > fusion errors. xlC 6 is not very standards compliant - upgrading to xlC
> > 10 would really help if that is an option. But like I said, I can't get
> > that far even - my attempt at compiling the trunk dies with a similar
> > error to his "declared but not defined" error:
> >
> > vacpp.compile.c++
> > bin.v2/libs/math/build/vacpp/release/threading-multi/assoc_legendre.o
> > "./boost/math/special_functions/gamma.hpp", line 1084.16: 1540-0130 (S)
> > "L::g" is not declared.
> > ...
> > "libs/math/build/../src/tr1/assoc_legendre.cpp", line 16.28: 1540-0700
> > (I) The previous message was produced while processing
> > "assoc_legendre(unsigned int, unsigned int, double)".
> > "./boost/math/special_functions/gamma.hpp", line 176.17: 1540-0130 (S)
> > "L::lanczos_sum" is not declared.
> > ...
> > "libs/math/build/../src/tr1/assoc_legendre.cpp", line 16.28: 1540-0700
> > (I) The previous message was produced while processing
> > "assoc_legendre(unsigned int, unsigned int, double)".
> >
>
> That makes no sense to me whatsoever - L::g is a member of one of the
> template parameters - it would help if an instantiation back-trace was
> actually produced! Is there any way that you know of to force the
> compiler to output the actual template parameters passed to
> tgamma_delta_ratio_imp_lanczos when it gets instantiated?
>
> What about the other source files - are any building? Any giving
> different
> error messages to the above?
>
> Thanks, John.

Hi John,

I wasn't particularly trying to get help compiling boost on the platform. I was just saying that I get different errors from the other person. I figured that xlC 6 was just too old to be standards conformant enough - especially considering that xlC 10.1 is out. That's why I stuck an ellipsis in and shortened the error messages.

However, I would appreciate help figuring out how to get it to compile if you think it is possible. And I am happy to help anybody test other libraries as well.

In fact, NONE of the libraries I have attempted actually compile successfully. :-<

Here is the entire stack trace for the math library error I get:

vacpp.compile.c++ bin.v2/libs/math/build/vacpp/release/threading-multi/assoc_laguerre.o
    1500-029: (W) WARNING: subprogram boost::math::laguerre<long double,boost::math::policies::policy<boost::math::policies::domain_error<1>,boost::math::policies::pole_error<1>,boost::math::policies::overflow_error<1>,boost::math::policies::evaluation_error<1>,boost::math::policies::rounding_ could not be inlined.
vacpp.compile.c++ bin.v2/libs/math/build/vacpp/release/threading-multi/assoc_legendre.o
"./boost/math/special_functions/gamma.hpp", line 1084.16: 1540-0130 (S) "L::g" is not declared.
"./boost/math/special_functions/gamma.hpp", line 1081.3: 1540-0700 (I) The previous message was produced while processing "boost::math::detail::tgamma_delta_ratio_imp_lanczos<long double,boost::math::policies::policy<boost::math::policies::domain_error<1>,boost::math::policies::pole_error<1>,boost::math::policies::overflow_error<1>,boost::math::policies::evaluation_error<1>,boost::math::policies::rounding_error<1>,boost::math::policies::promote_float<0>,boost::math::policies::promote_double<0>,boost::math::policies::default_policy,boost::math::policies::de...".
"./boost/math/special_functions/gamma.hpp", line 1192.11: 1540-0700 (I) The previous message was produced while processing "boost::math::detail::tgamma_delta_ratio_imp<long double,boost::math::policies::policy<boost::math::policies::domain_error<1>,boost::math::policies::pole_error<1>,boost::math::policies::overflow_error<1>,boost::math::policies::evaluation_error<1>,boost::math::policies::rounding_error<1>,boost::math::policies::promote_float<0>,boost::math::policies::promote_double<0>,boost::math::policies::default_policy,boost::math::policies::default_po...".
"./boost/math/special_functions/gamma.hpp", line 1478.4: 1540-0700 (I) The previous message was produced while processing "boost::math::tgamma_ratio<long double,long double,boost::math::policies::policy<boost::math::policies::domain_error<1>,boost::math::policies::pole_error<1>,boost::math::policies::overflow_error<1>,boost::math::policies::evaluation_error<1>,boost::math::policies::rounding_error<1>,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost:...".
"./boost/math/special_functions/legendre.hpp", line 134.21: 1540-0700 (I) The previous message was produced while processing "boost::math::detail::legendre_p_imp<long double,boost::math::policies::policy<boost::math::policies::domain_error<1>,boost::math::policies::pole_error<1>,boost::math::policies::overflow_error<1>,boost::math::policies::evaluation_error<1>,boost::math::policies::rounding_error<1>,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::m...".
"./boost/math/special_functions/legendre.hpp", line 167.11: 1540-0700 (I) The previous message was produced while processing "boost::math::detail::legendre_p_imp<long double,boost::math::policies::policy<boost::math::policies::domain_error<1>,boost::math::policies::pole_error<1>,boost::math::policies::overflow_error<1>,boost::math::policies::evaluation_error<1>,boost::math::policies::rounding_error<1>,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::m...".
"./boost/math/special_functions/legendre.hpp", line 178.65: 1540-0700 (I) The previous message was produced while processing "boost::math::legendre_p<double,boost::math::policies::policy<boost::math::policies::domain_error<1>,boost::math::policies::pole_error<1>,boost::math::policies::overflow_error<1>,boost::math::policies::evaluation_error<1>,boost::math::policies::rounding_error<1>,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::de...".
"libs/math/build/../src/tr1/c_policy.hpp", line 129.1: 1540-0700 (I) The previous message was produced while processing "c_policies::legendre_p<double>(int, int, double)".
"libs/math/build/../src/tr1/assoc_legendre.cpp", line 16.28: 1540-0700 (I) The previous message was produced while processing "assoc_legendre(unsigned int, unsigned int, double)".
"./boost/math/special_functions/gamma.hpp", line 176.17: 1540-0130 (S) "L::lanczos_sum" is not declared.
"./boost/math/special_functions/gamma.hpp", line 130.3: 1540-0700 (I) The previous message was produced while processing "boost::math::detail::gamma_imp<long double,boost::math::policies::policy<boost::math::policies::domain_error<1>,boost::math::policies::pole_error<1>,boost::math::policies::overflow_error<1>,boost::math::policies::evaluation_error<1>,boost::math::policies::rounding_error<1>,boost::math::policies::promote_float<0>,boost::math::policies::promote_double<0>,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::m...".
"./boost/math/special_functions/gamma.hpp", line 1231.4: 1540-0700 (I) The previous message was produced while processing "boost::math::detail::tgamma<long double,boost::math::policies::policy<boost::math::policies::domain_error<1>,boost::math::policies::pole_error<1>,boost::math::policies::overflow_error<1>,boost::math::policies::evaluation_error<1>,boost::math::policies::rounding_error<1>,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::pol...".
"./boost/math/special_functions/gamma.hpp", line 1350.4: 1540-0700 (I) The previous message was produced while processing "boost::math::tgamma<long double,boost::math::policies::policy<boost::math::policies::domain_error<1>,boost::math::policies::pole_error<1>,boost::math::policies::overflow_error<1>,boost::math::policies::evaluation_error<1>,boost::math::policies::rounding_error<1>,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::d...".
"./boost/math/special_functions/factorials.hpp", line 31.10: 1540-0700 (I) The previous message was produced while processing "boost::math::factorial<long double,boost::math::policies::policy<boost::math::policies::domain_error<1>,boost::math::policies::pole_error<1>,boost::math::policies::overflow_error<1>,boost::math::policies::evaluation_error<1>,boost::math::policies::rounding_error<1>,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies...".
"./boost/math/special_functions/factorials.hpp", line 68.3: 1540-0700 (I) The previous message was produced while processing "boost::math::double_factorial<long double,boost::math::policies::policy<boost::math::policies::domain_error<1>,boost::math::policies::pole_error<1>,boost::math::policies::overflow_error<1>,boost::math::policies::evaluation_error<1>,boost::math::policies::rounding_error<1>,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::p...".
"./boost/math/special_functions/legendre.hpp", line 142.11: 1540-0700 (I) The previous message was produced while processing "boost::math::detail::legendre_p_imp<long double,boost::math::policies::policy<boost::math::policies::domain_error<1>,boost::math::policies::pole_error<1>,boost::math::policies::overflow_error<1>,boost::math::policies::evaluation_error<1>,boost::math::policies::rounding_error<1>,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::m...".
"./boost/math/special_functions/legendre.hpp", line 167.11: 1540-0700 (I) The previous message was produced while processing "boost::math::detail::legendre_p_imp<long double,boost::math::policies::policy<boost::math::policies::domain_error<1>,boost::math::policies::pole_error<1>,boost::math::policies::overflow_error<1>,boost::math::policies::evaluation_error<1>,boost::math::policies::rounding_error<1>,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::m...".
"./boost/math/special_functions/legendre.hpp", line 178.65: 1540-0700 (I) The previous message was produced while processing "boost::math::legendre_p<double,boost::math::policies::policy<boost::math::policies::domain_error<1>,boost::math::policies::pole_error<1>,boost::math::policies::overflow_error<1>,boost::math::policies::evaluation_error<1>,boost::math::policies::rounding_error<1>,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::de...".
"libs/math/build/../src/tr1/c_policy.hpp", line 129.1: 1540-0700 (I) The previous message was produced while processing "c_policies::legendre_p<double>(int, int, double)".
"libs/math/build/../src/tr1/assoc_legendre.cpp", line 16.28: 1540-0700 (I) The previous message was produced while processing "assoc_legendre(unsigned int, unsigned int, double)".

    xlC_r -c -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG -qcpluscmt -O3 -qstrict -qfuncsect -qeh -qrtti -I"." -I"libs/math/src/tr1" -o "bin.v2/libs/math/build/vacpp/release/threading-multi/assoc_legendre.o" "libs/math/build/../src/tr1/assoc_legendre.cpp"

...failed vacpp.compile.c++ bin.v2/libs/math/build/vacpp/release/threading-multi/assoc_legendre.o...


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net