From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmxLr-00023x-Ao for qemu-devel@nongnu.org; Thu, 26 Mar 2009 17:43:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmxLm-0001xa-GJ for qemu-devel@nongnu.org; Thu, 26 Mar 2009 17:43:02 -0400 Received: from [199.232.76.173] (port=52775 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmxLm-0001xC-8m for qemu-devel@nongnu.org; Thu, 26 Mar 2009 17:42:58 -0400 Received: from mx2.redhat.com ([66.187.237.31]:40942) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LmxLl-0007cB-Nb for qemu-devel@nongnu.org; Thu, 26 Mar 2009 17:42:58 -0400 Message-ID: <49CBF6D7.6090608@redhat.com> Date: Thu, 26 Mar 2009 22:42:47 +0100 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Remove -s flag in Makefile References: <49CBCE91.1030307@redhat.com> <20090326.130258.-1749707056.imp@bsdimp.com> <20090326190810.GH3795@csclub.uwaterloo.ca> <20090326.133039.-1185935861.imp@bsdimp.com> In-Reply-To: <20090326.133039.-1185935861.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: markmc@redhat.com, riku.voipio@iki.fi, avi@redhat.com, lsorense@csclub.uwaterloo.ca M. Warner Losh wrote: > In message: <20090326190810.GH3795@csclub.uwaterloo.ca> > lsorense@csclub.uwaterloo.ca (Lennart Sorensen) writes: > : On Thu, Mar 26, 2009 at 01:02:58PM -0600, M. Warner Losh wrote: > : > But it is SOP to install stripped binaries.... I'm likely swimming > : > against the tide on this one... > : > : It is also standard to use a packaging system. :) > > It is also standard to strip before the packaging system gets > involved... No. binutils and gdb can handle debuginfo being stored in separate files these days. The usual packaging procedure is to install unstripped, then split away debuginfo to separate files for a separate package, so you end up with one $software and one $software-debuginfo package. By default only $software is installed, but if needed you can install get debuginfo too without having to compile the package manually. I'd tend to keep the default behavior to install stripped. There should be an easy way out for packaging tools, they should be able to override the default without having to patch the Makefile(s). Some configure script option should do the trick. cheers, Gerd