[Development] Using dwz on Qt

Lisandro Damián Nicanor Pérez Meyer perezmeyer at gmail.com
Mon May 18 00:55:22 CEST 2020


On Thu, 14 May 2020 at 19:49, Thiago Macieira <thiago.macieira at intel.com> wrote:
> On Thursday, 14 May 2020 13:24:06 PDT Lisandro Damián Nicanor Pérez Meyer
> wrote:
> > > I recently discovered there is a binutils tools for size optimizing dwarf
> > > debug symbols, and it really works. When applied to Qt debug symbol
> > > binaries it makes them about 25% smaller on average (some up to 40%
> > > smaller). And that is just the simple optimization. We can save more by
> > > combining duplicates from multiple debug symbol binaries into one shared
> > > one, but that would change the files we ship.
> >
> > For what is worth Debian packages have been doing this with Qt without
> > issues (of course as a post process after building Qt and before
> > packaging them).
> No distro relies on Qt's stripping routines. They all build with -no-strip and
> then figure out themselves using their own techniques.

Indeed, I only meant to say: it works fine, it seems a good idea.
Sorry if I wasn't clear on that.

Lisandro Damián Nicanor Pérez Meyer

More information about the Development mailing list