Boost Users :
Subject: [Boost-users] [interprocess] compilation errors with 1.48 on 64-bit Centos 5.5
From: Daniel Herring (dherring_at_[hidden])
Date: 2012-01-26 14:04:34
I started updating an application from Boost 1.35. It had a few compiler
errors with 1.44, and things got worse with 1.48.
While tracing down the new issues, problems were found with the
distributed examples. For example, the following commands pass with 1.44
and 1.47 but fail with 1.48 (see attached logs).
$ cd libs/interprocess/example
$ ../../../bjam doc_managed_allocation_command > doc_managed_allocation_command.log
$ ../../../bjam doc_managed_raw_allocation > doc_managed_raw_allocation.log
All 1.44, 1.47, and 1.48 were built locally from the release source
tarballs using a simple `./bootstrap.sh; ./bjam`. The example sources
haven't changed during this period; so this may be a portability issue
with the interprocess library itself.
Here's some more info on the system.
$ cat /etc/redhat-release
CentOS release 5.5 (Final)
$ g++ --version
g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ rpm -qi gcc-c++
Name : gcc-c++ Relocations: (not relocatable)
Version : 4.1.2 Vendor: CentOS
Release : 48.el5 Build Date: Wed 31 Mar 2010 12:09:02 PM EDT
Install Date: Mon 20 Sep 2010 06:02:55 AM EDT Build Host: builder17.centos.org
Group : Development/Languages Source RPM: gcc-4.1.2-48.el5.src.rpm
Size : 7824005 License: GPL
Signature : DSA/SHA1, Mon 26 Apr 2010 07:41:02 PM EDT, Key ID a8a447dce8562897
URL : http://gcc.gnu.org
Summary : C++ support for GCC
This package adds C++ support to the GNU Compiler Collection.
It includes support for most of the current C++ specification,
including templates and exception handling.
The above commands do pass on release 1.48 when compiled using g++44 from
the gcc44-c++-4.4.0-6.el5 package. However, that might not be an option
for some of my users.
Please let me know if more information is needed to debug the problem, if
this is a known problem with gcc, etc.
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