[bind10-dev] About the --enable-debug configure switch
Michal 'vorner' Vaner
michal.vaner at nic.cz
Fri Dec 21 16:33:12 UTC 2012
Hello
On Fri, Dec 21, 2012 at 05:20:22PM +0100, Tomek Mrugalski wrote:
> On 19.12.2012 15:47, Mukund Sivaraman 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.
Please, don't. I like to tweak such things separately.
Also, then we would get to the road of filtering flags like
--fomit-frame-pointer on some architectures, etc.
Also, recent gdb and gcc is pretty potent and the -O0 is not that much important
any more.
With regards
--
2 keys should be enough for everyone
Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20121221/a9883a44/attachment.bin>
More information about the bind10-dev
mailing list