Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 2010 10:29:06 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        thomas.fabien@gmail.com
Cc:        arch@freebsd.org
Subject:   Re: Time to stop stripping binaries?
Message-ID:  <20100621.102906.460114267490875989.imp@bsdimp.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <1D395333-64E2-4B2D-9E90-B4958FBA6583@gmail.com>
            Fabien Thomas <thomas.fabien@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100621.102906.460114267490875989.imp>