[Serialization] OpenSUSE 11.0 / g++ 4.3.1 issues
Hi there,
when trying to compile Boost 1.35 on a vanilla OpenSUSE 11.0 system (which
runs g++ 4.3.1), the serialization library fails to compile. The error
messages are shown at the end of this mail.
I did not find any corresponding reports on the mailing lists. Is this a
known problem ?
The serialization library seems to properly build in the current trunk
version (as of June 26). Note, though, that I didn't test its
functionality. The iostreams library fails to build in the trunk version,
which I assume is due to the beta status.
Best Regards,
Ruediger
P.S.: BTW: Is there some more or less automated way in which I can
contribute to platform tests ? I.e., I'd just like to download a beta
version of a new release, build it in my environment and let the build
system deal with the specifics of reporting failures. OpenSUSE seems to
frequently have problems with Boost, so this might be worth it.
/************************************************************************/
Serialization-related error messages, Boost 1.35 on vanilla OpenSUSE 11.0
-------------------------------------------------------------------------
...found 3940 targets...
...updating 4 targets...
gcc.compile.c++
bin.v2/libs/serialization/build/gcc-4.3/release/threading-multi/polymorphic_iarchive.o
In file included from libs/serialization/src/polymorphic_iarchive.cpp:18:
./boost/archive/polymorphic_iarchive.hpp:88: error: ‘virtual void
boost::archive::polymorphic_iarchive_impl::load(int64_t&)’ cannot be
overloaded
./boost/archive/polymorphic_iarchive.hpp:84: error: with ‘virtual void
boost::archive::polymorphic_iarchive_impl::load(long int&)’
./boost/archive/polymorphic_iarchive.hpp:89: error: ‘virtual void
boost::archive::polymorphic_iarchive_impl::load(uint64_t&)’ cannot be
overloaded
./boost/archive/polymorphic_iarchive.hpp:85: error: with ‘virtual void
boost::archive::polymorphic_iarchive_impl::load(long unsigned int&)’
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -fPIC -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_SERIALIZATION_DYN_LINK=1 -DNDEBUG -I"." -c -o "bin.v2/libs/serialization/build/gcc-4.3/release/threading-multi/polymorphic_iarchive.o" "libs/serialization/src/polymorphic_iarchive.cpp"
...failed gcc.compile.c++
bin.v2/libs/serialization/build/gcc-4.3/release/threading-multi/polymorphic_iarchive.o...
gcc.compile.c++
bin.v2/libs/serialization/build/gcc-4.3/release/threading-multi/polymorphic_oarchive.o
In file included from libs/serialization/src/polymorphic_oarchive.cpp:18:
./boost/archive/polymorphic_oarchive.hpp:86: error: ‘virtual void
boost::archive::polymorphic_oarchive_impl::save(int64_t)’ cannot be
overloaded
./boost/archive/polymorphic_oarchive.hpp:83: error: with ‘virtual void
boost::archive::polymorphic_oarchive_impl::save(long int)’
./boost/archive/polymorphic_oarchive.hpp:87: error: ‘virtual void
boost::archive::polymorphic_oarchive_impl::save(uint64_t)’ cannot be
overloaded
./boost/archive/polymorphic_oarchive.hpp:84: error: with ‘virtual void
boost::archive::polymorphic_oarchive_impl::save(long unsigned int)’
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -fPIC -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_SERIALIZATION_DYN_LINK=1 -DNDEBUG -I"." -c -o "bin.v2/libs/serialization/build/gcc-4.3/release/threading-multi/polymorphic_oarchive.o" "libs/serialization/src/polymorphic_oarchive.cpp"
...failed gcc.compile.c++
bin.v2/libs/serialization/build/gcc-4.3/release/threading-multi/polymorphic_oarchive.o...
...skipped
If this is what I think it is, it's been fixed on the trunk and in the next release. Robert Ramey Ruediger Berlich wrote:
Hi there,
when trying to compile Boost 1.35 on a vanilla OpenSUSE 11.0 system (which runs g++ 4.3.1), the serialization library fails to compile. The error messages are shown at the end of this mail.
I did not find any corresponding reports on the mailing lists. Is this a known problem ?
The serialization library seems to properly build in the current trunk version (as of June 26). Note, though, that I didn't test its functionality. The iostreams library fails to build in the trunk version, which I assume is due to the beta status.
Best Regards, Ruediger
P.S.: BTW: Is there some more or less automated way in which I can contribute to platform tests ? I.e., I'd just like to download a beta version of a new release, build it in my environment and let the build system deal with the specifics of reporting failures. OpenSUSE seems to frequently have problems with Boost, so this might be worth it.
/************************************************************************/ Serialization-related error messages, Boost 1.35 on vanilla OpenSUSE 11.0 -------------------------------------------------------------------------
...found 3940 targets... ...updating 4 targets... gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.3/release/threading-multi/polymorphic_iarchive.o In file included from libs/serialization/src/polymorphic_iarchive.cpp:18: ./boost/archive/polymorphic_iarchive.hpp:88: error: 'virtual void boost::archive::polymorphic_iarchive_impl::load(int64_t&)' cannot be overloaded ./boost/archive/polymorphic_iarchive.hpp:84: error: with 'virtual void boost::archive::polymorphic_iarchive_impl::load(long int&)' ./boost/archive/polymorphic_iarchive.hpp:89: error: 'virtual void boost::archive::polymorphic_iarchive_impl::load(uint64_t&)' cannot be overloaded ./boost/archive/polymorphic_iarchive.hpp:85: error: with 'virtual void boost::archive::polymorphic_iarchive_impl::load(long unsigned int&)'
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -fPIC -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_SERIALIZATION_DYN_LINK=1 -DNDEBUG -I"." -c -o "bin.v2/libs/serialization/build/gcc-4.3/release/threading-multi/polymorphic_iarchive.o" "libs/serialization/src/polymorphic_iarchive.cpp"
...failed gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.3/release/threading-multi/polymorphic_iarchive.o... gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.3/release/threading-multi/polymorphic_oarchive.o In file included from libs/serialization/src/polymorphic_oarchive.cpp:18: ./boost/archive/polymorphic_oarchive.hpp:86: error: 'virtual void boost::archive::polymorphic_oarchive_impl::save(int64_t)' cannot be overloaded ./boost/archive/polymorphic_oarchive.hpp:83: error: with 'virtual void boost::archive::polymorphic_oarchive_impl::save(long int)' ./boost/archive/polymorphic_oarchive.hpp:87: error: 'virtual void boost::archive::polymorphic_oarchive_impl::save(uint64_t)' cannot be overloaded ./boost/archive/polymorphic_oarchive.hpp:84: error: with 'virtual void boost::archive::polymorphic_oarchive_impl::save(long unsigned int)'
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -fPIC -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_SERIALIZATION_DYN_LINK=1 -DNDEBUG -I"." -c -o "bin.v2/libs/serialization/build/gcc-4.3/release/threading-multi/polymorphic_oarchive.o" "libs/serialization/src/polymorphic_oarchive.cpp"
...failed gcc.compile.c++ bin.v2/libs/serialization/build/gcc-4.3/release/threading-multi/polymorphic_oarchive.o... ...skipped
libboost_serialization-gcc43-mt-1_35.so.1.35.0 for lack of polymorphic_iarchive.o... ...skipped libboost_wserialization-gcc43-mt-1_35.so.1.35.0 for lack of libboost_serialization-gcc43-mt-1_35.so.1.35.0... ...failed updating 2 targets... ...skipped 2 targets... Not all Boost libraries built properly. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Robert Ramey
-
Ruediger Berlich