From owner-freebsd-questions@FreeBSD.ORG Wed Nov 19 05:39:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0BC9106564A for ; Wed, 19 Nov 2008 05:39:01 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.emeryville.ca.mail.comcast.net (qmta06.emeryville.ca.mail.comcast.net [76.96.30.56]) by mx1.freebsd.org (Postfix) with ESMTP id 869818FC12 for ; Wed, 19 Nov 2008 05:39:01 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by QMTA06.emeryville.ca.mail.comcast.net with comcast id gt6i1a01z0lTkoCA6tf0iJ; Wed, 19 Nov 2008 05:39:00 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA04.emeryville.ca.mail.comcast.net with comcast id gtf01a0012P6wsM8Qtf0DZ; Wed, 19 Nov 2008 05:39:00 +0000 X-Authority-Analysis: v=1.0 c=1 a=YOI-JzOgO7gA:10 a=QycZ5dHgAAAA:8 a=9_bOGJ7wDwAketFM6FwA:9 a=pMAREq4KBoK1O6PL94HRs2-H-kQA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id D9D8B33C36; Tue, 18 Nov 2008 21:38:59 -0800 (PST) Date: Tue, 18 Nov 2008 21:38:59 -0800 From: Jeremy Chadwick To: Masoom Shaikh Message-ID: <20081119053859.GA77425@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: large binary, why not strip ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2008 05:39:01 -0000 On Sun, Nov 16, 2008 at 08:42:12AM +0000, Masoom Shaikh wrote: > most of the programs installed from ports have large binary size on disk > > stripping em all reduces their size dramatically > > I cannot see the reason for not stripping them by default ? > > do I miss anything ? I haven't seen anyone point out the downside to stripping binaries and libraries: removal of debugging symbols. "The apebajs program suddenly crashes in some library, here's the now-completely-useless backtrace". The user is then forced to go back and recompile *everything* to get debugging symbols. The non-stripping situation is on a per-port basis, AFAIK. Not all ports have WITH_DEBUG. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |