After I upgraded to GCC 4.3.1 I could no longer compile kdevplatforma from KDE SVN trunk. It appears that some boost includes are causing some errors with GCC 4.3. Reproducible: Always Steps to Reproduce: 1. Try to compile kdevplatform from KDE SVN trunk or check out the testcase from this Boost bug report: http://svn.boost.org/trac/boost/ticket/1857 Actual Results: You get errors like In file included from /home/kde-devel/kde/src/KDE/kdevplatform/plugins/teamwork/lib/network/messageimpl.cpp:23: /usr/include/boost/serialization/vector.hpp:185: error: redefinition of ‘struct boost::serialization::implementation_level<std::vector<long int, std::allocator<long int> > >’ /usr/include/boost/serialization/vector.hpp:185: error: previous definition of ‘struct boost::serialization::implementation_level<std::vector<long int, std::allocator<long int> > >’ /usr/include/boost/serialization/vector.hpp:185: error: redefinition of ‘struct boost::serialization::implementation_level<std::vector<long unsigned int, std::allocator<long unsigned int> > >’ /usr/include/boost/serialization/vector.hpp:185: error: previous definition of ‘struct boost::serialization::implementation_level<std::vector<long unsigned int, std::allocator<long unsigned int> > >’ Expected Results: All should compile just fine. While looking for more information on this problem I have found the Boost bug report: http://svn.boost.org/trac/boost/ticket/1857 Here it is mentioned that the problem is fixed but there is not more information what fix was used. It would be nice if someone with more knowhow could find the correct patch and add it to the ebuild.
What boost version did you use?
It is dev-libs/boost-1.35.0-r2
As I understand this is bug in a boost with newer GCC on 64bit platforms. It is fixed in >=1.36, so a versionbump may be in order.
Does this happen with dev-libs/boost-1.35.0-r5?