From owner-freebsd-arch@FreeBSD.ORG Mon Jun 21 16:40:07 2010 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33B211065675 for ; Mon, 21 Jun 2010 16:40:07 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id DB96B8FC28 for ; Mon, 21 Jun 2010 16:40:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o5LGSxwA034156; Mon, 21 Jun 2010 10:29:00 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 21 Jun 2010 10:29:06 -0600 (MDT) Message-Id: <20100621.102906.460114267490875989.imp@bsdimp.com> To: thomas.fabien@gmail.com From: "M. Warner Losh" In-Reply-To: <1D395333-64E2-4B2D-9E90-B4958FBA6583@gmail.com> References: <20100617.143334.584432776655157077.imp@bsdimp.com> <20100618201737.T41916@delplex.bde.org> <1D395333-64E2-4B2D-9E90-B4958FBA6583@gmail.com> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: arch@freebsd.org Subject: Re: Time to stop stripping binaries? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 16:40:07 -0000 In message: <1D395333-64E2-4B2D-9E90-B4958FBA6583@gmail.com> Fabien Thomas writes: : : On 18 juin 2010, at 12:24, Bruce Evans wrote: : : > On Thu, 17 Jun 2010, M. Warner Losh wrote: : > : >> Now that disks are big, can we stop stripping binaries by default? : > : > Symbols aren't very useful unless they are full debugging symbols, but : > with full debugging symbols the unstripped binaries would be _very_ large. : > : > With only non-debugging symbols, the symbols' size in most shared : > executables is small since most symbols are in libraries. However, : > all libraries may need to be compiled with full symbols irrespective : > of the default policy for stripping installed binaries, so that you : > can debug [non-installed] binaries. : : Having base symbols will help if you do PMC on the system for example. : I'm always building with DONTSTRIP=1 to have it at the moment. Also, you don't need full symbols to debug core dumps. You get less info than full symbols, true. But at least you can get a trackback, typically, of where things died. Warner