[Boost-bugs] [Boost C++ Libraries] #3277: Latest serialization svn update in trunk breaks application build

Subject: [Boost-bugs] [Boost C++ Libraries] #3277: Latest serialization svn update in trunk breaks application build
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-07-18 20:40:33


#3277: Latest serialization svn update in trunk breaks application build
----------------------------------------------------+-----------------------
 Reporter: ramon.casellas@… | Owner: ramey
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: serialization
  Version: Boost 1.39.0 | Severity: Regression
 Keywords: serialization trunk xm_iarchive build |
----------------------------------------------------+-----------------------
 Hello

 When building from a scratch an application that uses Boost Serialization,
 the application no longer links. The same application used to build and
 run fine.

 Log:
 algo_api_algorithm.cpp.o: In function
 `boost::archive::detail::common_iarchive<boost::archive::xml_iarchive>::find(boost::serialization::extended_type_info
 const&) const':
 algo_api_algorithm.cpp:(.text._ZNK5boost7archive6detail15common_iarchiveINS0_12xml_iarchiveEE4findERKNS_13serialization18extended_type_infoE[boost::archive::detail::common_iarchive<boost::archive::xml_iarchive>::find(boost::serialization::extended_type_info
 const&) const]+0x19): undefined reference to
 `boost::archive::detail::archive_serializer_map<boost::archive::xml_iarchive>::find(boost::serialization::extended_type_info
 const&)'
 collect2: ld returned 1 exit status


 Code

 boost::asio::ip::tcp::iostream s(topology_server_address,
 topology_server_port);

 boost::archive::xml_iarchive ia(s);

 ia >> BOOST_SERIALIZATION_NVP(database_->g);

 g is a boost graph

 Ubuntu karmic
 Linux 2.6.31-3-generic #19-Ubuntu SMP Tue Jul 14 16:04:41 UTC 2009 i686
 GNU/Linux

 gcc -v
 Using built-in specs.
 Target: i486-linux-gnu
 Configured with: ../src/configure -v --with-pkgversion='Ubuntu
 4.4.0-11ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
 --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-
 shared --enable-multiarch --enable-linker-build-id --with-system-zlib
 --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
 --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4
 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr
 --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486
 --with-tune=generic --enable-checking=release --build=i486-linux-gnu
 --host=i486-linux-gnu --target=i486-linux-gnu
 Thread model: posix
 gcc version 4.4.0 (Ubuntu 4.4.0-11ubuntu1)


 Thanks

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3277>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC