Fri Aug 12 08:52:51 2022 UTC ()
devel/lld: llvm update


(pin)
diff -r1.6 -r1.7 pkgsrc/devel/lld/PLIST
diff -r1.16 -r1.17 pkgsrc/devel/lld/distinfo
diff -r1.3 -r1.4 pkgsrc/devel/lld/patches/patch-CMakeLists.txt
diff -r1.8 -r1.9 pkgsrc/devel/lld/patches/patch-ELF_Config.h
diff -r1.4 -r1.5 pkgsrc/devel/lld/patches/patch-ELF_Options.td

cvs diff -r1.6 -r1.7 pkgsrc/devel/lld/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/lld/PLIST 2021/11/23 20:55:42 1.6
+++ pkgsrc/devel/lld/PLIST 2022/08/12 08:52:51 1.7
@@ -1,23 +1,22 @@ @@ -1,23 +1,22 @@
1@comment $NetBSD: PLIST,v 1.6 2021/11/23 20:55:42 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.7 2022/08/12 08:52:51 pin Exp $
2bin/ld.lld 2bin/ld.lld
3bin/ld64.lld 3bin/ld64.lld
4bin/ld64.lld.darwinnew 
5bin/ld64.lld.darwinold 
6bin/lld 4bin/lld
7bin/lld-link 5bin/lld-link
8bin/wasm-ld 6bin/wasm-ld
9include/lld/Common/Args.h 7include/lld/Common/Args.h
10include/lld/Common/Arrays.h 8include/lld/Common/Arrays.h
 9include/lld/Common/CommonLinkerContext.h
11include/lld/Common/DWARF.h 10include/lld/Common/DWARF.h
12include/lld/Common/Driver.h 11include/lld/Common/Driver.h
13include/lld/Common/ErrorHandler.h 12include/lld/Common/ErrorHandler.h
14include/lld/Common/Filesystem.h 13include/lld/Common/Filesystem.h
15include/lld/Common/LLVM.h 14include/lld/Common/LLVM.h
16include/lld/Common/Memory.h 15include/lld/Common/Memory.h
17include/lld/Common/Reproduce.h 16include/lld/Common/Reproduce.h
18include/lld/Common/Strings.h 17include/lld/Common/Strings.h
19include/lld/Common/TargetOptionsCommandFlags.h 18include/lld/Common/TargetOptionsCommandFlags.h
20include/lld/Common/Timer.h 19include/lld/Common/Timer.h
21include/lld/Common/Version.h 20include/lld/Common/Version.h
22include/lld/Core/AbsoluteAtom.h 21include/lld/Core/AbsoluteAtom.h
23include/lld/Core/ArchiveLibraryFile.h 22include/lld/Core/ArchiveLibraryFile.h
@@ -29,29 +28,22 @@ include/lld/Core/Instrumentation.h @@ -29,29 +28,22 @@ include/lld/Core/Instrumentation.h
29include/lld/Core/LinkingContext.h 28include/lld/Core/LinkingContext.h
30include/lld/Core/Node.h 29include/lld/Core/Node.h
31include/lld/Core/Pass.h 30include/lld/Core/Pass.h
32include/lld/Core/PassManager.h 31include/lld/Core/PassManager.h
33include/lld/Core/Reader.h 32include/lld/Core/Reader.h
34include/lld/Core/Reference.h 33include/lld/Core/Reference.h
35include/lld/Core/Resolver.h 34include/lld/Core/Resolver.h
36include/lld/Core/SharedLibraryAtom.h 35include/lld/Core/SharedLibraryAtom.h
37include/lld/Core/SharedLibraryFile.h 36include/lld/Core/SharedLibraryFile.h
38include/lld/Core/Simple.h 37include/lld/Core/Simple.h
39include/lld/Core/SymbolTable.h 38include/lld/Core/SymbolTable.h
40include/lld/Core/UndefinedAtom.h 39include/lld/Core/UndefinedAtom.h
41include/lld/Core/Writer.h 40include/lld/Core/Writer.h
42include/lld/ReaderWriter/MachOLinkingContext.h 
43include/lld/ReaderWriter/YamlContext.h 
44lib/cmake/lld/LLDConfig.cmake 41lib/cmake/lld/LLDConfig.cmake
45lib/cmake/lld/LLDTargets-release.cmake 42lib/cmake/lld/LLDTargets-release.cmake
46lib/cmake/lld/LLDTargets.cmake 43lib/cmake/lld/LLDTargets.cmake
47lib/liblldCOFF.a 44lib/liblldCOFF.a
48lib/liblldCommon.a 45lib/liblldCommon.a
49lib/liblldCore.a 
50lib/liblldDriver.a 
51lib/liblldELF.a 46lib/liblldELF.a
52lib/liblldMachO.a 47lib/liblldMachO.a
53lib/liblldMachO2.a 
54lib/liblldMinGW.a 48lib/liblldMinGW.a
55lib/liblldReaderWriter.a 
56lib/liblldWasm.a 49lib/liblldWasm.a
57lib/liblldYAML.a 

