Re: Huge build times increase after updating from 14.3 to 14.4 [15.0 and main suffer such extra time as well]

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.stable,gmane.os.freebsd.current
Message-ID <[email protected]>
On 3/13/26 06:03, Anton Saietskii wrote:
> Hi folks,
> 
> Recently, I've been upgrading from releng/14.3 to releng/14.4 and as
> usual, the first thing I did after booting into new BE was 'poudriere
> bulk' (also, in releng/14.4 jail). For my set of packages, full
> rebuild with cold ccache takes about a day, however this time it took
> _twice_ as long. . . .
> 
> Also, unjailed 'poudriere options' for my set went up from about 16 to
> 22 minutes.
> . . .

On 3/14/26 04:26, Anton Saietskii wrote:
> On Fri, Mar 13, 2026 at 3:54 PM Olivier Certner <[email protected]> wrote:
>>. . .
> Olivier, thanks a lot for your suggestion, it's indeed exactly the
> problem I suffered. I've rebuilt world with
> WITH_LLVM_LINK_STATIC_LIBRARIES= and 'poudriere options' instantly
> went back to 16-17 minutes. Meanwhile I also noted world build time
> before and after (with ccache running, but CCACHE_DISABLED=true):
>>>> World build completed on Fri Mar 13 22:39:17 EET 2026
>>>> World built in 6202 seconds, ncpu: 8, make -j6
>
>>>> World build completed on Sat Mar 14 03:06:36 EET 2026
>>>> World built in 3730 seconds, ncpu: 8, make -j6


15.0 and main port-package builder jails also are not based on
WITH_LLVM_LINK_STATIC_LIBRARIES= as stands.


So, should the (or some) official port-package build server jails for
15.0 and/or main (and, eventually, 14.4) be jails that are based on
WITH_LLVM_LINK_STATIC_LIBRARIES= ? Especially ampere2 for its
main-arm64-default builds (the most time consuming build context for
from-scratch bulk build runs as stands)? At least until the time
difference for dynamically link library use has been cut down noticeably?


Based on (normal-configuration) builds that started in 2026:
(ampere5 had an initial low-memory configuration based build of
150arm64-default starting on Jan-3 that I ignore here.)

ampere2:  237+ hrs to build 35496+ port-packages (plus 140+ failures)
(main-arm64, 32 CPUs)

ampere4/5: 79+ hrs to build 35739+ port-packages (plus 112+ failures)
(150arm64-quartererly and 150arm64-default, both amperes having 160 CPUs
each)

By contrast, 143arm64-* ampere4/5 builds:
(so: based on using a toolchain built using LLVM static library linking)
ampere4/5: 63+ hrs to build 35740+ port-packages (plus 101+ failures)
(143arm64-quartererly and 143arm64-default, both amperes having 160 CPUs
each)


-- 
===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.