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L7IHrx5w5S2Gh3.z.3Q1gaj7phdq ldRAOPkbUyF6JerkP1EjIQihi_SOJxPKGxFhaGF6d6h3dALm8Xl8JJbhxS8W6LmiUmbjbzzo93a0 7sHL7sPy67jUeeKVKCBkGm49FHAuSCVB9W4ilk86CEFRp1DlhzrNNeib21k78CLGLz39iB2uUAMK 2iDz2OmdBE2EgV._EH0mFI8z9iOlvkFaVTaSEoy7DU9s_TOciR46xsRT8OLLey2cA4uberR8uq60 aLqT2yHLI3WMrcKAl_Mh0.Waqmubem0Og5pQa.B8jvVZNW5Qytbe_nFQ7F7ujsq0KJ2e1lG4YW6e 5G9da6l.vAiPbdkrdWsTB1taF0DQ- X-Sonic-MF: X-Sonic-ID: 07f86be0-6f9c-4540-a9c5-f516b21db5ef Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Tue, 23 Dec 2025 22:28:16 +0000 Received: by hermes--production-gq1-54bf57fc64-fqp47 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 71d5bdbcaff9a4b5badd8a6dacc69f6f; Tue, 23 Dec 2025 22:28:13 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Re: git: 8d5a11cd0137 - main - src.conf: Add WITH_LLVM_LINK_STATIC_LIBRARIES build knob Message-Id: <5AA66E35-EA0C-48D4-A0C1-F84FAA18D5FC@yahoo.com> Date: Tue, 23 Dec 2025 14:28:02 -0800 To: Dimitry Andric , dev-commits-src-main , portmgr@freebsd.org X-Mailer: Apple Mail (2.3826.700.81) References: <5AA66E35-EA0C-48D4-A0C1-F84FAA18D5FC.ref@yahoo.com> X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; RCPT_COUNT_THREE(0.00)[3]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[dev-commits-src-main@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.31:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.31:from] X-Rspamd-Queue-Id: 4dbV5g5d7Qz3LpZ Dimitry Andric wrote on Date: Tue, 23 Dec 2025 21:08:31 UTC : > On 23 Dec 2025, at 22:04, Dimitry Andric wrote: > >=20 > > The branch main has been updated by dim: > >=20 > > URL: = https://cgit.FreeBSD.org/src/commit/?id=3D8d5a11cd0137d3ad70f6b06e063ea91a= 776d510a > >=20 > > commit 8d5a11cd0137d3ad70f6b06e063ea91a776d510a > > Author: Dimitry Andric > > AuthorDate: 2025-06-18 10:06:25 +0000 > > Commit: Dimitry Andric > > CommitDate: 2025-12-23 21:01:40 +0000 > >=20 > > src.conf: Add WITH_LLVM_LINK_STATIC_LIBRARIES build knob > >=20 > > In commit 2e47f35be5dc libllvm, libclang and liblldb were converted = into > > private shared libraries. This allowed clang, lld, lldb, and other = llvm > > tools to be linked against these shared libraries, which makes them > > smaller and avoids duplication. > >=20 > > However, this also comes at the cost of some performance, since the > > dynamic libraries are quite large, and contain lots of long symbols > > (mangled C++ identifiers). > >=20 > > Add a WITH_LLVM_LINK_STATIC_LIBRARIES build knob that can be used to = go > > back to the previous behavior: libllvm, libclang and liblldb are = built > > as internal static libraries, i.e. only available during buildworld, = and > > fully linked into the various executables such as clang, lld, etc. > >=20 > > PR: 287447 > > Reviewed by: emaste > > MFC after: 1 week > > Differential Revision: https://reviews.freebsd.org/D50956 >=20 > NOTE: toggling this option requires a full clean build, at least until > https://reviews.freebsd.org/D52011 lands. A significant question question here (after the MFC activity: for more than main) that is especially significant for the ampere* port-package builder machines (slower and few of them vs. the number of types of builds) but also for other of the more time-taking builder machines: Will the poudriere port-package build jails be built based on using WITH_LLVM_LINK_STATIC_LIBRARIES ? (The boot kernel and boot world are not the issue.) The performance difference between 14.3-RELEASE and 14.3-STABLE jails is large on aarch64 in my testing. (No such comparison is available for ampere* builds: no 14.3-STABLE build history logs exist to compare against.) 14.3-RELEASE predates the shared library change. 14.3-STABLE currently is using the shared libraries (before being shrunk some). 00:09:18 14.3-RELEASE -> 00:12:19 14.3-STABLE, ratio about 1.32, for = cmake-core-3.31.9 on the Windows Dev Kit 2023 (using all 8 cores) (Those, of course, ares not matching contexts to how official builds are done. But the above avoided any jemalloc 5.3.0 involvement in causing the time ratio observed. Comparison and contrasts with 15.0-RELEASE do not avoid such. I could build other examples.) The best match that I have for ampere* numbers that is using 150arm64 builds and 143arm64 builds: 38:25:51 14.3-RELEASE -> 53:33:46 15.0-RELEASE, ratio about 1.39, for = qt6-webengine-6.9.3 on the ampere*'s 15:24:24 14.3-RELEASE -> 21:26:14 15.0-RELEASE, ratio about 1.39, for = llvm21-21.1.2 on the ampere*'s 15.0-RELEASE has the toolchain programs using the shared libraries. These sorts of figures can be explored from the official logs that exist --but 15.0 has more differences than just use of the shared libraries by the toolchain programs. I'd consider time ratios of 1.3+ significant. =3D=3D=3D Mark Millard marklmi at yahoo.com