On Wed, Oct 20, 2021 at 03:22:13PM +0200, Iñaki Ucar wrote:
> I asked this in another thread, but maybe this is related to [1]? How
> do we disable just link-time parallelism?

gcc uses its --with-build-config=bootstrap-lto --enable-link-serialization=1
when building gcc with LTO is enabled and the latter option ensures through
Makefile dependencies that for the large link commands only one is done at a
time.
And, for the new builds I've disabled the building with LTO, i.e.
%if 0%{?fedora} >= 35 || 0%{?rhel} >= 9
%ifnarch %{arm}
        --with-build-config=bootstrap-lto --enable-link-serialization=1 \
%endif
%endif
and so it should consume even less memory.
Also, even when watching the LTO build that took more than 6 days,
several times I saw it going into the %check phase with running just the
testsuite.

        Jakub
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to