Time to stop stripping binaries?

Tim Kientzle kientzle at freebsd.org
Thu Jun 17 23:19:12 UTC 2010


Max Laier wrote:
> On Thursday 17 June 2010 22:33:34 M. Warner Losh wrote:
>>
>> 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).
> 
> My vote is with symbols in current and stable, without in releases - by 
> default.  i.e. everything people build at home from an unknown repo state 
> should have symbols, everything we "ship" can be reproduced if needed.

I was going to make this suggestion myself, but Max beat me to it.   ;-)

Definitely -CURRENT should default to building with
symbols.  I've spent too much time going back to
re-build specific pieces with symbols in order
to debug issues in -CURRENT.

For releases, I think there's a good argument to
leaving symbols off (CD space is still rather dear).

For stable, I could go either way.

Tim


More information about the freebsd-arch mailing list