Time to stop stripping binaries?
Xin LI
delphij at delphij.net
Thu Jun 17 20:56:58 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 2010/06/17 13:33, M. Warner Losh wrote:
> Greetings,
>
> Now that disks are big, can we stop stripping binaries by default?
>
> I've worked up a patch that lets you set WITH_BINARY_SYMBOLS or
> WITHOUT_BINARY_SYMBOLS as you see fit. We should commit it regardless
> of the outcome of this discussion (well, defaulting to yes or no
> depending on the outcome).
>
> Why symbols: it makes core dumps easier to debug.
> Why no symbols: makes the system footprint bigger.
>
> Since there's good arguments both ways, I thought I'd make this a
> knob.
I think this is a good idea.
A related quick question: is there any performance penalty if we ship
non-stripped binaries? I think we would probably have to map the whole
image (including the symbols) into memory?
Cheers,
- --
Xin LI <delphij at delphij.net> http://www.delphij.net/
FreeBSD - The Power to Serve! Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
iQEcBAEBCAAGBQJMGowMAAoJEATO+BI/yjfBbdcH/3V+bu1wHM+d6PgouWXNI7oh
VkcZr5DHxyMe0IXLce4YTfA1CgIO+0YINYDq4VJ8zRVaqY+Ni6Wl5EhZNkV+YXWY
Fb9+X0xavl5Cu6bTibF+7ml1dWTgcquWIqC7+VhR5itnOB0sZeTVjTQRJ72Unc79
k+DAKdHqMajhPwBnMmYPcUphSzTFcYRAi2z19g9cW/TNMg2vO6ENk6sNFQY1ro0V
n4x2tLShA72ZTgSAMs3++OgX684eg0oAwFI9XKv0pols12KRoUYYynVi4qPvUWnv
3c2HmGIYYPIcGAHE9DqAv0k1RGxCB0xhg9X1VJ69UVNH7VwZ/1C15nmsrKZ69dg=
=bVeA
-----END PGP SIGNATURE-----
More information about the freebsd-arch
mailing list