build failures after stdlib update

Dimitry Andric dimitry at andric.com
Mon Mar 22 07:55:23 UTC 2010


On 2010-03-21 22:20, Garrett Cooper wrote:
>>  From gcc(1):
>>
>>        -s  Remove all symbol table and relocation information from the exe-
>>            cutable.
>>
>> This is more or less the same as running strip(1) over the produced
>> executables.  Usually one uses it for non-debug builds.
>
> That seems a bit harsh (especially because that makes certain
> libraries uses kind of moot, like *_p.a, right?).

No, since -s only applies to the linking stage, so for executables or
shared libraries.  It does not apply to object files or libraries.

It could be argued that -s really belongs in LDFLAGS... :)


More information about the freebsd-current mailing list