Boost logo

Boost Users :

Subject: [Boost-users] boost 1.36 on fedora 7
From: Sameer Agarwal (sagarwal_at_[hidden])
Date: 2008-10-10 14:16:50


Hello Everyone,

I am trying to compile boost 1.36.0 with gcc 4.1.2 on Fedora 7 and
while compiling extension.cpp in boost.python, it triggers an internal
compiler error

---------

gcc.compile.c++ bin/gcc-4.1.2/debug/extending.o
../../../../boost/type_traits/detail/cv_traits_impl.hpp: In
instantiation of ‘const bool
boost::detail::cv_traits_imp<<unnamed>::hello*>::is_const’:
../../../../boost/type_traits/is_const.hpp:53: instantiated from
‘boost::is_const<<unnamed>::hello>’
../../../../boost/python/detail/cv_category.hpp:31: instantiated
from ‘boost::python::detail::cv_category<<unnamed>::hello>’
../../../../boost/python/detail/unwind_type.hpp:58: instantiated
from ‘typename Generator::result_type
boost::python::detail::unwind_ptr_type(U*, Generator*) [with Generator
= boost::python::converter::detail::unwind_type_id_helper, U =
<unnamed>::hello]’
../../../../boost/python/detail/unwind_type.hpp:127: instantiated
from ‘static typename Generator::result_type
boost::python::detail::unwind_helper2<2>::execute(U& (*)(),
Generator*) [with Generator =
boost::python::converter::detail::unwind_type_id_helper, U =
<unnamed>::hello]’
../../../../boost/python/detail/unwind_type.hpp:165: instantiated
from ‘typename Generator::result_type
boost::python::detail::unwind_type(boost::type<U>*, Generator*) [with
Generator = boost::python::converter::detail::unwind_type_id_helper, U
= <unnamed>::hello&]’
../../../../boost/python/converter/pytype_function.hpp:45:
instantiated from ‘boost::python::type_info
boost::python::converter::detail::unwind_type_id_(boost::type<T>*,
mpl_::false_*) [with T = <unnamed>::hello&]’
../../../../boost/python/converter/pytype_function.hpp:68:
instantiated from ‘static const PyTypeObject*
boost::python::converter::expected_pytype_for_arg<T>::get_pytype()
[with T = <unnamed>::hello&]’
../../../../boost/python/detail/signature.hpp:98: instantiated from
‘static const boost::python::detail::signature_element*
boost::python::detail::signature_arity<1u>::impl<Sig>::elements()
[with Sig = boost::mpl::vector2<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, <unnamed>::hello&>]’
../../../../boost/python/detail/caller.hpp:232: instantiated from
‘static boost::python::detail::py_func_sig_info
boost::python::detail::caller_arity<1u>::impl<F, Policies,
Sig>::signature() [with F = std::string (<unnamed>::hello::*)()const,
Policies = boost::python::default_call_policies, Sig =
boost::mpl::vector2<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, <unnamed>::hello&>]’
../../../../boost/python/object/py_function.hpp:48: instantiated
from ‘boost::python::detail::py_func_sig_info
boost::python::objects::caller_py_function_impl<Caller>::signature()
const [with Caller = boost::python::detail::caller<std::string
(<unnamed>::hello::*)()const, boost::python::default_call_policies,
boost::mpl::vector2<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, <unnamed>::hello&> >]’
extending.cpp:40: instantiated from here
../../../../boost/type_traits/detail/cv_traits_impl.hpp:37: internal
compiler error: in make_rtl_for_nonlocal_decl, at cp/decl.c:5069

-------------

Is anyone else seeing this? Also has anyone had any luck compiling
boost with the intel compiler suite (version 10.1) on linux?

Thanks,
Sameer


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