Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2005 03:08:58 +0200
From:      Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
To:        ports@FreeBSD.org, nork@FreeBSD.org
Cc:        vsevolod@FreeBSD.org, yazzy@yazzy.org, ozawa@ongs.co.jp, joerg@FreeBSD.org, sem@FreeBSD.org, ronald@cs.vu.nl, jonas@schiebtsich.net, garga@FreeBSD.org, bsam@ipt.ru, mnag@FreeBSD.org, bzeeb+freebsdports@zabbadoz.net, barner@FreeBSD.org, c47g@gmx.at, kirk@strauser.com, glewis@FreeBSD.org, roam@FreeBSD.org, ehaupt@FreeBSD.org, freebsd@troback.com, shelton@granch.ru, swhetzel@gmail.com, ache@FreeBSD.org, skv@FreeBSD.org, seanc@FreeBSD.org, nork@FreeBSD.org, novel@FreeBSD.org, ports@FreeBSD.org, jura@netams.com, ale@FreeBSD.org, shetuhin@corp.mail.ru, girgen@FreeBSD.org, gerald@FreeBSD.org, simond@irrelevant.org, acardenas@bsd.org.pe, green@FreeBSD.org, weaseal@users.sourceforge.net, lev@FreeBSD.org, ahze@FreeBSD.org, nobutaka@FreeBSD.org, clement@FreeBSD.org, kwm@FreeBSD.org, tobez@FreeBSD.org, danny@ricin.com, mharo@FreeBSD.org, mezz@FreeBSD.org, kde@FreeBSD.org, 3d@FreeBSD.org, taguchi@tohoku.iij.ad.jp, alecn2002@yandex.ru, vivek@khera.org, lawrance@FreeBSD.org, hq@FreeBSD.org, shoesoft@gmx.net, neal@nelson.name, mva@sysfault.org, obrien@FreeBSD.org, anrays@gmail.com, phantom@FreeBSD.org, gnome@FreeBSD.org, riggs@rrr.de, bms@FreeBSD.org, osa@FreeBSD.org, freebsd@jdc.parodius.com
Subject:   Re: Integrated DEBUG related macros to WITH_DEBUG/WITHOUT_DEBUG
Message-ID:  <20051113030858.4c888233@it.buh.tecnik93.com>
In-Reply-To: <200511130038.jAD0cgLb043746@sakura.ninth-nine.com>
References:  <200511130038.jAD0cgLb043746@sakura.ninth-nine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 13 Nov 2005 09:38:42 +0900 (JST)
Norikatsu Shigemura <nork@FreeBSD.org> wrote:

> Hi ports maintainers!
> 
> 	I consider that DEBUG related knob should be integrated
> 	to WITH_DEBUG/WITHOUT_DEBUG.  So I want to add DEBUG to
> 	/usr/ports/KNOBS.  But following ports should be modified.
> 	How about do you think?

I was about to propose that we have a knob for debug symbols. See
bellow comments for some my ports.

>    ports/mail/dspam		(but using WITH_{VERBOSE_DEBUG|BNR_DEBUG}, too)
>    ports/mail/dspam-devel	(but using WITH_{VERBOSE_DEBUG|BNR_DEBUG}, too)

--with-debug, with-verbose-debug, --with-bnr-debug are provided by the
author and enable some some verbose logging which is much too costly to
be used in production. Also usually you don't need to enable all three.
This is different that an other switch GDBS (Gnu DebuGger Support) in
my port Makefile that does CFLAGS+=-g -DDEBUG, STRIP= #
because it helps debugging configuration problems not programming
errors.

>    ports/mail/rabl_client
>    ports/mail/rabl_server

Here DEBUG serves for symbols and unstripped binaries.


I would favor a "neutral" word (!=DEBUG) for compiling debug symbols
and not stripping  binaries. The situation is similar to e.g. INVARIANTS
and WITNESS vs. makeoptions DEBUG=-g in kernel.


-- 
IOnut - Unregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"

BOFH excuse #333:
A plumber is needed, the network drain is clogged





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051113030858.4c888233>