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 <> 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 =

  * 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
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

* Release engineering:
#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 --
To unsubscribe send an email to
Fedora Code of Conduct:
List Guidelines:
List Archives: