BIND 10 #2147: boost::offset_ptr causes build failures
BIND 10 Development
do-not-reply at isc.org
Thu Aug 2 01:26:58 UTC 2012
#2147: boost::offset_ptr causes build failures
-------------------------------------+-------------------------------------
Reporter: | Owner: UnAssigned
jinmei | Status: new
Type: | Milestone:
defect | Sprint-20120807
Priority: | Resolution:
medium | Sensitive: 0
Component: build | Sub-Project: DNS
system | Estimated Difficulty: 4
Keywords: | Total Hours: 0
Defect Severity: N/A |
Feature Depending on Ticket: |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Comment (by jinmei):
Please review the proposed change to configure.ac in trac2147.
Regarding the second issue, on a closer look I guess the difference is
that the installed user.hpp defines BOOST_NO_CONFIG, which prevents
compiler-specific config from being included, which would otherwise
prevent this build failure. We could avoid this by not including
the user.hpp by specifying BOOST_NO_USER_CONFIG:
{{{
% ./configure <other options> CXXFLAGS=-DBOOST_NO_USER_CONFIG
}}}
This is the proposed `ChangeLog` entry:
{{{
456.? [build]* jinmei
BIND 10 now relies on Boost offset_ptr, which caused some new
portability issues. Such issues are detected at ./configure time.
If ./configure stops due to this, try the following workaround:
- If it's about the use of mutable for a reference with clang++,
upgrade Boost version to 1.44 or higher, or try a different
compiler (e.g. g++ generally seems to be free from this issue)
- If it's about the use of "variadic templates", specify
--without-werror so the warning won't be promoted to an error.
Specifying BOOST_NO_USER_CONFIG in CXXFLAGS may also work
(which would be the case if Boost is installed via pkgsrc)
(Trac #2147, git TBD)
}}}
--
Ticket URL: <http://bind10.isc.org/ticket/2147#comment:5>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list