Time to stop stripping binaries?
Fabien Thomas
thomas.fabien at gmail.com
Mon Jun 21 07:10:29 UTC 2010
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
More information about the freebsd-arch
mailing list