[bind10-dev] Use --enable-debug by default

Kean Johnston kean at isc.org
Wed Jan 22 05:17:25 UTC 2014


On 1/22/2014 6:47 AM, Mukund Sivaraman wrote:
> Developers could add --enable-debug --enable-logger-checks to their
> configure calls, but it may be better to have these enabled in the
> master branch by default. What do you think? Whenever Jeremy creates a
> release branch, we can disable them by default for use in a release
> tarball.
No matter which way you do it there are problems. You identified one such 
problem. However if we make the default be with debug enabled, then we are 
not testing the code on a regular basis the way most users will use it. If 
we have any compiler errors that only occur when optimizing, we won't see 
those until we do a release tarball. It has been my experience that that 
type of error (ones when the code is compiled with optimization enabled) 
are far more common than ones when debugging is enabled. I think the 
default on master should be as close to what the greatest number of 
external consumers will use. IE I think we should leave it the way it is 
and fix the errors you noticed when --enable-debug was used.

Kean


More information about the bind10-dev mailing list