large binary, why not strip ?
Jeremy Chadwick
koitsu at FreeBSD.org
Tue Nov 18 21:39:01 PST 2008
On Sun, Nov 16, 2008 at 08:42:12AM +0000, Masoom Shaikh wrote:
> most of the programs installed from ports have large binary size on disk
>
> stripping em all reduces their size dramatically
>
> I cannot see the reason for not stripping them by default ?
>
> do I miss anything ?
I haven't seen anyone point out the downside to stripping binaries and
libraries: removal of debugging symbols. "The apebajs program suddenly
crashes in some library, here's the now-completely-useless backtrace".
The user is then forced to go back and recompile *everything* to get
debugging symbols.
The non-stripping situation is on a per-port basis, AFAIK. Not all
ports have WITH_DEBUG.
--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |
More information about the freebsd-questions
mailing list