From owner-cvs-all Mon Jan 7 22:33:46 2002 Delivered-To: cvs-all@freebsd.org Received: from lists.unixathome.org (lists.unixathome.org [210.48.103.158]) by hub.freebsd.org (Postfix) with ESMTP id 1816D37B405; Mon, 7 Jan 2002 22:33:36 -0800 (PST) Received: from wocker (lists.unixathome.org [210.48.103.158]) by lists.unixathome.org (8.11.6/8.11.6) with ESMTP id g086X3C70746; Tue, 8 Jan 2002 19:33:04 +1300 (NZDT) (envelope-from dan@langille.org) From: "Dan Langille" Organization: novice in training To: Mikhail Teterin Date: Tue, 8 Jan 2002 01:32:31 -0500 MIME-Version: 1.0 Subject: Re: WANT_KDE_NDEBUG (Re: cvs commit: ports/audio/kdemultimedia2...) Reply-To: dan@langille.org Cc: will@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Message-ID: <3C3A4C2F.26404.4453AD07@localhost> In-reply-to: <200201080615.g086Ffl32866@aldan.algebra.com> References: <20020107232825.U73815@squall.waterspout.com> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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