Re: git: 17494c6e6b7d - main - build: Boostrap LLVM_BINUTILS for cross-tools

From: Charlie Li <vishwin_at_freebsd.org>
Date: Wed, 25 Mar 2026 21:23:07 UTC
Jessica Clarke wrote:
> On 20 Mar 2026, at 22:36, Herbert J. Skuhra <herbert@gojira.at> wrote:
>>
>> On Fri, 20 Mar 2026, at 14:39, Ed Maste wrote:
>>> The branch main has been updated by emaste:
>>>
>>> URL:
>>> https://cgit.FreeBSD.org/src/commit/?id=17494c6e6b7d5e2be34d2469566a59bbd9dceb8a
>>>
>>> commit 17494c6e6b7d5e2be34d2469566a59bbd9dceb8a
>>> Author:     Ed Maste <emaste@FreeBSD.org>
>>> AuthorDate: 2026-03-18 15:09:53 +0000
>>> Commit:     Ed Maste <emaste@FreeBSD.org>
>>> CommitDate: 2026-03-20 13:38:40 +0000
>>>
>>>     build: Boostrap LLVM_BINUTILS for cross-tools
>>>
>>>     Reported by:    vexeduxr, jrtc27
>>>     Reviewed by:    imp
>>>     Sponsored by:   The FreeBSD Foundation
>>>     Pull request:   https://github.com/freebsd/freebsd-src/pull/2084
>>>     Differential Revision: https://reviews.freebsd.org/D55923
>>> ---
>>> Makefile.inc1                                       | 19 +++++++++++++++++--
>>> share/man/man5/src.conf.5                           | 13 +++++++++++++
>>> share/mk/src.opts.mk                                |  1 +
>>> tools/build/options/WITHOUT_LLVM_BINUTILS_BOOTSTRAP | 12 ++++++++++++
>>> 4 files changed, 43 insertions(+), 2 deletions(-)
>>
>> After this change running 'etcupdate -s .' takes about 13 minutes.
>> If I revert e296211fd59b and this change it takes about 2 minutes.
> 
> Add -B unless you don’t have an obj tree for some specific reason.
> 
etcupdate should not be essentially bootstrapping a portion of LLVM at 
all, regardless of flags passed or not. This compiling causes the 
inflated runtime and resource usage.

-- 
Charlie Li
...nope, still don't have an exit line.