[PATCH v2] strip: Use dwz to compress dwarf headers

Emil Velikov emil.l.velikov at gmail.com
Wed Jun 1 09:45:42 UTC 2022


On Saturday, 28 May 2022, Morten Linderud <foxboron at archlinux.org> wrote:

> From: Morten Linderud <morten at linderud.pw>
>
> `dwz` allows us to compress the DWARF files when building debug
> packages. Potentially shaving off some of the sizes of the symbols we
> distribute.
>
> https://sourceware.org/dwz/
>
> A sample of packages built with dwz;
>
> pacman:
>   Original debug info size: 1520kB
>   Size after compression:   1252kB
>
> systemd:
>   Original debug info size: 46692kB
>   Size after compression:   41036kB
>
>
Out of curiosity: have you measured the overhead?

The one during package creation and runtime one during extraction.
Especially for larger packages - say chromium, Firefox, etc

That aside, I really like the explicit die-limit args which should ensure
that even the debug packages stay reproducible.

Thanks
Emil


More information about the pacman-dev mailing list