On Thursday 08 of December 2011, Lubos Lunak wrote:
On Wednesday 07 of December 2011, Michael Meeks wrote:
On Thu, 2011-12-01 at 17:35 +0100, Lubos Lunak wrote:
So -gdwarf-4 looks like a sensible default to me. Even if not, I'm
going to use it (quick hack: modify your LO make script to add it to
$CXXFLAGS).
So, how about the attached patch? If it's ok, I will still wait until
3.5 has been branched off, just in case. I also have no idea if this
should be enabled for the WNT_INTEL_GCC target too, but it and unxgcc
were the only two to use -ggdbX flags.
Sounds lovely to me :-) if it makes building with symbols smaller and
faster it sounds ideal.
Pushed, now that 3.5 has been branched. If there are any problems with
this, yell.
Just for the record, I've reverted this.
Reportedly even gdb 7.1 is not new enough for this, and moreover while this
in theory is supposed to make gdb faster and use less memory, in practice the
handling in gdb seems to have problems that actually make gdb slower and use
more memory.
The flag may be still useful for people who want smaller binaries and don't
use gdb for much more than backtraces, but it's apparently not a good default
for the time being.
--
Lubos Lunak
l.lunak@suse.cz
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.