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

Michal 'vorner' Vaner michal.vaner at nic.cz
Mon Apr 11 16:20:33 UTC 2011


Hello

On Mon, Apr 11, 2011 at 04:23:58PM +0100, Stephen Morris wrote:
> On 11/04/2011 14:47, Jeremy C. Reed wrote:
> > On Fri, 8 Apr 2011, JINMEI Tatuya / ???? 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? 
> 
> I think so.  If debug mode is reporting problems that are not picked up
> with our normal build settings, then we should build twice, once with
> debug mode enabled and once with our normal settings.

I don't see why to build it twice. AFAIK the only drawback of using the debug
mode is it's a lot slower, so we might just have the one with debug.

Anyway, there's -D__GLIBCXX_DEBUG (at compile time), which has a similar effect
‒ the thing is built and linked against a version of stl stuffed with huge
amount of asserts, added data to check something, etc. I tried it once like half
a year ago and it didn't build for me, and I was told we didn't really intend to
support it. So maybe we might want to investigate that one sometime as well?

With regards

-- 
Look! Behind you!

Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20110411/97a4453d/attachment.bin>


More information about the bind10-dev mailing list