[bind10-dev] Bugs identified by STL debug mode (Re: Windows support)

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Mon Apr 11 17:20:07 UTC 2011


At Mon, 11 Apr 2011 08:47:14 -0500 (CDT),
"Jeremy C. Reed" <jreed at isc.org> wrote:

> > Thanks, and this reminded me that we used stlport (with SunStudio C++
> > compiler) for our Solaris buildbot, which also has a debug mode.  I
> > managed to make the code buildable with that mode, and it reported at
> > least the following bugs:
> 
> Is this something I should enable specifically for an automated build? 

Eventually, I think so.  But we should first fix all existing bugs
that would break the stlport debug build.

> Is it just enabling _STLP_DEBUG=1 in CXXFLAGS for everything (using 
> C++) on the SunStudio build? (I guess it doesn't matter if that is set 
> for non-SunStudio.)

Unfortunately it's not that simple.  We also need to tell the
SunStudio compiler to use the debug mode by a special flag.  Worse,
we'd also need to apply a workaround patch to boost due to this:
https://svn.boost.org/trac/boost/ticket/2970

Apparently this is a bug of stlport, rather than of boost, and so if
we could upgrade the version of the compiler the problem might be
automatically solved.  But even if the compiler cannot be upgraded I
believe it's still worth running with an in-house patch to boost.

---
JINMEI, Tatuya



More information about the bind10-dev mailing list