[Rpm-maint] [PATCH] Support eu-strip --reloc-debug-sections with find-debuginfo -r

devzero2000 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:

> Hi,
> 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- showed a nice reduction in
> size when using find-debuginfo -r with a new eu-strip from elfutils was
> installed.
> Before: Compressed: 238 M Expanded: 1381 M
> After : Compressed: 207 M Expanded: 908 M
> Hi
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.
> Thanks,
> Mark
> _______________________________________________
> Rpm-maint mailing list
> Rpm-maint at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-maint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20110526/d2164af7/attachment.html>

More information about the Rpm-maint mailing list