[Development] Using dwz on Qt

Thiago Macieira thiago.macieira at intel.com
Fri May 15 00:48:20 CEST 2020


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.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products





More information about the Development mailing list