cvs diff -r1.16 -r1.17 pkgsrc/devel/lld/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/lld/distinfo 2022/02/03 20:38:40 1.16
+++ pkgsrc/devel/lld/distinfo 2022/08/12 08:52:51 1.17
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.16 2022/02/03 20:38:40 adam Exp $ 1$NetBSD: distinfo,v 1.17 2022/08/12 08:52:51 pin Exp $
2 2
3BLAKE2s (lld-13.0.1.src.tar.xz) = 2231bc19e5b7b30db7e765b900ed2e4388b162d36140d09c0c12d76512b8d8dd 3BLAKE2s (lld-14.0.6.src.tar.xz) = 2fc265b616bbdbaeecc8385fda204dbc28b1d871d98f4b3b3cd5183c4d6eefc8
4SHA512 (lld-13.0.1.src.tar.xz) = cc0b401e741b9d3d283d9d41969354be55791f74ab80d3d3ac50bb653c4b5826d9ce11e7fdd38517c98e0abceaa21cf0407fc8e418f9db1a30f2f3587e0f0db0 4SHA512 (lld-14.0.6.src.tar.xz) = fad97b441f9642b73edd240af2c026259de0951d5ace42779e9e0fcf5e417252a1d744e2fc51e754a45016621ba0c70088177f88695af1c6ce290dd26873b094
5Size (lld-13.0.1.src.tar.xz) = 1473868 bytes 5Size (lld-14.0.6.src.tar.xz) = 1366180 bytes
6SHA1 (patch-CMakeLists.txt) = 32163a5bcd7d9456065e48ef6e6f0e2c3380a820 6SHA1 (patch-CMakeLists.txt) = 082e24d9c155f69a8256fcde486c427a7354cb69
7SHA1 (patch-ELF_Config.h) = c449bf971088da671df5da507347fe8dc8c9da82 7SHA1 (patch-ELF_Config.h) = 50861ef74c2ff9a9091afcbc8d076e379d9531e5
8SHA1 (patch-ELF_Options.td) = 22a1f293681b86a9aac87624efcfeeb20a4ba51c 8SHA1 (patch-ELF_Options.td) = c81907d6e5e099ed2c26de972c6744b7197de3d3

cvs diff -r1.3 -r1.4 pkgsrc/devel/lld/patches/patch-CMakeLists.txt (expand / switch to unified diff)

--- pkgsrc/devel/lld/patches/patch-CMakeLists.txt 2021/07/12 18:47:15 1.3
+++ pkgsrc/devel/lld/patches/patch-CMakeLists.txt 2022/08/12 08:52:51 1.4
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1$NetBSD: patch-CMakeLists.txt,v 1.3 2021/07/12 18:47:15 adam Exp $ 1$NetBSD: patch-CMakeLists.txt,v 1.4 2022/08/12 08:52:51 pin Exp $
2 2
3LLD 7.0.1 is incompatible with gtest version in pkgsrc. Remove 3LLD 7.0.1 is incompatible with gtest version in pkgsrc. Remove
4the condition that prevents it from building its own copy when system 4the condition that prevents it from building its own copy when system
5version is installed. 5version is installed.
6 6
7--- CMakeLists.txt.orig 2021-04-06 16:38:18.000000000 +0000 7--- CMakeLists.txt.orig 2022-06-22 16:46:24.000000000 +0000
8+++ CMakeLists.txt 8+++ CMakeLists.txt
9@@ -76,7 +76,6 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRE 9@@ -115,7 +115,6 @@ if(LLD_BUILT_STANDALONE)
10 endif() 10 endif()
11 set(UNITTEST_DIR ${LLVM_MAIN_SRC_DIR}/utils/unittest) 11 set(UNITTEST_DIR ${LLVM_MAIN_SRC_DIR}/utils/unittest)
12 if(EXISTS ${UNITTEST_DIR}/googletest/include/gtest/gtest.h 12 if(EXISTS ${UNITTEST_DIR}/googletest/include/gtest/gtest.h
13- AND NOT EXISTS ${LLVM_LIBRARY_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}gtest${CMAKE_STATIC_LIBRARY_SUFFIX} 13- AND NOT EXISTS ${LLVM_LIBRARY_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}gtest${CMAKE_STATIC_LIBRARY_SUFFIX}
14 AND EXISTS ${UNITTEST_DIR}/CMakeLists.txt) 14 AND EXISTS ${UNITTEST_DIR}/CMakeLists.txt)
15 add_subdirectory(${UNITTEST_DIR} utils/unittest) 15 add_subdirectory(${UNITTEST_DIR} utils/unittest)
16 endif() 16 endif()

