pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
`-fuse-ld=<name>` is broken on NetBSD — driver looks for `nb.lld`, which does not exist. Applies to lang/clang as well.
Module Name: pkgsrc-wip
Committed By: ci4ic4 <ci4ic4%gmail.com@localhost>
Pushed By: ci4ic4
Date: Fri Aug 21 10:27:29 2026 +0100
Changeset: 49f0a98703a0d86c2f8a6c1339176629b215a2f7
Modified Files:
clang/distinfo
Removed Files:
clang/patches/patch-lib_Driver_ToolChain.cpp
Log Message:
`-fuse-ld=<name>` is broken on NetBSD — driver looks for `nb.lld`,
which does not exist. Applies to lang/clang as well.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=49f0a98703a0d86c2f8a6c1339176629b215a2f7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
clang/distinfo | 1 -
clang/patches/patch-lib_Driver_ToolChain.cpp | 16 ----------------
2 files changed, 17 deletions(-)
diffs:
diff --git a/clang/distinfo b/clang/distinfo
index e675fb832b..6860ad96ba 100644
--- a/clang/distinfo
+++ b/clang/distinfo
@@ -3,4 +3,3 @@ $NetBSD$
BLAKE2s (llvm-project-22.1.8.src.tar.xz) = 07f9fe26ade885b62c6d7349df72a723a33df8f130703c2bdbd733ba7c2e94bc
SHA512 (llvm-project-22.1.8.src.tar.xz) = 2615b20ba08534f83ab8ecc7b5ba43b5f1dfcf9cdb2534a32fcdbf0ccdd9a008b46276e45ef26ed9377f65b5e4ae89ea798f3863fd034484b5715140f3a7b35c
Size (llvm-project-22.1.8.src.tar.xz) = 167061596 bytes
-SHA1 (patch-lib_Driver_ToolChain.cpp) = 33a8e346a72893140fde42245e4b108f3a9b9e3e
diff --git a/clang/patches/patch-lib_Driver_ToolChain.cpp b/clang/patches/patch-lib_Driver_ToolChain.cpp
deleted file mode 100644
index c18216f5d1..0000000000
--- a/clang/patches/patch-lib_Driver_ToolChain.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-lib_Driver_ToolChain.cpp,v 1.2 2021/07/12 18:42:06 adam Exp $
-
-[LLD] Add NetBSD support as a new flavor of LLD (nb.lld)
-https://reviews.llvm.org/D70048
-
---- lib/Driver/ToolChain.cpp.orig 2019-07-11 19:06:38.000000000 +0000
-+++ lib/Driver/ToolChain.cpp
-@@ -506,6 +506,8 @@ std::string ToolChain::GetLinkerPath() c
- llvm::SmallString<8> LinkerName;
- if (Triple.isOSDarwin())
- LinkerName.append("ld64.");
-+ else if (Triple.isOSNetBSD())
-+ LinkerName.append("nb.");
- else
- LinkerName.append("ld.");
- LinkerName.append(UseLinker);
Home |
Main Index |
Thread Index |
Old Index