BIND 10 #3160: boost::lexical_cast failure on Solaris with SunStudio

BIND 10 Development do-not-reply at isc.org
Thu Sep 12 19:08:46 UTC 2013


#3160: boost::lexical_cast failure on Solaris with SunStudio
-------------------------------------+-------------------------------------
            Reporter:  muks          |                        Owner:
                Type:  defect        |                       Status:  new
            Priority:  medium        |                    Milestone:  Next-
           Component:  logging       |  Sprint-Proposed
            Keywords:                |                   Resolution:
           Sensitive:  0             |                 CVSS Scoring:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by muks):

 Hi Jeremy

 Replying to [comment:1 jreed]:
 > second patch results in:
 > {{{
 > libtool: compile:  /usr/bin/CC -DHAVE_CONFIG_H -I. -I../../..
 -I../../../src/lib -I../../../src/lib -I../../../src/lib/dns
 -I../../../src/lib/dns -I/udir/jreed/pkg/include -I/udir/jreed/pkg/include
 -D_XPG4_2 -D__EXTENSIONS__ -DOS_SUN -DBOOST_DISABLE_THREADS=1
 -I../../../ext/asio -I../../../ext/coroutine -DASIO_DISABLE_THREADS=1 -g
 -library=stlport4 -features=tmplife -features=tmplrefstatic -c database.cc
 -KPIC -DPIC -o .libs/database.o
 > "../../../src/lib/log/log_formatter.h", line 198: Error:
 isc::dns::AbstractRRset::AbstractRRset(const isc::dns::AbstractRRset&) is
 not accessible from
 isc::log::Formatter<isc::log::Logger>::arg<isc::dns::AbstractRRset>(const
 isc::dns::AbstractRRset&).
 > "../../../src/lib/log/log_formatter.h", line 198: Error: Formal argument
 arg of type isc::dns::AbstractRRset in call to
 boost::lexical_cast<std::string,
 isc::dns::AbstractRRset>(isc::dns::AbstractRRset) has an inaccessible copy
 constructor.
 > 2 Error(s) detected.
 > *** Error code 1
 > }}}
 > (which appears to be same problem in original report)

 This is now in a different file, so the patch worked. There is more
 (similar) fixing to do.

 Thank you for testing it. :) I'll try to get a build going on the SPARC
 box itself to fix all outstanding issues.

-- 
Ticket URL: <http://bind10.isc.org/ticket/3160#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list