head 1.6; access; symbols pkgsrc-2024Q1:1.5.0.4 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.2 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.4.0.10 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.8 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.6 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.4 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.2 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.3.0.8 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.6 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.4 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.2 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.2.0.14 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.12 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.10 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.8 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.6 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.2 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.4 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.1.0.6 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.4 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.2 pkgsrc-2019Q1-base:1.1; locks; strict; comment @# @; 1.6 date 2024.04.22.07.06.39; author adam; state dead; branches; next 1.5; commitid 2sP4J8YTmFm8N67F; 1.5 date 2023.10.06.19.15.19; author adam; state Exp; branches; next 1.4; commitid AfeawfMstncfdBHE; 1.4 date 2022.08.12.08.52.51; author pin; state Exp; branches; next 1.3; commitid jh5SsA1XqGGahzPD; 1.3 date 2021.07.12.18.47.15; author adam; state Exp; branches; next 1.2; commitid 7eASzeZNvc8ciJ0D; 1.2 date 2019.11.03.12.10.29; author kamil; state Exp; branches; next 1.1; commitid pSAz7RMpuekaVoJB; 1.1 date 2019.02.01.16.30.00; author mgorny; state Exp; branches; next ; commitid D1ojZ6HAiRdVc5aB; desc @@ 1.6 log @lld lldb: updated to 17.0.6 17.0.6 https://releases.llvm.org/17.0.1/tools/lld/docs/ReleaseNotes.html @ text @$NetBSD: patch-CMakeLists.txt,v 1.5 2023/10/06 19:15:19 adam Exp $ LLD 7.0.1 is incompatible with gtest version in pkgsrc. Remove the condition that prevents it from building its own copy when system version is installed. --- CMakeLists.txt.orig 2023-04-05 05:36:38.000000000 +0200 +++ CMakeLists.txt 2023-04-28 23:18:59.353328097 +0200 @@@@ -77,7 +77,6 @@@@ endif() set(UNITTEST_DIR ${LLVM_THIRD_PARTY_DIR}/unittest) if(EXISTS ${UNITTEST_DIR}/googletest/include/gtest/gtest.h - AND NOT EXISTS ${LLVM_LIBRARY_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}gtest${CMAKE_STATIC_LIBRARY_SUFFIX} AND EXISTS ${UNITTEST_DIR}/CMakeLists.txt) add_subdirectory(${UNITTEST_DIR} third-party/unittest) endif() @ 1.5 log @llvm: updated to 16.0.6 https://releases.llvm.org/16.0.0/docs/ReleaseNotes.html https://releases.llvm.org/16.0.0/tools/clang/docs/ReleaseNotes.html https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html https://releases.llvm.org/16.0.0/tools/lld/docs/ReleaseNotes.html https://releases.llvm.org/16.0.0/projects/libcxx/docs/ReleaseNotes.html @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.4 2022/08/12 08:52:51 pin Exp $ @ 1.4 log @devel/lld: llvm update @ text @d1 1 a1 1 $NetBSD$ d7 3 a9 3 --- CMakeLists.txt.orig 2022-06-22 16:46:24.000000000 +0000 +++ CMakeLists.txt @@@@ -115,7 +115,6 @@@@ if(LLD_BUILT_STANDALONE) d11 1 a11 1 set(UNITTEST_DIR ${LLVM_MAIN_SRC_DIR}/utils/unittest) d15 1 a15 1 add_subdirectory(${UNITTEST_DIR} utils/unittest) @ 1.3 log @lld lldb: updated to 12.0.1 12.0.1 Non-comprehensive list of changes in this release ELF Improvements --dependency-file has been added. (Similar to cc -M -MF.) (D82437) --error-handling-script has been added to allow for user-defined handlers upon missing libraries. (D87758) --exclude-libs can now localize defined version symbols and bitcode referenced libcall symbols. (D94280) --gdb-index now works with DWARF v5 and --icf={safe,all}. (D85579) (D89751) --gdb-index --emit-relocs can now be used together. (D94354) --icf={safe,all} conservatively no longer fold text sections with LSDA. Previously ICF on -fexceptions code could be unsafe. (D84610) --icf={safe,all} can now fold two sections with relocations referencing aliased symbols. (D88830) --lto-pseudo-probe-for-profiling has been added. (D95056) --no-lto-whole-program-visibility has been added. (D92060) --oformat-binary has been fixed to respect LMA. (D85086) --reproduce includes --lto-sample-profile, --just-symbols, --call-graph-ordering-file, --retain-symbols-file files. -r --gc-sections is now supported. (D84131) A -u specified symbol will no longer change the binding to STB_WEAK. (D88945) --wrap support has been improved. + If foo is not referenced, there is no longer an undefined symbol __wrap_foo. + If __real_foo is not referenced, there is no longer an undefined symbol foo. SHF_LINK_ORDER sections can now have zero sh_link values. SHF_LINK_ORDER and non-SHF_LINK_ORDER sections can now be mixed within an input section description. (D84001) LOG2CEIL is now supported in linker scripts. (D84054) DEFINED has been fixed to check whether the symbol is defined. (D83758) An input section description may now have multiple SORT_*. The matched sections are ordered by radix sort with the keys being (SORT*, --sort-section, input order). (D91127) Users can now provide a GNU style linker script to convert .ctors into .init_array. (D91187) An empty output section can now be discarded even if it is assigned to a program header. (D92301) Non-SHF_ALLOC sections now have larger file offsets than SHF_ALLOC sections. (D85867) Some symbol versioning improvements. + Defined foo@@@@v1 now resolve undefined foo@@v1 (D92259) + Undefined foo@@v1 now gets an error (D92260) The AArch64 port now has support for STO_AARCH64_VARIANT_PCS and DT_AARCH64_VARIANT_PCS. (D93045) The AArch64 port now has support for R_AARCH64_LD64_GOTPAGE_LO15. The PowerPC64 port now detects missing R_PPC64_TLSGD/R_PPC64_TLSLD and disables TLS relaxation. This allows linking with object files produced by very old IBM XL compilers. (D92959) Many PowerPC PC-relative relocations are now supported. R_PPC_ADDR24 and R_PPC64_ADDR16_HIGH are now supported. powerpcle is now supported. Tested with FreeBSD loader and freestanding. (D93917) RISC-V: the first SHT_RISCV_ATTRIBUTES section is now retained. (D86309) LTO pipeline now defaults to the new PM if the CMake variable ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER is on. (D92885) @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.2 2019/11/03 12:10:29 kamil Exp $ d7 1 a7 1 --- CMakeLists.txt.orig 2021-04-06 16:38:18.000000000 +0000 d9 1 a9 1 @@@@ -76,7 +76,6 @@@@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRE @ 1.2 log @lld: Sync local patches with merged and pending patches upstream Cherry-pick upstream patch commit 2a0fcae3d4d1fd85d6ae8378d7c6f12430c0087d [lld] [ELF] Add '-z nognustack' opt to suppress emitting PT_GNU_STAC dummy option for an AArch64 erratum. [LLD] Add NetBSD support as a new flavor of LLD (nb.lld) https://reviews.llvm.org/D69755 Clang >=clang-9.0.0nb3 is required. @ text @d1 1 a1 1 $NetBSD$ d7 1 a7 4 [LLD] Add NetBSD support as a new flavor of LLD (nb.lld) https://reviews.llvm.org/D69755 --- CMakeLists.txt.orig 2019-08-26 12:32:18.000000000 +0000 d9 1 a9 1 @@@@ -85,7 +85,6 @@@@ Please install Python or specify the PYT a16 8 @@@@ -212,6 +211,7 @@@@ endif() add_subdirectory(Common) add_subdirectory(lib) add_subdirectory(tools/lld) +add_subdirectory(tools/nb.lld) if (LLVM_INCLUDE_TESTS) add_subdirectory(test) @ 1.1 log @devel/lld: import lld-7.0.1 LLD is a linker from the LLVM project that is a drop-in replacement for system linkers and runs much faster than them. It also provides features that are useful for toolchain developers. @ text @d7 4 a10 1 --- CMakeLists.txt.orig 2017-11-17 18:14:09.000000000 +0000 d12 1 a12 1 @@@@ -86,7 +86,6 @@@@ Please install Python or specify the PYT d20 8 @