[Libreoffice-bugs] [Bug 39643] [EasyHack] Improve build with/without symbols

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 5 10:54:50 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=39643

Petr Mladek <pmladek at suse.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |l.lunak at suse.cz

--- Comment #3 from Petr Mladek <pmladek at suse.cz> 2012-04-05 01:54:50 PDT ---
I am not author of the stripping. I only fixed it to do not strip if you use
--disable-strip-solver. We needed it for producing debuginfo packages.

IMHO, the problem is the solver. It includes one more copy of the binaries in
compare with other software projects.

The binaries are huge:

+ build with -g and non-stripped solver:

        2.8G    solver
        8.4G    workdir

+ build without -g and non-stripped solver

        690M    solver
        2.5G    workdir

+ build without -g and stripped solver

        561M    solver.strip
        2.5G    workdir

=> you safe 8GB if you build without -g
   and about 130MB if you strip binaries in solver

To be honest, I am not sure if the 130MBs are worth the --disable-strip-solver
switch. I just think that we need some optimization here.

I add Lubos into CC. He is interested into optimizing the linking time. The
problem is that the huge binaries are not in memory and linking is slow.


BTW: I am a bit mixed by the original comment and the sentence: "But
people usually do not want it". What people do not want? Build with
--enable-symbols by default? Strip solver by default? Or?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list