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 1Eg5iz-00011A-11 for garchives@archives.gentoo.org; Sat, 26 Nov 2005 19:28:41 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAQJQQwB007773; Sat, 26 Nov 2005 19:26:26 GMT Received: from home.yosifov.net (mail.yosifov.net [193.200.14.114]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAQJMP2i032189 for ; Sat, 26 Nov 2005 19:22:40 GMT Received: from localhost (localhost [127.0.0.1]) by home.yosifov.net (Postfix) with ESMTP id B497722D1F03 for ; Sat, 26 Nov 2005 21:22:08 +0200 (EET) Subject: Re: [gentoo-dev] Split ELF Debug (defult or not?) From: Ivan Yosifov To: gentoo-dev@lists.gentoo.org In-Reply-To: <1133027430.5317.307.camel@localhost> References: <1133027430.5317.307.camel@localhost> Content-Type: text/plain Date: Sat, 26 Nov 2005 21:22:08 +0200 Message-Id: <1133032928.1161.3.camel@home.yosifov.net> 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 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 985d6015-585b-4aa2-9af8-de654edadcca X-Archives-Hash: e187fffcdc42028e3cce7a5127b94c17 On Sat, 2005-11-26 at 12:50 -0500, 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= is defined. > > Having a split debug pretty much obsoletes the need to add nostrip to > your features in order to get debug info. > > Users wishing to not have debug info can simply add > INSTALL_MASK="/usr/lib/debug ${INSTALL_MASK}" to make.conf or the > environment unless we make it FEATURE based. > > I'm in favor of it enabled per default but I'd like to know what you > think and why. (advantages of on/off by default etc..) > > Anybody wanting to test or make use of this feature right away can grab > a copy of my prepstrip from > http://dev.gentoo.org/~solar/portage_misc/prepstrip and save it to > /usr/lib/portage/bin/prepstrip or patch portage with > http://dev.gentoo.org/~solar/patch_overlay/sys-apps/portage/portage-2.0.53_rc7-prepstrip.patch > It requires you merge pax-utils for the scanelf util. > > > -- > Ned Ludd > Gentoo Linux +1 for default IMO it should be on by default but documented in bold in the install guide for those who wish to disable it. It makes sense to able to debug a problem right away rather than having to reemerge things first, to get the debugging info. How much disk space should the debug info consume ? -- Cheers, Ivan Yosifov. -- gentoo-dev@gentoo.org mailing list