[bind10-dev] Boost has to be upgraded on some build machines

Jeremy C. Reed jreed at isc.org
Fri Aug 16 20:38:22 UTC 2013


As a heads up, I am replying to the list:

On Wed, 14 Aug 2013, Mukund Sivaraman wrote:

> Hi Jeremy
> 
> Boost has to be upgraded on these machines:
> 
> http://git.bind10.isc.org/~tester/builder/BIND10-cppcheck/20130813143501-FreeBSD8-amd64-GCC/logs/configure.out
> http://git.bind10.isc.org/~tester/builder/BIND10/20130813181808-Solaris10-sparc-GCC/logs/configure.out
> 
> offset_ptr in these versions of boost has issues when GCC's optimization
> (inlining) is enabled. See ticket #3025.

As requested ...

On freebsd8-64-4 builder system, I upgraded from boost-libs-1.45.0_1 to 
1.52.0_2 (using ports).

On the sol-10 (sparc) builder system, I upgraded from 
boost-headers-1.46.1 to boost-headers-1.53.0nb1 (using pkgsrc plus 
commented out all the configure settings in the installed user.hpp). It 
is failing with:
http://git.bind10.isc.org/~tester/builder/BIND10/20130816202341-Solaris10-sparc-GCC/logs/files/config.log  
(see the configure:16904: checking Boost managed_mapped_file compiles)
and
http://git.bind10.isc.org/~tester/builder/BIND10/20130816193450-Solaris10-sparc-Sunstudio/logs/build.out

On the debian-stable-32-1 builder system running Debian 6.0.6, the 
available package is only libboost-dev 1.42.0.1 so I had to build using 
extracted boost_1_52_0 source instead. (I already had it there, and was 
supposed to be used per ticket 2593 but I forgot to "export" an 
environment variable and then that old issue was fixed so never 
noticed or I forgot.) But this caused new problems to research:

/home/jreed/boost_1_52_0/boost/optional/optional.hpp: In member function 
'isc::dns::RRType 
isc::dns::MasterLoader::MasterLoaderImpl::parseRRParams(bool&, 
isc::dns::MasterToken)':
/home/jreed/boost_1_52_0/boost/optional/optional.hpp:433: error: 
dereferencing pointer 'pretmp.3835' does break strict-aliasing rules
cc1plus: note: initialized from here
/home/jreed/boost_1_52_0/boost/optional/optional.hpp:346: error: 
dereferencing pointer 'pretmp.3835' does break strict-aliasing rules
cc1plus: note: initialized from here

Also tried 1.54.0 which failed with:
http://git.bind10.isc.org/~tester/builder/BIND10/20130816200230-Debian6Linux-i686-GCC/logs/build.out

On the openbsd5-64 builder system is running old OpenBSD 5.1 which 
doesn't have a newer boost version as a package. It has boost-1.42.0p7 
which I upgraded to boost-1.42.0p12. I chose to configure with 
--without-shared-memory to workaround the problem on this system for 
now.

So we have a few issues left to resolve ...

  Jeremy C. Reed
  ISC


More information about the bind10-dev mailing list