pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

compiler-rt-netbsd: Drop, all patches merged



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Thu Dec 27 22:48:22 2018 +0100
Changeset:	6b7eb6af717e046fde851fa1d023e2bc370a4fa1

Removed Files:
	compiler-rt-netbsd/DESCR
	compiler-rt-netbsd/Makefile
	compiler-rt-netbsd/PLIST
	compiler-rt-netbsd/buildlink3.mk
	compiler-rt-netbsd/distinfo
	compiler-rt-netbsd/patches/patch-lib_msan_msan__linux.cc

Log Message:
compiler-rt-netbsd: Drop, all patches merged

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6b7eb6af717e046fde851fa1d023e2bc370a4fa1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 compiler-rt-netbsd/DESCR                           | 29 -------
 compiler-rt-netbsd/Makefile                        | 39 ----------
 compiler-rt-netbsd/PLIST                           | 75 ------------------
 compiler-rt-netbsd/buildlink3.mk                   | 14 ----
 compiler-rt-netbsd/distinfo                        |  7 --
 .../patches/patch-lib_msan_msan__linux.cc          | 89 ----------------------
 6 files changed, 253 deletions(-)

diffs:
diff --git a/compiler-rt-netbsd/DESCR b/compiler-rt-netbsd/DESCR
deleted file mode 100644
index ec4b69e9ef..0000000000
--- a/compiler-rt-netbsd/DESCR
+++ /dev/null
@@ -1,29 +0,0 @@
-The compiler-rt project consists of:
-
- - builtins - a simple library that provides an implementation of the low-level
-   target-specific hooks required by code generation and other runtime
-   components. For example, when compiling for a 32-bit target, converting a
-   double to a 64-bit unsigned integer is compiling into a runtime call to the
-   "__fixunsdfdi" function. The builtins library provides optimized
-   implementations of this and other low-level routines, either in
-   target-independent C form, or as a heavily-optimized assembly.
-
-   builtins provides full support for the libgcc interfaces on supported
-   targets and high performance hand tuned implementations of commonly used
-   functions like __floatundidf in assembly that are dramatically faster than
-   the libgcc implementations. It should be very easy to bring builtins to
-   support a new target by adding the new routines needed by that target.
-
- - sanitizer runtimes - runtime libraries that are required to run the code
-   with sanitizer instrumentation. This includes runtimes for:
-   *     AddressSanitizer
-   *     ThreadSanitizer
-   *     UndefinedBehaviorSanitizer
-   *     MemorySanitizer
-   *     LeakSanitizer
-   *     DataFlowSanitizer
-
- - profile - library which is used to collect coverage information.
-
- - BlocksRuntime - a target-independent implementation of Apple "Blocks"
-   runtime interfaces.
diff --git a/compiler-rt-netbsd/Makefile b/compiler-rt-netbsd/Makefile
deleted file mode 100644
index 3339eedba4..0000000000
--- a/compiler-rt-netbsd/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# $NetBSD: Makefile.common,v 1.7 2015/07/20 05:49:53 adam Exp $
-
-PKGNAME=	compiler-rt-8.0.0
-CATEGORIES=	lang devel
-
-SVN_REPOSITORIES=		compiler-rt
-SVN_REPO.compiler-rt=		http://llvm.org/svn/llvm-project/compiler-rt/trunk
-SVN_REVISION.compiler-rt=	349999
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	http://compiler-rt.llvm.org/
-COMMENT=	LLVM runtime libraries
-LICENSE=	modified-bsd OR mit
-
-USE_LANGUAGES=		c c++11
-USE_CMAKE=		yes
-GCC_REQD+=		4.8
-
-WRKSRC=			${WRKDIR}/${PKGBASE}
-CONFIGURE_DIRS=		${WRKDIR}/build
-CMAKE_ARG_PATH=		${WRKSRC}
-
-CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
-CMAKE_ARGS+=	-DCMAKE_C_COMPILER=${CC:Q}
-CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=${CXX:Q}
-CMAKE_ARGS+=	-DCOMPILER_RT_OS_DIR:STRING=${LOWER_OPSYS}
-CMAKE_ARGS+=	-DCOMPILER_RT_INSTALL_PATH:STRING=lib/clang/${PKGVERSION_NOREV}
-
-
-PLIST_SUBST+=	COMPILER_RT_OS_DIR=${LOWER_OPSYS}
-
-post-extract:
-	${RUN} mkdir -p ${WRKDIR}/build
-
-.include "../../wip/mk/svn-package.mk"
-#DEPENDS+=	llvm-${PKGVERSION_NOREV}{,nb*}:../../wip/llvm-netbsd
-#.include "../../wip/llvm-netbsd/buildlink3.mk"
-.include "../../lang/python/tool.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/compiler-rt-netbsd/PLIST b/compiler-rt-netbsd/PLIST
deleted file mode 100644
index a0f95242b6..0000000000
--- a/compiler-rt-netbsd/PLIST
+++ /dev/null
@@ -1,75 +0,0 @@
-@comment $NetBSD$
-lib/clang/${PKGVERSION}/include/sanitizer/allocator_interface.h
-lib/clang/${PKGVERSION}/include/sanitizer/asan_interface.h
-lib/clang/${PKGVERSION}/include/sanitizer/common_interface_defs.h
-lib/clang/${PKGVERSION}/include/sanitizer/coverage_interface.h
-lib/clang/${PKGVERSION}/include/sanitizer/dfsan_interface.h
-lib/clang/${PKGVERSION}/include/sanitizer/esan_interface.h
-lib/clang/${PKGVERSION}/include/sanitizer/hwasan_interface.h
-lib/clang/${PKGVERSION}/include/sanitizer/linux_syscall_hooks.h
-lib/clang/${PKGVERSION}/include/sanitizer/lsan_interface.h
-lib/clang/${PKGVERSION}/include/sanitizer/msan_interface.h
-lib/clang/${PKGVERSION}/include/sanitizer/netbsd_syscall_hooks.h
-lib/clang/${PKGVERSION}/include/sanitizer/scudo_interface.h
-lib/clang/${PKGVERSION}/include/sanitizer/tsan_interface.h
-lib/clang/${PKGVERSION}/include/sanitizer/tsan_interface_atomic.h
-lib/clang/${PKGVERSION}/include/xray/xray_interface.h
-lib/clang/${PKGVERSION}/include/xray/xray_log_interface.h
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan-i386.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan-i386.so
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan-preinit-i386.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan-preinit-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan-x86_64.a.syms
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan-x86_64.so
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan_cxx-i386.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan_cxx-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.asan_cxx-x86_64.a.syms
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.builtins-i386.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.builtins-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.cfi-i386.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.cfi-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.cfi_diag-i386.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.cfi_diag-x86_64.a
-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.msan-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.msan-x86_64.a.syms
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.msan_cxx-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.msan_cxx-x86_64.a.syms
-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
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.safestack-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.stats-i386.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.stats-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.stats_client-i386.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.stats_client-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.tsan-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.tsan-x86_64.a.syms
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.tsan_cxx-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.tsan_cxx-x86_64.a.syms
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_minimal-i386.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_minimal-i386.so
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_minimal-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_minimal-x86_64.a.syms
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_minimal-x86_64.so
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_standalone-i386.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_standalone-i386.so
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_standalone-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_standalone-x86_64.a.syms
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_standalone-x86_64.so
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_standalone_cxx-i386.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_standalone_cxx-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.ubsan_standalone_cxx-x86_64.a.syms
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.xray-basic-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.xray-fdr-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.xray-profiling-x86_64.a
-lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.xray-x86_64.a
-lib/clang/${PKGVERSION}/share/asan_blacklist.txt
-lib/clang/${PKGVERSION}/share/cfi_blacklist.txt
-lib/clang/${PKGVERSION}/share/msan_blacklist.txt
diff --git a/compiler-rt-netbsd/buildlink3.mk b/compiler-rt-netbsd/buildlink3.mk
deleted file mode 100644
index 4b2d6ed772..0000000000
--- a/compiler-rt-netbsd/buildlink3.mk
+++ /dev/null
@@ -1,14 +0,0 @@
-# $NetBSD$
-
-BUILDLINK_TREE+=	compiler-rt
-
-.if !defined(COMPILER_RT_BUILDLINK3_MK)
-COMPILER_RT_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.compiler-rt+=	compiler-rt>=5.0.0
-BUILDLINK_PKGSRCDIR.compiler-rt?=	../../wip/compiler-rt-netbsd
-
-.include "../../wip/llvm-netbsd/buildlink3.mk"
-.endif	# COMPILER_RT_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-compiler-rt
diff --git a/compiler-rt-netbsd/distinfo b/compiler-rt-netbsd/distinfo
deleted file mode 100644
index ca0be82dfa..0000000000
--- a/compiler-rt-netbsd/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
-
-SHA1 (patch-lib_asan_asan__posix.cc) = 76056a2dca1eee0d16a79b9da39d8ddb53108de4
-SHA1 (patch-lib_fuzzer_tests_CMakeLists.txt) = 7210cbe6a3a65846a4229349b9a610a83ff3632f
-SHA1 (patch-lib_msan_msan__linux.cc) = e0a8034e63a0e9a571acdaca956e5002cf14dfe0
-SHA1 (patch-lib_sanitizer__common_sanitizer__platform__interceptors.h) = a444a0c9bef59dcde9a46191a0579bc39855f5ea
-SHA1 (patch-test_msan_pthread__getname__np.cc) = 54247b192a2f6a6fd078bee6b9188739f6edeae8
diff --git a/compiler-rt-netbsd/patches/patch-lib_msan_msan__linux.cc b/compiler-rt-netbsd/patches/patch-lib_msan_msan__linux.cc
deleted file mode 100644
index c71fa87ec3..0000000000
--- a/compiler-rt-netbsd/patches/patch-lib_msan_msan__linux.cc
+++ /dev/null
@@ -1,89 +0,0 @@
-$NetBSD$
-
---- lib/msan/msan_linux.cc.orig	2018-08-21 21:25:44.000000000 +0000
-+++ lib/msan/msan_linux.cc
-@@ -34,6 +34,11 @@
- #include "sanitizer_common/sanitizer_common.h"
- #include "sanitizer_common/sanitizer_procmaps.h"
- 
-+#if SANITIZER_NETBSD
-+extern "C" int __cxa_thread_atexit(void (*)(void *), void *,
-+                                   void *) SANITIZER_WEAK_ATTRIBUTE;
-+#endif
-+
- namespace __msan {
- 
- void ReportMapRange(const char *descr, uptr beg, uptr size) {
-@@ -175,19 +180,59 @@ void InstallAtExitHandler() {
- 
- // ---------------------- TSD ---------------- {{{1
- 
--static pthread_key_t tsd_key;
-+static THREADLOCAL MsanThread *msan_current_thread;
-+
-+MsanThread *GetCurrentThread() { return msan_current_thread; }
-+
-+#if SANITIZER_NETBSD
-+// Thread Static Data cannot be used in early init on NetBSD
-+// Reuse the Asan TSD API for compatibility with existing code
-+// with an alternative implementation.
-+
- static bool tsd_key_inited = false;
-+static void (*tsd_destructor)(void *tsd) = nullptr;
-+
-+void tsd_at_exit(void *tsd) {
-+  CHECK_EQ(tsd, (void *)msan_current_thread);
-+  CHECK(tsd);
-+  (*tsd_destructor)(tsd);
-+}
- 
- void MsanTSDInit(void (*destructor)(void *tsd)) {
-   CHECK(!tsd_key_inited);
-   tsd_key_inited = true;
--  CHECK_EQ(0, pthread_key_create(&tsd_key, destructor));
-+  tsd_destructor = destructor;
- }
- 
--static THREADLOCAL MsanThread* msan_current_thread;
-+void SetCurrentThread(MsanThread *t) {
-+  CHECK(tsd_key_inited);
-+  // Make sure we do not reset the current MsanThread.
-+  CHECK_EQ(0, msan_current_thread);
-+  msan_current_thread = t;
-+  // Make sure that MsanTSDDtor gets called at the end.
-+  CHECK(tsd_key_inited);
-+  if (::__cxa_thread_atexit(tsd_at_exit, t, nullptr)) {
-+    Printf("MemorySanitizer: failed to setup thread atexit callback");
-+    Die();
-+  }
-+}
- 
--MsanThread *GetCurrentThread() {
--  return msan_current_thread;
-+void MsanTSDDtor(void *tsd) {
-+  CHECK(tsd_key_inited);
-+  CHECK_EQ(tsd, (void *)msan_current_thread);
-+  msan_current_thread = nullptr;
-+  // Make sure that signal handler can not see a stale current thread pointer.
-+  atomic_signal_fence(memory_order_seq_cst);
-+  MsanThread::TSDDtor(tsd);
-+}
-+#else
-+static pthread_key_t tsd_key;
-+static bool tsd_key_inited = false;
-+
-+void MsanTSDInit(void (*destructor)(void *tsd)) {
-+  CHECK(!tsd_key_inited);
-+  tsd_key_inited = true;
-+  CHECK_EQ(0, pthread_key_create(&tsd_key, destructor));
- }
- 
- void SetCurrentThread(MsanThread *t) {
-@@ -211,6 +256,7 @@ void MsanTSDDtor(void *tsd) {
-   atomic_signal_fence(memory_order_seq_cst);
-   MsanThread::TSDDtor(tsd);
- }
-+#endif
- 
- } // namespace __msan
- 


Home | Main Index | Thread Index | Old Index