[Bug 264949] lang/gcc11: Needs build time warning for /tmp consumption

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 30 Jun 2022 10:17:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264949

Lorenzo Salvadore <salvadore@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |antoine@FreeBSD.org

--- Comment #16 from Lorenzo Salvadore <salvadore@freebsd.org> ---
(In reply to Mark Millard from comment #14)

Thanks Mark, those links are exactly what I was searching.

I read in there that our package build servers took 8 hours to build gcc11.
which is 6 hours more than what was necessary for gcc10, for which
LTO_BOOTSTRAP is not available. Of course, this is only for one version
(CURRENT) and for one architecture (amd64): LTO_BOOTSTRAP is default on 6
architectures and at the moment we support 3 releases. So LTO_BOOTSTRAP by
default probably increases packages build time consumption by a few days
(distributed on all machines building packages; I don't know how many they
are). Is it really acceptable?
Also, please keep in mind that everything we are discussing for gcc11 also
concerns gcc11-devel, so all measurements should be multiplied by 2.

Moreover, we have to think about exp-runs: is it acceptable to increase
exp-runs building times by 6 hours per jail? I am unsure. I add antoine@ to CC,
so we can ask him directly. I would also like to ask some packages building
servers maintainer, but I am unsure who should I ask.

Unless LTO optimiziation is really significant (but I fear it is not), I would
disable it by default for the sake of more efficient building machines and
faster exp-runs. If there is no agreement on this, I think at least explaining
the issue in pkg-help is necessary.

-- 
You are receiving this mail because:
You are the assignee for the bug.