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.50) id 1Eggdn-0007bu-Oh for garchives@archives.gentoo.org; Mon, 28 Nov 2005 10:53:48 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jASAr1UJ031576; Mon, 28 Nov 2005 10:53:01 GMT Received: from callisto.cs.kun.nl (callisto.cs.kun.nl [131.174.33.75]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jASAp9pa009437 for ; Mon, 28 Nov 2005 10:51:09 GMT Received: from localhost (localhost [127.0.0.1]) by callisto.cs.kun.nl (Postfix) with ESMTP id E965A2E8217 for ; Mon, 28 Nov 2005 11:51:47 +0100 (CET) From: Paul de Vrieze To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Split ELF Debug (defult or not?) Date: Mon, 28 Nov 2005 11:51:47 +0100 User-Agent: KMail/1.8.92 References: <1133027430.5317.307.camel@localhost> In-Reply-To: <1133027430.5317.307.camel@localhost> 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="nextPart9633629.ioVV3QljAe"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200511281151.47626.pauldv@gentoo.org> X-Archives-Salt: ad014118-3e71-47e1-b5b9-7e6c756d1359 X-Archives-Hash: e0b43ff5a9faebc27b130bb8aa1c142c --nextPart9633629.ioVV3QljAe Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 26 November 2005 18:50, Ned Ludd wrote: > Good afternoon, > > probably in portage-2.0.54 a patch will be added to emit split debug > info. Having a split debug allows us to retain all the advantages of > stripping executables while gaining the ability to properly debug > executables in bfd aware programs. It's been in testing with a small > hand full of devs and works quite well, but before it's pushed in we > would like to get input from our devs & users. > > Would you be willing to give up space in $ROOT/usr/lib/debug for ELF > executables by default in order to aid in better debugging by or do we > want to only emit it when a FEATURE=3D is defined. > > Having a split debug pretty much obsoletes the need to add nostrip to > your features in order to get debug info. If we decide to do this, I think we should also find a solution that=20 ensures that the executables actually get built with the debugging=20 information, and that the upstream makefiles don't strip the binaries=20 before we can stop them to. I see two things we can do to fix these problems: =2D In portage mode, add a null split binary to the path, such that makefiles that try to split, actually don't. Easier than anything else as specifying --debug often also means that you get awful CFLAGS =2D Make gcc-wrapper be smart about it, and inject a "-g" CFLAG into the command line of the actual gcc. Of course this all should be turned on/off with a feature or useflag or=20 whatever. Paul =2D-=20 Paul de Vrieze Gentoo Developer Mail: pauldv@gentoo.org Homepage: http://www.devrieze.net --nextPart9633629.ioVV3QljAe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux) iD8DBQBDiuFDbKx5DBjWFdsRAis6AKCjKfY/PKKUbph+E8Mayvrumo9IRgCgoEiu ZqifshpRspOhWO1VeaCIqJ8= =TDTe -----END PGP SIGNATURE----- --nextPart9633629.ioVV3QljAe-- -- gentoo-dev@gentoo.org mailing list