[bind10-dev] About the --enable-debug configure switch
Mukund Sivaraman
muks at isc.org
Wed Dec 19 14:47:16 UTC 2012
Hi all
I was asked about the purpose of the --enable-debug configure switch
today. So here is a very short introduction to it.
--enable-debug is used to enable some check code at compile time, that
does additional book-keeping for debugging purposes, at the expense of
performance. So with --enable-debug, expect code to perform slower, but
to check various things for consistency more than usual. Without
--enable-debug, this additional check code is not run and so BIND 10
performs faster, but those extra checks are not done.
To my knowledge, currently the only part of BIND 10 that makes use of it
is the threads code that enables some additional checking if
--enable-debug is used.
Note that this has nothing to do with debuginfo for use in debuggers (-g
compiler option). -g would be enabled by default when compiling BIND 10.
Mukund
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20121219/cf8a44ae/attachment.bin>
More information about the bind10-dev
mailing list