Date: Thu, 17 Jun 2010 13:56:44 -0700 From: Xin LI <delphij@delphij.net> To: freebsd-arch@freebsd.org Subject: Re: Time to stop stripping binaries? Message-ID: <4C1A8C0C.8010207@delphij.net> In-Reply-To: <20100617.143334.584432776655157077.imp@bsdimp.com> References: <20100617.143334.584432776655157077.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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@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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C1A8C0C.8010207>