BIND 10 #3112: boost::optional failure on Debian i686

BIND 10 Development do-not-reply at isc.org
Thu Aug 22 07:22:39 UTC 2013


#3112: boost::optional failure on Debian i686
-------------------------------------+-------------------------------------
                   Reporter:  muks   |                 Owner:  UnAssigned
                       Type:         |                Status:  new
  defect                             |             Milestone:  Next-Sprint-
                   Priority:         |  Proposed
  medium                             |              Keywords:
                  Component:         |             Sensitive:  0
  libdns++                           |           Sub-Project:  DNS
               CVSS Scoring:         |  Estimated Difficulty:  0
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 `boost::optional` from Boost 1.54 fails compile on Debian i686 builder.
 See:

 http://git.bind10.isc.org/~tester/builder/BIND10/20130822021503-Debian6Linux-i686-GCC/logs/build.out

 {{{
 /lib/dns -I../../../src/lib/util -I../../../src/lib/util
 -I/home/jreed/boost_1_54_0 -DOS_LINUX  -I../../../ext/asio
 -I../../../ext/coroutine -DASIO_DISABLE_THREADS=1 -Wall -Wextra -Wnon-
 virtual-dtor -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 -o libb10_dns___la-
 master_loader.lo `test -f 'master_loader.cc' || echo './'`master_loader.cc
 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 -I/home/jreed/boost_1_54_0
 -DOS_LINUX -I../../../ext/asio -I../../../ext/coroutine
 -DASIO_DISABLE_THREADS=1 -Wall -Wextra -Wnon-virtual-dtor -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
 /home/jreed/boost_1_54_0/boost/optional/optional.hpp: In member function
 'isc::dns::RRType
 isc::dns::MasterLoader::MasterLoaderImpl::parseRRParams(bool&,
 isc::dns::MasterToken)':
 /home/jreed/boost_1_54_0/boost/optional/optional.hpp:433: error:
 dereferencing pointer 'pretmp.3987' does break strict-aliasing rules
 cc1plus: note: initialized from here
 /home/jreed/boost_1_54_0/boost/optional/optional.hpp:346: error:
 dereferencing pointer 'pretmp.3987' does break strict-aliasing rules
 cc1plus: note: initialized from here
 }}}

-- 
Ticket URL: <https://bind10.isc.org/ticket/3112>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list