[bind10-dev] About the --enable-debug configure switch
Mukund Sivaraman
muks at isc.org
Fri Dec 21 16:28:05 UTC 2012
Hi Tomek
On Fri, Dec 21, 2012 at 05:20:22PM +0100, Tomek Mrugalski wrote:
> > 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.
> Would it make sense to make --enable-debug also change -O2 into -O0?
> The code compiled with -O2 is often aggressively optimized and it's
> often difficult to track it in debugger.
I don't have a strong opinion. The --enable-debug argument changes the
code's behaviour, whereas changing -O2 to -O0 is a compiler flags
change, i.e., a compile-time thing.
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/20121221/7bb8f0e0/attachment.bin>
More information about the bind10-dev
mailing list