[Bug 292067] [exp-run] Against llvm-21-update branch on GitHub

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 16 Jun 2026 17:01:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292067

--- Comment #204 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=8d0154e641861359760af16285d2dc53793632ba

commit 8d0154e641861359760af16285d2dc53793632ba
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2026-06-13 10:03:11 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2026-06-16 17:01:06 +0000

    Merge commit 93a67259cf23 from llvm git (by ShengYi Hung):

      [ToolChains][FreeBSD] Set default Linker to LLD for FreeBSD (#190596)

      When the linker is specified as ld, toolchain applies special handling
      by invoking (triple)-ld instead of resolving ld via standard PATH
      lookup. This causes GNU ld installed via the system package manager to
      take the precedence (since (triple)-ld appears earlier in the search
      path), effectively overriding ld.lld.

      As a result, we set the default Linker on FreeBSD to ld.lld to indicate
      we want to use lld by default.

    PR:             292067
    MFC after:      3 days

    (cherry picked from commit 2b619b7c7b5300cbaf59e4e9d75bc8472df014e9)

 contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.h | 4 ++++
 1 file changed, 4 insertions(+)

-- 
You are receiving this mail because:
You are on the CC list for the bug.