Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2002 01:32:31 -0500
From:      "Dan Langille" <dan@langille.org>
To:        Mikhail Teterin <mi@aldan.algebra.com>
Cc:        will@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: WANT_KDE_NDEBUG (Re: cvs commit: ports/audio/kdemultimedia2...)
Message-ID:  <3C3A4C2F.26404.4453AD07@localhost>
In-Reply-To: <200201080615.g086Ffl32866@aldan.algebra.com>
References:  <20020107232825.U73815@squall.waterspout.com>

next in thread | previous in thread | raw e-mail | index | archive | help
But have we misunderstood this.  I don't believe debugging is turned on 
by default for all ports.  Nor could I find anything to substantiate 
this.

If this debugging information applies only to the ports within the given 
commit and are there for a define period of time, I imagine because of 
known problems for which information is required, I see no problem.  

If the above is true: is the user notified of this when they build?  If 
not, they should be IMHO.

If my conclusions are incorrect, and debug applies to all ports, please 
read on.  Otherwise, ignore the rest of this message.

On 8 Jan 2002 at 1:15, Mikhail Teterin wrote:

> On  7 Jan, Will Andrews wrote:
> > On Mon, Jan 07, 2002 at 11:21:39PM -0500, Mikhail Teterin wrote:
> >> Shouldn't this be a default for the port building too? Those building
> >> from port, should not need to know a separate (and obscure) option...
> > 
> > No. I assume people who build things from a port are possibly going to
> > debug source code.
> 
> Yours truly is  an example of the breakage of  this assumption. IMO, the
> default builds have to be optimized for speed.

You aren't alone here.  I build almost everything from ports and rarely 
anything from packages.

> > People who want debug-free binaries should use the packages.
> 
> This pushing towards packages is an alarming trend...

Agreed.  Why should we?  A side note: some ports are not available in 
packages.  Debugging code in ports should be turned off by default.  If 
debugging information is needed, it's fairly easy to turn on if you do 
want it.
-- 
Dan Langille
The FreeBSD Diary - http://freebsddiary.org/ - practical examples


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C3A4C2F.26404.4453AD07>