From nobody Tue Jun 16 17:01:21 2026 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gftYZ4SPCz6hT1P for ; Tue, 16 Jun 2026 17:01:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gftYY4jhkz4Hwj for ; Tue, 16 Jun 2026 17:01:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781629281; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NIHPXsarqlyfGUSLwMHLJdHzf1NCDpKfHbxHxMOoW0w=; b=Pi0BI4OcmdWxR6XD8Q8IqMRrn5dDcBwch/+A3IPh0mhjOz/5akgNfovVVajvFlQ3YYjrVx +aYYooYAchOXqfjcnzZeswOirxtUEXeWq81NC7prQf5KLckFemBtruHndSSYlRpo4HR95n StFIUmLhx32EDTBSDRLnBCYZOlTK6YapXBbo6XOulfc3erBdbJUml0wyeIsS8/xDSldxJu EEfjYy/tY15CWmxyCiGtwMKgY2BCOrTY/BbnA9jJR4GBTEgWY27/usQTH9Os0mrDBF7qIs 4nroeSrvIr8wx966aU+irEZe402RQ7UvJxhp9sMiym2Pp4Z9PyLBsJ5n0r67PA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1781629281; a=rsa-sha256; cv=none; b=HGbJWYRVDQOEtv7SigVfWSaAkGtyQ5kzc5sCYQ/B6VxiZR+auJ7xYR7+KNICL3m3T7CSPB bvezZ8fwhS6AQzSZm/lHfhTl8p9hp+DNsDYnELw3tsHvXsaZIFIJTp4viGq0F3IZRDJ85h iSIG7n0CnuRVksRA7VlGMAc2x9ZxN/xosJoOrR9LGa/ZVsFTVLrztWO2J8f1/2PgyMSR/E 4wzEMnA0m85f82utygJgRwg348wf/1UEFkSpO5/XSOyW1jy5hT0/2QaaC/Wy4RWrB0/NbI rktmD0xIktjnDyLB2Fp0IHZZpkuLDETHmNTBTO435xyVfb//B9By22hf4d33Gg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781629281; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NIHPXsarqlyfGUSLwMHLJdHzf1NCDpKfHbxHxMOoW0w=; b=c/URgfK1S1aWVECm0k8C7dmynFe/ZhJxRnxWj6hd2Mrijm1rMhLGw0x4Q+W/oV0H5wsbt0 95XnxOuLbiyxCLSMs+elJQFc8W6XWMRipoggIvP5eEpZv8a2iBO1BUkwdc9FtBvuWyiWOD DP4QtT+9yt7mbUf238Y+LGmWZQg8GLigtFXU50SaoyirkbIZ3AP+iQc5HjREAzMjYtAoZR dlbIvp9UxwTB/Cov6ElTJ5aKX23nimeiB2DlkI0+ONAmdnhZmK4V2MGh5QdxqvDnj1C8uj SPdrVz3bia2jK/TnTvF5+HhdFFtv8h/GmI14MTtFjIYMJxmusfhl+PxJgBBKrg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gftYY400xzbCB for ; Tue, 16 Jun 2026 17:01:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 19e52 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 16 Jun 2026 17:01:21 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: 8d0154e64186 - stable/15 - Merge commit 93a67259cf23 from llvm git (by ShengYi Hung): List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 8d0154e641861359760af16285d2dc53793632ba Auto-Submitted: auto-generated Date: Tue, 16 Jun 2026 17:01:21 +0000 Message-Id: <6a318161.19e52.33e76bfa@gitrepo.freebsd.org> The branch stable/15 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=8d0154e641861359760af16285d2dc53793632ba commit 8d0154e641861359760af16285d2dc53793632ba Author: Dimitry Andric AuthorDate: 2026-06-13 10:03:11 +0000 Commit: Dimitry Andric 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(+) diff --git a/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.h b/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.h index 7d090ba682b3..60ce0bdbfc31 100644 --- a/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.h +++ b/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.h @@ -91,6 +91,10 @@ public: // Until dtrace (via CTF) and LLDB can deal with distributed debug info, // FreeBSD defaults to standalone/full debug info. bool GetDefaultStandaloneDebug() const override { return true; } + // On FreeBSD, `/usr/bin/ld` is `ld.lld`, but other things may be installed in + // the path named `ld` or `{triple}-ld`, which may be picked by preference if + // we default to `ld` here. + const char *getDefaultLinker() const override { return "ld.lld"; } protected: Tool *buildAssembler() const override;