Re: [Boost-bugs] [Boost C++ Libraries] #2180: Errors on binary serialization of vector

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2180: Errors on binary serialization of vector
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-08-12 17:48:49


#2180: Errors on binary serialization of vector
----------------------------------------+-----------------------------------
  Reporter: k_karanikolas_at_[hidden] | Owner: troyer
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.35.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------------+-----------------------------------

Comment(by k_karanikolas_at_[hidden]):

 I investigated a little bit further which version triggers the error, and
 it appears to be 4.1.0.

 I compiled a stock gcc-4.1.0, and the error is still there.
 {{{
 Using built-in specs.
 Target: i686-pc-linux-gnu
 Configured with: ../configure --prefix=/home/kostas/local/ --enable-
 languages=c,c++
 Thread model: posix
 gcc version 4.1.0
 }}}

 Ubuntu's gcc-4.1.3 however, does not trigger this error
 {{{
 Using built-in specs.
 Target: i486-linux-gnu
 Configured with: ../src/configure -v --enable-
 languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-
 shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
 --enable-threads=posix --enable-nls --with-gxx-include-
 dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit
 --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-
 checking=release i486-linux-gnu
 Thread model: posix
 gcc version 4.1.3 20080308 (prerelease) (Ubuntu 4.1.2-21ubuntu1)
 }}}

 Unfortunately, I am using 4.1.0 not by choice, but because the community
 supported compiler/toolset for my target platform (PSP) is based on stock
 gcc-4.1.0 plus some back-end patches. I'll try to apply the patches to the
 latest of the 4.1 line and see if the problem is still there.
 At any rate I think this issue can potentially "bite" someone using 4.1.0.

 Also in the mailing list archives, (http://lists.boost.org/boost-
 users/2008/07/38112.php) I've found something that resembles the errors
 I'm getting. So it maybe possible to construct a workaround to what
 appears to be a compiler bug.

 Thanks again,

 Kostas

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2180#comment:3>
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:49:58 UTC