Try adding CXXFLAGS = ['-DBOOST_PYTHON_NO_PY_SIGNATURES']
to your siteconf.py. That may help work around the ICE. Andreas On Mittwoch 20 Mai 2009, Hua Wong wrote: > I think Boost was well installed (no skip at all so...) > Cuda toolkit is installed > I don't know if I am doing something wrong in the configuration phase... > > $ python configure.py > --boost-inc-dir=/work/hwong/apps/include/boost-1_39/ > --boost-lib-dir=/work/hwong/apps/lib/ > --boost-python-libname=boost_python-gcc42-mt --cuda-root=/usr/local/cuda/ > $ make > > ctags -R src || true > /usr/bin/python setup.py build > running build > running build_py > running build_ext > building '_driver' extension > gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 > -mtune=generic -D_GNU_SOURCE -fPIC -O3 -DNDEBUG -fPIC -Isrc/cpp > -I/work/hwong/apps/include/boost-1_39/ -I/usr/local/cuda/include > -I/work/hwong/site-packages/numpy-1.3.0-py2.4-linux-x86_64.egg/numpy/core/i >nclude -I/usr/include/python2.4 -c src/wrapper/mempool.cpp -o > build/temp.linux-x86_64-2.4/src/wrapper/mempool.o > src/cpp/mempool.hpp: In instantiation of > ‘pycuda::memory_pool<<unnamed>::device_allocator>’: > src/wrapper/mempool.cpp:75: instantiated from > ‘<unnamed>::context_dependent_memory_pool<<unnamed>::device_allocator>’ > src/cpp/mempool.hpp:284: instantiated from > ‘pycuda::pooled_allocation<<unnamed>::context_dependent_memory_pool<<unname >d>::device_allocator> > > >’ > > src/wrapper/mempool.cpp:90: instantiated from here > src/cpp/mempool.hpp:48: warning: ‘class > pycuda::memory_pool<<unnamed>::device_allocator>’ has virtual functions > but non-virtual destructor > src/wrapper/mempool.cpp: In instantiation of > ‘<unnamed>::context_dependent_memory_pool<<unnamed>::device_allocator>’: > src/cpp/mempool.hpp:284: instantiated from > ‘pycuda::pooled_allocation<<unnamed>::context_dependent_memory_pool<<unname >d>::device_allocator> > > >’ > > src/wrapper/mempool.cpp:90: instantiated from here > src/wrapper/mempool.cpp:75: warning: > ‘class<unnamed>::context_dependent_memory_pool<<unnamed>::device_allocator> >’ has virtual functions but non-virtual destructor > src/cpp/mempool.hpp: In instantiation of > ‘pycuda::memory_pool<<unnamed>::host_allocator>’: > src/cpp/mempool.hpp:284: instantiated from > ‘pycuda::pooled_allocation<pycuda::memory_pool<<unnamed>::host_allocator> > >’ src/wrapper/mempool.cpp:128: instantiated from here > src/cpp/mempool.hpp:48: warning: ‘class > pycuda::memory_pool<<unnamed>::host_allocator>’ has virtual functions > but non-virtual destructor > /work/hwong/apps/include/boost-1_39/boost/type_traits/is_polymorphic.hpp: > In instantiation of > ‘boost::detail::is_polymorphic_imp1<<unnamed>::context_dependent_memory_poo >l<<unnamed>::device_allocator> > > >::d1’: > > /work/hwong/apps/include/boost-1_39/boost/type_traits/is_polymorphic.hpp:62 >: instantiated from ‘const bool > boost::detail::is_polymorphic_imp1<<unnamed>::context_dependent_memory_pool ><<unnamed>::device_allocator> > > >::value’ > > /work/hwong/apps/include/boost-1_39/boost/type_traits/is_polymorphic.hpp:97 >: instantiated from ‘const bool > boost::detail::is_polymorphic_imp<<unnamed>::context_dependent_memory_pool< ><unnamed>::device_allocator> > > >::value’ > > /work/hwong/apps/include/boost-1_39/boost/type_traits/is_polymorphic.hpp:10 >2: instantiated from > ‘boost::is_polymorphic<<unnamed>::context_dependent_memory_pool<<unnamed>:: >device_allocator> > > >’ > > /work/hwong/apps/include/boost-1_39/boost/mpl/if.hpp:67: instantiated > from > ‘boost::mpl::if_<boost::is_polymorphic<<unnamed>::context_dependent_memory_ >pool<<unnamed>::device_allocator> > > >, > > boost::python::objects::polymorphic_id_generator<<unnamed>::context_depende >nt_memory_pool<<unnamed>::device_allocator> > > >, > > boost::python::objects::non_polymorphic_id_generator<<unnamed>::context_dep >endent_memory_pool<<unnamed>::device_allocator> > > > >’ > > /work/hwong/apps/include/boost-1_39/boost/python/object/inheritance.hpp:65: > instantiated from > ‘boost::python::objects::dynamic_id_generator<<unnamed>::context_dependent_ >memory_pool<<unnamed>::device_allocator> > > >’ > > /work/hwong/apps/include/boost-1_39/boost/python/object/inheritance.hpp:72: > instantiated from ‘void boost::python::objects::register_dynamic_id(T*) > [with T = > <unnamed>::context_dependent_memory_pool<<unnamed>::device_allocator>]’ > /work/hwong/apps/include/boost-1_39/boost/python/object/class_metadata.hpp: >97: instantiated from ‘void > boost::python::objects::register_shared_ptr_from_python_and_casts(T*, > Bases) [with T = > <unnamed>::context_dependent_memory_pool<<unnamed>::device_allocator>, > Bases = boost::python::bases<mpl_::void_, mpl_::void_, mpl_::void_, > mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, > mpl_::void_, mpl_::void_>]’ > /work/hwong/apps/include/boost-1_39/boost/python/object/class_metadata.hpp: >225: instantiated from ‘static void > boost::python::objects::class_metadata<T, X1, X2, X3>::register_aux2(T2*, > Callback) [with T2 = > <unnamed>::context_dependent_memory_pool<<unnamed>::device_allocator>, > Callback = boost::integral_constant<bool, false>, T = > <unnamed>::context_dependent_memory_pool<<unnamed>::device_allocator>, > X1 = boost::noncopyable_::noncopyable, X2 = > boost::shared_ptr<<unnamed>::context_dependent_memory_pool<<unnamed>::devic >e_allocator> > > >, X3 = boost::python::detail::not_specified]’ > > /work/hwong/apps/include/boost-1_39/boost/python/object/class_metadata.hpp: >219: instantiated from ‘static void > boost::python::objects::class_metadata<T, X1, X2, X3>::register_aux(void*) > [with T = > <unnamed>::context_dependent_memory_pool<<unnamed>::device_allocator>, > X1 = boost::noncopyable_::noncopyable, X2 = > boost::shared_ptr<<unnamed>::context_dependent_memory_pool<<unnamed>::devic >e_allocator> > > >, X3 = boost::python::detail::not_specified]’ > > /work/hwong/apps/include/boost-1_39/boost/python/object/class_metadata.hpp: >205: instantiated from ‘static void > boost::python::objects::class_metadata<T, X1, X2, X3>::register_() [with T > = > <unnamed>::context_dependent_memory_pool<<unnamed>::device_allocator>, > X1 = boost::noncopyable_::noncopyable, X2 = > boost::shared_ptr<<unnamed>::context_dependent_memory_pool<<unnamed>::devic >e_allocator> > > >, X3 = boost::python::detail::not_specified]’ > > /work/hwong/apps/include/boost-1_39/boost/python/class.hpp:496: > instantiated from ‘void boost::python::class_<T, X1, X2, > X3>::initialize(const DefVisitor&) [with DefVisitor = > boost::python::init<mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, > mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, > mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, > mpl_::void_>, W = > <unnamed>::context_dependent_memory_pool<<unnamed>::device_allocator>, > X1 = boost::noncopyable_::noncopyable, X2 = > boost::shared_ptr<<unnamed>::context_dependent_memory_pool<<unnamed>::devic >e_allocator> > > >, X3 = boost::python::detail::not_specified]’ > > /work/hwong/apps/include/boost-1_39/boost/python/class.hpp:629: > instantiated from ‘boost::python::class_<T, X1, X2, X3>::class_(const > char*, const char*) [with W = > <unnamed>::context_dependent_memory_pool<<unnamed>::device_allocator>, > X1 = boost::noncopyable_::noncopyable, X2 = > boost::shared_ptr<<unnamed>::context_dependent_memory_pool<<unnamed>::devic >e_allocator> > > >, X3 = boost::python::detail::not_specified]’ > > src/wrapper/mempool.cpp:216: instantiated from here > /work/hwong/apps/include/boost-1_39/boost/type_traits/is_polymorphic.hpp:34 >: warning: ‘struct > boost::detail::is_polymorphic_imp1<<unnamed>::context_dependent_memory_pool ><<unnamed>::device_allocator> > > >::d1’ has virtual functions but non-virtual destructor > > /work/hwong/apps/include/boost-1_39/boost/type_traits/is_polymorphic.hpp: > In instantiation of > ‘boost::detail::is_polymorphic_imp1<pycuda::memory_pool<<unnamed>::host_all >ocator> > > >::d1’: > > /work/hwong/apps/include/boost-1_39/boost/type_traits/is_polymorphic.hpp:62 >: instantiated from ‘const bool > boost::detail::is_polymorphic_imp1<pycuda::memory_pool<<unnamed>::host_allo >cator> > > >::value’ > > /work/hwong/apps/include/boost-1_39/boost/type_traits/is_polymorphic.hpp:97 >: instantiated from ‘const bool > boost::detail::is_polymorphic_imp<pycuda::memory_pool<<unnamed>::host_alloc >ator> > > >::value’ > > /work/hwong/apps/include/boost-1_39/boost/type_traits/is_polymorphic.hpp:10 >2: instantiated from > ‘boost::is_polymorphic<pycuda::memory_pool<<unnamed>::host_allocator> >’ > /work/hwong/apps/include/boost-1_39/boost/mpl/if.hpp:67: instantiated > from > ‘boost::mpl::if_<boost::is_polymorphic<pycuda::memory_pool<<unnamed>::host_ >allocator> > > >, > > boost::python::objects::polymorphic_id_generator<pycuda::memory_pool<<unnam >ed>::host_allocator> > > >, > > boost::python::objects::non_polymorphic_id_generator<pycuda::memory_pool<<u >nnamed>::host_allocator> > > > >’ > > /work/hwong/apps/include/boost-1_39/boost/python/object/inheritance.hpp:65: > instantiated from > ‘boost::python::objects::dynamic_id_generator<pycuda::memory_pool<<unnamed> >::host_allocator> > > >’ > > /work/hwong/apps/include/boost-1_39/boost/python/object/inheritance.hpp:72: > instantiated from ‘void boost::python::objects::register_dynamic_id(T*) > [with T = pycuda::memory_pool<<unnamed>::host_allocator>]’ > /work/hwong/apps/include/boost-1_39/boost/python/object/class_metadata.hpp: >97: instantiated from ‘void > boost::python::objects::register_shared_ptr_from_python_and_casts(T*, > Bases) [with T = pycuda::memory_pool<<unnamed>::host_allocator>, Bases = > boost::python::bases<mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, > mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, > mpl_::void_>]’ > /work/hwong/apps/include/boost-1_39/boost/python/object/class_metadata.hpp: >225: instantiated from ‘static void > boost::python::objects::class_metadata<T, X1, X2, X3>::register_aux2(T2*, > Callback) [with T2 = > pycuda::memory_pool<<unnamed>::host_allocator>, Callback = > boost::integral_constant<bool, false>, T = > pycuda::memory_pool<<unnamed>::host_allocator>, X1 = > boost::noncopyable_::noncopyable, X2 = > boost::shared_ptr<pycuda::memory_pool<<unnamed>::host_allocator> >, X3 = > boost::python::detail::not_specified]’ > /work/hwong/apps/include/boost-1_39/boost/python/object/class_metadata.hpp: >219: instantiated from ‘static void > boost::python::objects::class_metadata<T, X1, X2, X3>::register_aux(void*) > [with T = > pycuda::memory_pool<<unnamed>::host_allocator>, X1 = > boost::noncopyable_::noncopyable, X2 = > boost::shared_ptr<pycuda::memory_pool<<unnamed>::host_allocator> >, X3 = > boost::python::detail::not_specified]’ > /work/hwong/apps/include/boost-1_39/boost/python/object/class_metadata.hpp: >205: instantiated from ‘static void > boost::python::objects::class_metadata<T, X1, X2, X3>::register_() [with T > = > pycuda::memory_pool<<unnamed>::host_allocator>, X1 = > boost::noncopyable_::noncopyable, X2 = > boost::shared_ptr<pycuda::memory_pool<<unnamed>::host_allocator> >, X3 = > boost::python::detail::not_specified]’ > /work/hwong/apps/include/boost-1_39/boost/python/class.hpp:496: > instantiated from ‘void boost::python::class_<T, X1, X2, > X3>::initialize(const DefVisitor&) [with DefVisitor = > boost::python::init<mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, > mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, > mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, > mpl_::void_>, W = pycuda::memory_pool<<unnamed>::host_allocator>, X1 = > boost::noncopyable_::noncopyable, X2 = > boost::shared_ptr<pycuda::memory_pool<<unnamed>::host_allocator> >, X3 = > boost::python::detail::not_specified]’ > /work/hwong/apps/include/boost-1_39/boost/python/class.hpp:629: > instantiated from ‘boost::python::class_<T, X1, X2, X3>::class_(const > char*, const char*) [with W = > pycuda::memory_pool<<unnamed>::host_allocator>, X1 = > boost::noncopyable_::noncopyable, X2 = > boost::shared_ptr<pycuda::memory_pool<<unnamed>::host_allocator> >, X3 = > boost::python::detail::not_specified]’ > src/wrapper/mempool.cpp:230: instantiated from here > /work/hwong/apps/include/boost-1_39/boost/type_traits/is_polymorphic.hpp:34 >: warning: ‘struct > boost::detail::is_polymorphic_imp1<pycuda::memory_pool<<unnamed>::host_allo >cator> > > >::d1’ has virtual functions but non-virtual destructor > > /work/hwong/apps/include/boost-1_39/boost/type_traits/detail/cv_traits_impl >.hpp: In instantiation of ‘const bool > boost::detail::cv_traits_imp<pycuda::memory_pool<<unnamed>::host_allocator> >*>::is_const’: > /work/hwong/apps/include/boost-1_39/boost/type_traits/is_const.hpp:57: > instantiated from > ‘boost::is_const<pycuda::memory_pool<<unnamed>::host_allocator> >’ > /work/hwong/apps/include/boost-1_39/boost/python/detail/cv_category.hpp:31: > instantiated from > ‘boost::python::detail::cv_category<pycuda::memory_pool<<unnamed>::host_all >ocator> > > >’ > > /work/hwong/apps/include/boost-1_39/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 = > pycuda::memory_pool<<unnamed>::host_allocator>]’ > /work/hwong/apps/include/boost-1_39/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 = > pycuda::memory_pool<<unnamed>::host_allocator>]’ > /work/hwong/apps/include/boost-1_39/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 = > pycuda::memory_pool<<unnamed>::host_allocator>&]’ > /work/hwong/apps/include/boost-1_39/boost/python/converter/pytype_function. >hpp:45: instantiated from ‘boost::python::type_info > boost::python::converter::detail::unwind_type_id_(boost::type<Target>*, > mpl_::false_*) [with T = pycuda::memory_pool<<unnamed>::host_allocator>&]’ > /work/hwong/apps/include/boost-1_39/boost/python/converter/pytype_function. >hpp:68: instantiated from ‘static const PyTypeObject* > boost::python::converter::expected_pytype_for_arg<T>::get_pytype() [with > T = pycuda::memory_pool<<unnamed>::host_allocator>&]’ > /work/hwong/apps/include/boost-1_39/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<unsigned int, > pycuda::memory_pool<<unnamed>::host_allocator>&>]’ > /work/hwong/apps/include/boost-1_39/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 = unsigned int > (pycuda::memory_pool<<unnamed>::host_allocator>::*)(), Policies = > boost::python::default_call_policies, Sig = boost::mpl::vector2<unsigned > int, pycuda::memory_pool<<unnamed>::host_allocator>&>]’ > /work/hwong/apps/include/boost-1_39/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<unsigned int > (pycuda::memory_pool<<unnamed>::host_allocator>::*)(), > boost::python::default_call_policies, boost::mpl::vector2<unsigned int, > pycuda::memory_pool<<unnamed>::host_allocator>&> >]’ > src/wrapper/mempool.cpp:259: instantiated from here > /work/hwong/apps/include/boost-1_39/boost/type_traits/detail/cv_traits_impl >.hpp:37: internal compiler error: in make_rtl_for_nonlocal_decl, at > cp/decl.c:5067 Please submit a full bug report, > with preprocessed source if appropriate. > See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. > Preprocessed source stored into /tmp/ccli1mCt.out file, please attach > this to your bugreport. > error: command 'gcc' failed with exit status 1 > make: *** [all] Error 1 > > > _______________________________________________ > PyCuda mailing list > [email protected] > http://tiker.net/mailman/listinfo/pycuda_tiker.net
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyCuda mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
