From owner-freebsd-questions@FreeBSD.ORG Mon Aug 2 13:38:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73D1A1065677 for ; Mon, 2 Aug 2010 13:38:33 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.freebsd.org (Postfix) with ESMTP id 095CA8FC22 for ; Mon, 2 Aug 2010 13:38:32 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id o72DcVF4006472 for ; Mon, 2 Aug 2010 15:38:31 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 3F4E3BAA1; Mon, 2 Aug 2010 15:38:31 +0200 (CEST) Date: Mon, 2 Aug 2010 15:38:31 +0200 From: Roland Smith To: freebsd-questions@freebsd.org Message-ID: <20100802133831.GA88816@slackbox.erewhon.net> References: <20100801072824.0a3989bf@scorpio> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline In-Reply-To: <20100801072824.0a3989bf@scorpio> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: Setting Debug flag in /etc/make.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2010 13:38:33 -0000 --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 01, 2010 at 07:28:24AM -0400, Jerry wrote: > I have been having problems with several different programs lately. > Would there be any serious drawback to simply setting: "WITH_DEBUG=3D " > in the /etc/make.conf file to force everything I build/rebuild to be > built with debug symbols?=20 No. You are assuming every program's Makefile uses WITH_DEBUG that way! The ba= se system doesn't for one. And neither do all ports. To look for yourself, use the following command; find /usr/ports/ -type f -name Makefile -exec grep -H DEBUG {} \; While a lot use WITH_DEBUG, not all ports do, and some use other options, l= ike NODEBUG or DEBUGFLAGS, or DEBUGGING. You'd have to look into the programs in question to see how to enable debugging for those. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxWylYACgkQEnfvsMMhpyVqDQCfenyskAnnXcovCRClvfnRhHCy RCMAnjO6bgzGOSEclCClHZruVUpBJ/YH =mf0R -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7--