[opensuse-factory] Using DWZ to shrink -debuginfo package size
SR#477417 changes us (rpm) to use DWZ to shrink the size of debuginfo (by optimizing the DWARF for size and splitting out common parts from multiple binaries / libraries into a DWARF library). Preliminary results show a reduction in -debuginfo package size of up to 50% (it really depends on the number of binaries/libraries plus the source language). Projects not wanting this need to block dwz from inside their project config via Ignore: rpm-build:dwz thus DWZ support is not via explicit Support: but with an added Requires to rpm-build (like all of our core BuildRequires). Richard. -- Richard Biener <rguenther@suse.de> SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tuesday 2017-03-07 10:49, Richard Biener wrote:
SR#477417 changes us (rpm) to use DWZ to shrink the size of debuginfo
Very cool. Btw, what happened to https://gcc.gnu.org/wiki/DebugFission ? Are there plans to support that as well? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, 7 Mar 2017, Jan Engelhardt wrote:
The implementation is far from production ready but it has been standardized in DWARF4/5. Not sure how far tooling support is for .dwo / .dwp. Plus I think fission doesn't actually reduce the size of the info but is supposed to be leaner on the linker only. Richard. -- Richard Biener <rguenther@suse.de> SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Jan Engelhardt
-
Richard Biener