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

From: Charlie Li <vishwin_at_freebsd.org>
Date: Wed, 25 Mar 2026 20:25:31 UTC
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(-)
> 
This breaks building/updating poudriere jails:

ld: error: undefined symbol: llvm::libDriverMain(llvm::ArrayRef<char 
const*>) 
                       >>> referenced by llvm-ar.cpp 
  
                                           >>> 
llvm-ar.o:(llvm_ar_main(int, char**, llvm::ToolContext const&)) 
  
  c++: error: linker command failed with exit code 1 (use -v to see 
invocation) 
                          *** [llvm-ar] Error code 1

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