[Rpm-maint] [PATCH] Support eu-strip --reloc-debug-sections with find-debuginfo -r
pinto.elia at gmail.com
Thu May 26 14:39:35 UTC 2011
On Wed, May 25, 2011 at 11:36 PM, Mark Wielaard <mjw at redhat.com> wrote:
> The attached patch adds an -r argument flag to find-debuginfo. When that
> flag is given then find-debuginfo will invoke eu-strip with
> --reloc-debug-sections. This is a new option to eu-strip that strips
> out/resolves relocations between .debug_* elf sections in ET_REL files.
> This can save a lot of space for kernel module. For example rebuilding
> kernel-debuginfo-22.214.171.124-91.fc14.x86_64 showed a nice reduction in
> size when using find-debuginfo -r with a new eu-strip from elfutils was
> Before: Compressed: 238 M Expanded: 1381 M
> After : Compressed: 207 M Expanded: 908 M
I was noticed, at least on Fedora, that this option leads to a reduction of
the size of many shared lib or binary of 40% . There would be
drawbacks to enable
it in every package if it is supported by elfutils ?
Thank in advance.
> Please let me know if this patch needs to be done in some different way.
> Rpm-maint mailing list
> Rpm-maint at lists.rpm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint