Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 2010 08:41:04 +0200
From:      Fabien Thomas <thomas.fabien@gmail.com>
To:        Bruce Evans <brde@optusnet.com.au>
Cc:        arch@FreeBSD.org
Subject:   Re: Time to stop stripping binaries?
Message-ID:  <1D395333-64E2-4B2D-9E90-B4958FBA6583@gmail.com>
In-Reply-To: <20100618201737.T41916@delplex.bde.org>
References:  <20100617.143334.584432776655157077.imp@bsdimp.com> <20100618201737.T41916@delplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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.

Fabien




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1D395333-64E2-4B2D-9E90-B4958FBA6583>