In case if anybody is interested,

after mass rebuild we've dropped roughly 27709 dependencies on libraries in
RPM metadata which means that size of primary.xml has decreased by 1.3M
which would be something like 100K in gzip archive.. Which is not very
much, but it was never primary goal and still nice to see :) Although with
other changes, metadata size (in compressed format) went from 15M to 14M.

Unfortunately I don't have any way to test performance of all random
binaries we have in distribution, so I can't say how faster they started to
be.

On Tue, Jul 3, 2018 at 10:23 AM Jan Kurik <jku...@redhat.com> wrote:

> Note from Change Wrangler: This Change Proposal requires mass rebuild.
> However, two weeks ago (June 19th), we have already passed the
> deadline for Change proposals requiring mass rebuild. I will leave the
> decision whether this Change proposal is accepted or not to RelEng and
> FESCo teams.
>
> = Proposed System Wide Change: Remove Excessive Linking =
> https://fedoraproject.org/wiki/Changes/RemoveExcessiveLinking
>
>
> Owner(s):
>   * Igor Gnatenko <ignatenkobrain at fedoraproject dot org>
>   * Neal Gompa <ngompa13 at gmail dot com>
>
>
> Pass "--as-needed" flag the linker through default system-wide LDFLAGS.
>
>
> == Detailed description ==
> The flag ("--as-needed") tells the linker to link in the produced
> binary only the libraries containing symbols actually used by the
> binary itself. This binary can be either a final executale or another
> library.
> The use of the "--as-needed" flag allows the linker to avoid linking
> extra libraries in a binary. This not only improves startup times (as
> the loader does not have to load all the libraries for every step) but
> might avoid the full initialization of big frameworks.
>
>
> == Scope ==
> * Proposal owners:
> Add "-Wl,--as-needed" into RPM_LD_FLAGS (in redhat-rpm-config).
>
> * Other developers:
> Nothing should break, but immediate work-around would be to disable
> this flag (will be provided in redhat-rpm-config) and fix real issue
> later.
>
> * Release engineering:
> #7604 [https://pagure.io/releng/issue/7604] (mass rebuild is desired
> after this change).
>
> ** List of deliverables:
> N/A (not a System Wide Change)
>
> * Policies and guidelines:
> Add information how to turn it off (TODO link to FPC ticket).
>
> * Trademark approval:
> N/A (not needed for this Change)
> --
> Jan Kuřík
> JBoss EAP Program Manager
> Red Hat Czech s.r.o., Purkynova 99/71, 612 45 Brno, Czech Republic
> _______________________________________________
> devel-announce mailing list -- devel-annou...@lists.fedoraproject.org
> To unsubscribe send an email to
> devel-announce-le...@lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/devel-annou...@lists.fedoraproject.org/message/TAKTZLIWNFMVA6FAMU4QCOPF4ZV54A6G/
>
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to