[PATCH] fdo#39643: Remove --disable-strip-solver configure option

Lubos Lunak l.lunak at suse.cz
Tue Apr 24 02:10:08 PDT 2012


On Tuesday 24 of April 2012, Stephan Bergmann wrote:
> On 04/23/2012 06:17 PM, Petr Mladek wrote:
> > I am not sure but I think that strip reduces size of binaries even when
> > you build without -g. It just removes something less important.
>
> strip removes the table of internal symbols.  The effect is that
> backtrace information (whether produced by LO's unmaintained automatic
> crash reporting or manually by a capable user) becomes hard to use (or
> even next to useless).

 I remember that used to be the case a looong time ago, but is it still valid 
today? Assuming this is about means such as the backtrace() call, that is 
AFAIK next to useless for normal builds anyway, as it just does not work with 
features like hidden visibility. I think debug info is the only usable way to 
get backtraces on Linux these days.

 Morever, if I pick e.g. libswlo.so from my devel build and strip it, the only 
difference is .debug* sections removed, so quite possibly even that table of 
internal symbols is a thing of the past.

-- 
 Lubos Lunak
 l.lunak at suse.cz


More information about the LibreOffice mailing list