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 1Eg4s7-0002M4-7I for garchives@archives.gentoo.org; Sat, 26 Nov 2005 18:34:03 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAQIWwNV000198; Sat, 26 Nov 2005 18:32:58 GMT Received: from LUXEMBOU-OFCR7X.mailgate.internet.lu (mailgate.internet.lu.0.218.195.in-addr.arpa [195.218.0.131] (may be forged)) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAQIV2Db016302 for ; Sat, 26 Nov 2005 18:31:02 GMT Received: from silis.lu ([195.218.0.91]) by LUXEMBOU-OFCR7X.mailgate.internet.lu (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with SMTP id lu for ; Sat, 26 Nov 2005 19:20:42 +0100 Received: from 83.222.36.70 by 195.218.0.91 INC_SMTP_SERVER 2.20; Sat, 26 Nov 2005 19:31:01 +0100 From: Bruno To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Split ELF Debug (defult or not?) Date: Sat, 26 Nov 2005 19:30:59 +0100 User-Agent: KMail/1.8.92 References: <1133027430.5317.307.camel@localhost> In-Reply-To: <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 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511261930.59418.bonbons67@internet.lu> X-Archives-Salt: 2931449a-b418-4224-9f3c-205ed07e360e X-Archives-Hash: 50795bd0971349cf790fe460806daca7 On Saturday 26 November 2005 18:50, Ned Ludd wrote: > Good afternoon, > > 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. For me either way is good as long as it's well documented in the install handbook. A notice for all those upgrading would be fine as well.. > 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. FEATURE based is probably the best way of doing it... What's the advantage of splitting out the debug info to some extra location instead of leaving it in the original binary (maybe smaller foot-print in memory while the debugging info is not used), and what tools are compatible with this external debug info? > 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..) > Having the debug info preserved by default makes it possible for the user to get debug information which may be used for bug-reporting on program crashes, but will probably just fill the disk of basic users who do have no interest in reporting bugs or trying to get more information about the cause of bugs. Bruno -- gentoo-dev@gentoo.org mailing list