[Rpm-maint] [rpm-software-management/rpm] Compress annobin notes (#751)

nickclifton notifications at github.com
Fri Jun 14 16:29:32 UTC 2019


This is a request to add support for compressing annobin notes found in executable binaries built on Fedora and RHEL systems.

The annobin project adds a note section to binary files describing the security hardening features of how they were built.  Unfortunately these notes can get quite large, especially for projects that use lots of object files.  The objcopy program from the binutils package has an option to reduce the size of these notes by eliminating empties and merging duplicates.  If the binary does not contain any annobin notes then the objcopy will take no noticeable amount of time.  In fact even if the file does contain annobin notes the merging process is relatively fast and it is unlikely to add any significant amount of time to the overall build process.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/751

-- Commit Summary --

  * Add a step to the add_minidebug() function that compresses annobin notes (if any) in the original binary.

-- File Changes --

    M scripts/find-debuginfo.sh (2)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/751.patch
https://github.com/rpm-software-management/rpm/pull/751.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/751
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190614/3212f458/attachment.html>


More information about the Rpm-maint mailing list