cvs diff -r1.8 -r1.9 pkgsrc/devel/lld/patches/patch-ELF_Config.h (expand / switch to unified diff)

--- pkgsrc/devel/lld/patches/patch-ELF_Config.h 2021/07/12 18:47:15 1.8
+++ pkgsrc/devel/lld/patches/patch-ELF_Config.h 2022/08/12 08:52:51 1.9
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1$NetBSD: patch-ELF_Config.h,v 1.8 2021/07/12 18:47:15 adam Exp $ 1$NetBSD: patch-ELF_Config.h,v 1.9 2022/08/12 08:52:51 pin Exp $
2 2
3Add dummy option for an AArch64 erratum. 3Add dummy option for an AArch64 erratum.
4 4
5--- ELF/Config.h.orig 2020-10-07 10:10:48.000000000 +0000 5--- ELF/Config.h.orig 2022-06-22 16:46:24.000000000 +0000
6+++ ELF/Config.h 6+++ ELF/Config.h
7@@ -156,6 +156,7 @@ struct Configuration { 7@@ -170,6 +170,7 @@ struct Configuration {
8 bool enableNewDtags; 8 bool enableNewDtags;
9 bool executeOnly; 9 bool executeOnly;
10 bool exportDynamic; 10 bool exportDynamic;
11+ bool fixCortexA53Errata835769; 11+ bool fixCortexA53Errata835769;
12 bool fixCortexA53Errata843419; 12 bool fixCortexA53Errata843419;
13 bool fixCortexA8; 13 bool fixCortexA8;
14 bool formatBinary = false; 14 bool formatBinary = false;

cvs diff -r1.4 -r1.5 pkgsrc/devel/lld/patches/patch-ELF_Options.td (expand / switch to unified diff)

--- pkgsrc/devel/lld/patches/patch-ELF_Options.td 2019/11/03 12:10:29 1.4
+++ pkgsrc/devel/lld/patches/patch-ELF_Options.td 2022/08/12 08:52:51 1.5
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1$NetBSD: patch-ELF_Options.td,v 1.4 2019/11/03 12:10:29 kamil Exp $ 1$NetBSD: patch-ELF_Options.td,v 1.5 2022/08/12 08:52:51 pin Exp $
2 2
3Add dummy option for an AArch64 erratum. 3Add dummy option for an AArch64 erratum.
4 4
5--- ELF/Options.td.orig 2019-07-17 14:54:02.000000000 +0000 5--- ELF/Options.td.orig 2022-06-22 16:46:24.000000000 +0000
6+++ ELF/Options.td 6+++ ELF/Options.td
7@@ -168,6 +168,9 @@ defm filter: Eq<"filter", "Set DT_FILTER 7@@ -217,6 +217,9 @@ defm filter: Eq<"filter", "Set DT_FILTER
8  8
9 defm fini: Eq<"fini", "Specify a finalizer function">, MetaVarName<"<symbol>">; 9 defm fini: Eq<"fini", "Specify a finalizer function">, MetaVarName<"<symbol>">;
10  10
11+def fix_cortex_a53_835769: F<"fix-cortex-a53-835769">, 11+def fix_cortex_a53_835769: F<"fix-cortex-a53-835769">,
12+ HelpText<"Apply fixes for AArch64 Cortex-A53 erratum 835769">; 12+ HelpText<"Apply fixes for AArch64 Cortex-A53 erratum 835769">;
13+ 13+
14 def fix_cortex_a53_843419: F<"fix-cortex-a53-843419">, 14 def fix_cortex_a53_843419: F<"fix-cortex-a53-843419">,
15 HelpText<"Apply fixes for AArch64 Cortex-A53 erratum 843419">; 15 HelpText<"Apply fixes for AArch64 Cortex-A53 erratum 843419">;
16  16