Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lmwx9-00012Q-By for qemu-devel@nongnu.org; Thu, 26 Mar 2009 17:17:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lmwx4-00010u-K3 for qemu-devel@nongnu.org; Thu, 26 Mar 2009 17:17:30 -0400 Received: from [199.232.76.173] (port=59550 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lmwx4-00010p-ES for qemu-devel@nongnu.org; Thu, 26 Mar 2009 17:17:26 -0400 Received: from bsdimp.com ([199.45.160.85]:52996 helo=harmony.bsdimp.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lmwx3-0004Tr-V3 for qemu-devel@nongnu.org; Thu, 26 Mar 2009 17:17:26 -0400 Date: Thu, 26 Mar 2009 15:16:38 -0600 (MDT) Message-Id: <20090326.151638.188888765.imp@bsdimp.com> Subject: Re: [Qemu-devel] [PATCH] Remove -s flag in Makefile From: "M. Warner Losh" In-Reply-To: <20090326210909.GA19263@kos.to> References: <20090326190810.GH3795@csclub.uwaterloo.ca> <20090326.133039.-1185935861.imp@bsdimp.com> <20090326210909.GA19263@kos.to> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii 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: riku.voipio@iki.fi Cc: markmc@redhat.com, avi@redhat.com, qemu-devel@nongnu.org, lsorense@csclub.uwaterloo.ca In message: <20090326210909.GA19263@kos.to> Riku Voipio writes: : On Thu, Mar 26, 2009 at 01:30:39PM -0600, 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... : : Stnadard where? In automake world it's not. There is a : install-strip target available on automake. All the world isn't automake. I guess I've been exposed to install -s by default systems since I started using Unix on both the 4.2BSD VAX we had as well as the Sys III (later SYS V) AT&T hardware. And through the years on SunOS, Solaris, HPUX, AIX, Linux, etc. I guess this boils down to "It's how its been done since the early 1980's at least" but I do know times change. : Picking up a random non-automaked source (rsync), and behold, : no strip in install stage. To check if this puts the non-linux : people in deep misery, nope. The FreeBSD port copes fine : by adding a single strip command in postinstall: target. : : Unconditional stripping is bad, mmkay? Of course. That's why most systems have a flag called STRIP that's passed to install so that users can turn it on or off, but it defaults to on. Warner