Time to stop stripping binaries?
M. Warner Losh
imp at bsdimp.com
Mon Jun 21 16:40:07 UTC 2010
In message: <1D395333-64E2-4B2D-9E90-B4958FBA6583 at gmail.com>
Fabien Thomas <thomas.fabien at 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
More information about the freebsd-arch
mailing list