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 1Eg4Gg-0003gT-Qq for garchives@archives.gentoo.org; Sat, 26 Nov 2005 17:55:23 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAQHs146022103; Sat, 26 Nov 2005 17:54:01 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAQHopbZ015866 for ; Sat, 26 Nov 2005 17:50:51 GMT Received: from ns2.rednecks.net ([64.192.52.5] helo=skinny.southernlinux.net) by smtp.gentoo.org with esmtp (Exim 4.43) id 1Eg4CI-0005Qr-Ul for gentoo-dev@lists.gentoo.org; Sat, 26 Nov 2005 17:50:51 +0000 Received: (qmail 2885 invoked by uid 210); 26 Nov 2005 12:43:59 -0500 Received: from 64.192.53.57 by skinny (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.82/1195. f-prot: 4.4.2/3.14.11. spamassassin: 3.0.2. perlscan: 1.25st. Clear:RC:1(64.192.53.57):. Processed in 0.060062 secs); 26 Nov 2005 17:43:59 -0000 Received: from unknown (HELO montgomery-57.epproach.net) (64.192.53.57) by 0 with SMTP; 26 Nov 2005 12:43:59 -0500 Subject: [gentoo-dev] Split ELF Debug (defult or not?) From: Ned Ludd To: gentoo-dev@lists.gentoo.org Content-Type: text/plain Organization: Gentoo Linux Date: Sat, 26 Nov 2005 12:50:30 -0500 Message-Id: <1133027430.5317.307.camel@localhost> 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: a1c96e76-0824-43dd-b939-f391543b67d4 X-Archives-Hash: 8de435dc94d8e9a8a2f78e13e39d92ab 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 -- gentoo-dev@gentoo.org mailing list