Boost logo

Boost Users :

From: Joe Davidson (nugins99_at_[hidden])
Date: 2007-06-15 14:48:52


We are using IBM's XLC compiler (version 8.0) on a LInux/PPC system. I
have been able to compile boost 1.33.1 with XLC without any showstopping
problems. (The Boost.Wave library has some minor issues I think)
Attempting to build boost 1.34.0 with the same version of xlc results in
multiple compilation failures. I'm providing one of the build errors in
hopes that I can start getting some pointers as to where to look. I can
dig up more compilation errors if needed.

I did have to patch the vacpp.jam file to override the default location of
the xlc compiler. There should be a better way to set the compiler
location right?

Suggestions?

Thanks,

--
Joe
$ cd $HOME/boost_1_34_0
$ /configure --with-libraries=serialization --with-toolset=vacpp
$ make
./tools/jam/src/bin.unknownppc/bjam
--user-config=user-config.jam--with-serialization
...patience...
...found 1178 targets...
...updating 48 targets...
vacpp.compile.c++ bin.v2
/libs/serialization/build/vacpp/release/link-static/threading-multi/binary_wiarchive.o
"./boost/archive/impl/basic_binary_iprimitive.ipp", line 180.9: 1540-0216
(S) An expression of type
"std::basic_streambuf<wchar_t,std::char_traits<wchar_t> >" cannot be
converted to type
"boost::archive::detail::input_streambuf_access<wchar_t,std::char_traits<wchar_t>
> &".
"./boost/archive/impl/basic_binary_iprimitive.ipp", line 177.1: 1540-0700
(I) The previous message was produced while processing
"boost::archive::basic_binary_iprimitive<boost::archive::binary_wiarchive,wchar_t,std::char_traits<wchar_t>
>::~basic_binary_iprimitive()".
"./boost/archive/binary_iarchive_impl.hpp", line 70.5: 1540-0700 (I) The
previous message was produced while processing
"boost::archive::binary_iarchive_impl<boost::archive::binary_wiarchive,wchar_t,std::char_traits<wchar_t>
>::binary_iarchive_impl(std::basic_istream<wchar_t,std::char_traits<wchar_t>
> &, unsigned int)".
"./boost/archive/binary_iarchive_impl.hpp", line 28.7: 1540-0700 (I) The
previous message was produced while processing "class
boost::archive::binary_iarchive_impl<boost::archive::binary_wiarchive,wchar_t,std::char_traits<wchar_t>
>".
"./boost/archive/binary_wiarchive.hpp", line 33.7: 1540-0700 (I) The
previous message was produced while processing "class
boost::archive::binary_wiarchive".
    /usr/bin/xlC_r -c   -DBOOST_ALL_NO_LIB=1 -DNDEBUG -O3 -qstrict -qinline
-qeh -qrtti -I"."  -o
"bin.v2/libs/serialization/build/vacpp/release/link-static/threading-multi/binary_wiarchive.o"
"libs/serialization/src/binary_wiarchive.cpp"
...failed vacpp.compile.c++ bin.v2
/libs/serialization/build/vacpp/release/link-static/threading-multi/binary_wiarchive.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