pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
compiler-rt-netbsd: Restore libfuzzer/NetBSD
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Tue Aug 22 02:17:08 2017 +0200
Changeset: 7769866f45ab45bace02f1b82cb574a5945ffeca
Modified Files:
compiler-rt-netbsd/PLIST
compiler-rt-netbsd/distinfo
compiler-rt-netbsd/patches/patch-cmake_config-ix.cmake
Log Message:
compiler-rt-netbsd: Restore libfuzzer/NetBSD
Part 4
Restore lsan, profile and tsan options.
Sponsored by <The NetBSD Foundation>
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7769866f45ab45bace02f1b82cb574a5945ffeca
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
compiler-rt-netbsd/PLIST | 2 ++
compiler-rt-netbsd/distinfo | 2 +-
.../patches/patch-cmake_config-ix.cmake | 26 ++++++++++++++++++++++
3 files changed, 29 insertions(+), 1 deletion(-)
diffs:
diff --git a/compiler-rt-netbsd/PLIST b/compiler-rt-netbsd/PLIST
index f012b17985..caef302326 100644
--- a/compiler-rt-netbsd/PLIST
+++ b/compiler-rt-netbsd/PLIST
@@ -29,6 +29,8 @@ lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.dd-x86_64.a
lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.dyndd-x86_64.so
lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.fuzzer-x86_64.a
lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.fuzzer_no_main-x86_64.a
+lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.lsan-i386.a
+lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.lsan-x86_64.a
lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.profile-i386.a
lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.profile-x86_64.a
lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.safestack-i386.a
diff --git a/compiler-rt-netbsd/distinfo b/compiler-rt-netbsd/distinfo
index 003ee6c58f..453eed7333 100644
--- a/compiler-rt-netbsd/distinfo
+++ b/compiler-rt-netbsd/distinfo
@@ -12,7 +12,7 @@ Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
-SHA1 (patch-cmake_config-ix.cmake) = 4247d7ae298a7ea4b8035212af7584048191d4a3
+SHA1 (patch-cmake_config-ix.cmake) = 2255939ffe6948fbc1f0dfa518559efee16e721a
SHA1 (patch-lib_asan_asan__mapping.h) = 73f5f33e946868b4780864e633916376b11b16f1
SHA1 (patch-lib_fuzzer_FuzzerDefs.h) = 03a2e3839c36f696d4faea173005f11685e9e05e
SHA1 (patch-lib_fuzzer_FuzzerExtFunctionsWeak.cpp) = c142b22c7aedb1f1a350423c391bc4c1147f5354
diff --git a/compiler-rt-netbsd/patches/patch-cmake_config-ix.cmake b/compiler-rt-netbsd/patches/patch-cmake_config-ix.cmake
index 6bd0b5953c..a5c89bd798 100644
--- a/compiler-rt-netbsd/patches/patch-cmake_config-ix.cmake
+++ b/compiler-rt-netbsd/patches/patch-cmake_config-ix.cmake
@@ -2,6 +2,32 @@ $NetBSD$
--- cmake/config-ix.cmake.orig 2017-08-21 23:23:37.000000000 +0000
+++ cmake/config-ix.cmake
+@@ -511,7 +511,7 @@ else()
+ endif()
+
+ if (COMPILER_RT_HAS_SANITIZER_COMMON AND LSAN_SUPPORTED_ARCH AND
+- OS_NAME MATCHES "Darwin|Linux|FreeBSD")
++ OS_NAME MATCHES "Darwin|Linux|FreeBSD|NetBSD")
+ set(COMPILER_RT_HAS_LSAN TRUE)
+ else()
+ set(COMPILER_RT_HAS_LSAN FALSE)
+@@ -525,14 +525,14 @@ else()
+ endif()
+
+ if (PROFILE_SUPPORTED_ARCH AND NOT LLVM_USE_SANITIZER AND
+- OS_NAME MATCHES "Darwin|Linux|FreeBSD|Windows|Android")
++ OS_NAME MATCHES "Darwin|Linux|FreeBSD|Windows|Android|NetBSD")
+ set(COMPILER_RT_HAS_PROFILE TRUE)
+ else()
+ set(COMPILER_RT_HAS_PROFILE FALSE)
+ endif()
+
+ if (COMPILER_RT_HAS_SANITIZER_COMMON AND TSAN_SUPPORTED_ARCH AND
+- OS_NAME MATCHES "Darwin|Linux|FreeBSD|Android")
++ OS_NAME MATCHES "Darwin|Linux|FreeBSD|Android|NetBSD")
+ set(COMPILER_RT_HAS_TSAN TRUE)
+ else()
+ set(COMPILER_RT_HAS_TSAN FALSE)
@@ -581,7 +581,7 @@ else()
endif()
Home |
Main Index |
Thread Index |
Old Index