[bind10-dev] failed build master bef01123fb5dfaee927bc58da465109240811a18

Mukund Sivaraman muks at isc.org
Mon Dec 31 10:34:49 UTC 2012


Hi all

On Mon, Dec 31, 2012 at 04:55:01AM +0000, tester at isc.org wrote:
> http://git.bind10.isc.org/~tester/builder//BIND10/20121231043503-Debian6Linux-i686-GCC/logs/build.out

This needs some discussion. Compile fails on Debian i686 buildbot:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib
-I../../../src/lib -I../../../src/lib/dns -I../../../src/lib/dns
-I../../../src/lib/util -I../../../src/lib/util -DOS_LINUX
-I../../../ext/asio -I../../../ext/coroutine -DASIO_DISABLE_THREADS=1
-Wall -Wextra -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare
-Werror -fPIC -g -O2 -MT libb10_dns___la-master_loader.lo -MD -MP -MF
.deps/libb10_dns___la-master_loader.Tpo -c master_loader.cc  -fPIC -DPIC
-o .libs/libb10_dns___la-master_loader.o
cc1plus: warnings being treated as errors
../../../src/lib/dns/rrclass.h: In member function 'isc::dns::RRType
isc::dns::MasterLoader::MasterLoaderImpl::parseRRParams(bool&,
isc::dns::MasterToken)':
../../../src/lib/dns/rrclass.h:280: error: dereferencing pointer
'<anonymous>' does break strict-aliasing rules
master_loader.cc:225: note: initialized from here

This seems to be due to a smart g++ 4.4.x compiler. See discussion here:

https://svn.boost.org/trac/boost/ticket/3774
http://en.usenet.digipedia.org/thread/14895/27799/

Perhaps we can try upgrading boost on the Debian i686 buildbot and see
if the changes in boost::optional in the newer boost fixes it. Another
alternative is to include that <config/warning_disable.hpp>, but I'm not
too keen on that as it will disable warnings for the whole source file.

                Mukund
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20121231/8f7446a8/attachment.bin>


More information about the bind10-dev mailing list