From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1F1UnS-0006hr-GW for garchives@archives.gentoo.org; Tue, 24 Jan 2006 20:29:46 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k0OKSWlk022151; Tue, 24 Jan 2006 20:28:32 GMT Received: from psmtp01.wxs.nl (psmtp01-real.wxs.nl [195.121.247.14]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k0OKPV7m009306 for ; Tue, 24 Jan 2006 20:25:31 GMT Received: from pavlvs2.devrieze.net (ip5457f303.direct-adsl.nl [84.87.243.3]) by psmtp01.wxs.nl (8.12.10/8.12.10) with ESMTP id k0OKPUkh012556 for ; Tue, 24 Jan 2006 21:25:31 +0100 Received: from hex.local.devrieze.net (hex.local.devrieze.net [192.168.1.7]) by pavlvs2.devrieze.net (Postfix) with ESMTP id A705410046 for ; Tue, 24 Jan 2006 21:25:30 +0100 (CET) From: Paul de Vrieze To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] fix binary debug support, part elevenity billion 1/2 Date: Tue, 24 Jan 2006 21:25:22 +0100 User-Agent: KMail/1.9 References: <200601150111.54995.vapier@gentoo.org> <200601200710.02723.vapier@gentoo.org> <20060120232541.GB22180@curie-int.vc.shawcable.net> In-Reply-To: <20060120232541.GB22180@curie-int.vc.shawcable.net> X-Face: #Lb+'V@sGJ;ptgo5}V"W+5OCoo{LZv;bh,s,`WKLi/J)ed1_$0;6X<=?utf-8?q?700LVV/=3BLqPhiDP=5E=0A=09=27f=5Dfnv?=@%6M8\'HR1t=aFx;ePfp{ZQoBe+e)JOQ8T5*(_;mHY+cltLGq<;@$Y,=?utf-8?q?O=5C=24=0A=09Tm=23G6M?=,g![Q62J{na*S9d;R[^8pc%u\aiLqU@`kJtYl"^6pxdW Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1469972.KWzujptLsM"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200601242125.29866.pauldv@gentoo.org> X-Archives-Salt: 01657d63-f537-4aa3-8070-3a0d9058ea3c X-Archives-Hash: 4f95f33c203ebcd2d8aad0d50f6684ff --nextPart1469972.KWzujptLsM Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 21 January 2006 00:25, Robin H. Johnson wrote: > On Fri, Jan 20, 2006 at 07:10:02AM -0500, Mike Frysinger wrote: > > that depends, does your code actually have things like > > #ifdef DEBUG > > > > #endif > > And likewise your code should NOT have some logic like the following in > it's build system. > if(debug mode) > ignore user cflags and use our own cracked out cflags > > I've seen an upstream configure script where if you tell it you want > debug mode, the only thing it does is force CFLAGS to '-O -march=3Di386' > and not strip the binaries itself - this of course failed dismally when > you tried to enable debugging on non-x86 platforms. Actually kde (and as such most kde apps) does all kinds of awkward stuff in= =20 it's configure script too with respect to adding the "--enable-debug" flag.= =20 Although it mostly involves making the compiler extremely noisy, and forcin= g=20 in "-g" flags. Paul =2D-=20 Paul de Vrieze Gentoo Developer Mail: pauldv@gentoo.org Homepage: http://www.devrieze.net --nextPart1469972.KWzujptLsM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux) iD8DBQBD1o05bKx5DBjWFdsRApuZAKCVOFKOxe6PWtAqSiUDkaZ0wYtSGwCgvKju hQdpq0dqHKWFJaNX/jmYa6g= =YOXl -----END PGP SIGNATURE----- --nextPart1469972.KWzujptLsM-- -- gentoo-dev@gentoo.org mailing list