cvs commit: src/sys/conf kern.pre.mk

David Schultz das at FreeBSD.ORG
Fri Jan 21 18:08:04 PST 2005


On Sat, Jan 22, 2005, David E. O'Brien wrote:
> obrien      2005-01-22 00:58:34 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/conf             kern.pre.mk 
>   Log:
>   Embellish rev 1.61.  If we're not building a debug kernel, use -O2 as before.

With this change, problems (e.g. pointer aliasing bugs) that occur
with non-DEBUG production kernels may mysteriously go away on
DEBUG kernels, making the problems harder to diagnose.  If we are
going to keep things like this, perhaps it would be a good idea to
carefully document this feature, along with the appropriate way to
work around it and go about debugging.  Thoughts?


More information about the cvs-src mailing list