pkgsrc-WIP-changes archive

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

compiler-rt-netbsd: Rebase to SVN r. 345269



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Thu Oct 25 22:12:35 2018 +0200
Changeset:	41f094a1c7e62f5f7214f76da2259911272ad3c0

Modified Files:
	compiler-rt-netbsd/Makefile
	compiler-rt-netbsd/distinfo
	compiler-rt-netbsd/patches/patch-lib_fuzzer_tests_CMakeLists.txt
	compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux__libcdep.cc
	compiler-rt-netbsd/patches/patch-test_asan_TestCases_intercept-rethrow-exception.cc
	compiler-rt-netbsd/patches/patch-test_msan_fork.cc
Removed Files:
	compiler-rt-netbsd/patches/patch-lib_asan_tests_asan__interface__test.cc
	compiler-rt-netbsd/patches/patch-lib_asan_tests_asan__noinst__test.cc
	compiler-rt-netbsd/patches/patch-lib_msan_tests_msan__test.cc
	compiler-rt-netbsd/patches/patch-test_msan_chained__origin__with__signals.cc
	compiler-rt-netbsd/patches/patch-test_msan_dtls__test.c
	compiler-rt-netbsd/patches/patch-test_msan_ioctl__custom.cc
	compiler-rt-netbsd/patches/patch-test_msan_signal__stress__test.cc

Log Message:
compiler-rt-netbsd: Rebase to SVN r. 345269

Removed patches are merged upstream.
They mark certain tests as broken/unsupported on NetBSD.

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

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

diffstat:
 compiler-rt-netbsd/Makefile                        |  2 +-
 compiler-rt-netbsd/distinfo                        | 15 +++-------
 .../patch-lib_asan_tests_asan__interface__test.cc  | 20 -------------
 .../patch-lib_asan_tests_asan__noinst__test.cc     | 20 -------------
 .../patches/patch-lib_fuzzer_tests_CMakeLists.txt  |  2 +-
 .../patches/patch-lib_msan_tests_msan__test.cc     | 33 ----------------------
 ..._sanitizer__common_sanitizer__linux__libcdep.cc |  2 +-
 ...t_asan_TestCases_intercept-rethrow-exception.cc |  8 +++---
 ...tch-test_msan_chained__origin__with__signals.cc | 14 ---------
 .../patches/patch-test_msan_dtls__test.c           | 14 ---------
 compiler-rt-netbsd/patches/patch-test_msan_fork.cc |  8 +++---
 .../patches/patch-test_msan_ioctl__custom.cc       | 14 ---------
 .../patch-test_msan_signal__stress__test.cc        | 14 ---------
 13 files changed, 15 insertions(+), 151 deletions(-)

diffs:
diff --git a/compiler-rt-netbsd/Makefile b/compiler-rt-netbsd/Makefile
index dbbf470ede..0b7db407e4 100644
--- a/compiler-rt-netbsd/Makefile
+++ b/compiler-rt-netbsd/Makefile
@@ -5,7 +5,7 @@ CATEGORIES=	lang devel
 
 SVN_REPOSITORIES=		compiler-rt
 SVN_REPO.compiler-rt=		http://llvm.org/svn/llvm-project/compiler-rt/trunk
-SVN_REVISION.compiler-rt=	344035
+SVN_REVISION.compiler-rt=	345269
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	http://compiler-rt.llvm.org/
diff --git a/compiler-rt-netbsd/distinfo b/compiler-rt-netbsd/distinfo
index fa222b71f4..4a0468aaa9 100644
--- a/compiler-rt-netbsd/distinfo
+++ b/compiler-rt-netbsd/distinfo
@@ -3,17 +3,14 @@ $NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
 SHA1 (patch-CMakeLists.txt) = 43d2c38f405b7096775fdd3036c7ba6be82c3d07
 SHA1 (patch-cmake_Modules_HandleCompilerRT.cmake) = fde0a4b440a257dec40c4f106c2352d5efecceef
 SHA1 (patch-lib_asan_asan__posix.cc) = be7e47c252e30184639f7ed1c98c75a8667fd261
-SHA1 (patch-lib_asan_tests_asan__interface__test.cc) = ab691730804b1efd7ffaf7576e72144753cea726
-SHA1 (patch-lib_asan_tests_asan__noinst__test.cc) = 333f5c207320d5e3433895da461255a6967a0ae9
 SHA1 (patch-lib_fuzzer_FuzzerLoop.cpp) = b2e226a0d7b230cc8598a0591ae6f688527c6b2d
-SHA1 (patch-lib_fuzzer_tests_CMakeLists.txt) = c3d8a78f96566e5b8d2d8a5cbaba60990bfd6efe
+SHA1 (patch-lib_fuzzer_tests_CMakeLists.txt) = 9c1f67025804e0849face302fedd0ea4a6330a3e
 SHA1 (patch-lib_msan_msan__interceptors.cc) = 7af07c88b0ddf650f3df5dea4f6664ff9393d963
 SHA1 (patch-lib_msan_msan__linux.cc) = b5df0f4f5930d7c1681b1ad867c893d01d6e5cf7
-SHA1 (patch-lib_msan_tests_msan__test.cc) = 9ec9513826b59c2174e531b61dd1d7de1e882a5c
 SHA1 (patch-lib_sanitizer__common_sanitizer__common__interceptors.inc) = 728815f7be77aa7a24f308b9c6bdc1478edb01d4
 SHA1 (patch-lib_sanitizer__common_sanitizer__interceptors__ioctl__netbsd.inc) = 8e31ef0974fd12505b2d61723181b852d66815ce
 SHA1 (patch-lib_sanitizer__common_sanitizer__internal__defs.h) = 9475c8018dadbc4d865b52a03e43f9eae2011c3e
-SHA1 (patch-lib_sanitizer__common_sanitizer__linux__libcdep.cc) = 8d156e4b51961bab6bae3ee30df8e18aea632b5d
+SHA1 (patch-lib_sanitizer__common_sanitizer__linux__libcdep.cc) = 33cc60133c265b82ca2fdd06971162500c21bbf6
 SHA1 (patch-lib_sanitizer__common_sanitizer__platform__interceptors.h) = 48a0178377ff0610913487e1ee7032b198cd0437
 SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cc) = b8125c783a773497436536b7f4deead8c36633c5
 SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.h) = e8a0d9389f3ddd41f911e00f8ff62e214441296d
@@ -23,11 +20,7 @@ SHA1 (patch-lib_sanitizer__common_sanitizer__unwind__linux__libcdep.cc) = 86d530
 SHA1 (patch-lib_scudo_scudo__platform.h) = 68f33b18d913984c3a459597ef62f63d36184ca9
 SHA1 (patch-lib_tsan_CMakeLists.txt) = 4d8f8081ff2a3249565df26e67a35b5b3509e0b0
 SHA1 (patch-lib_xray_tests_CMakeLists.txt) = bb52916184d8e829395dd40d6d1b8b7eac40da92
-SHA1 (patch-test_asan_TestCases_intercept-rethrow-exception.cc) = 48a6168e423a33a2474b9a76990d67f61430617b
+SHA1 (patch-test_asan_TestCases_intercept-rethrow-exception.cc) = e419d4da92e11c58f981ae8a8b596b8110493dbf
 SHA1 (patch-test_asan_TestCases_interception__failure__test.cc) = 0a359141e3c30b672842904b32d1542170b03ab1
-SHA1 (patch-test_msan_chained__origin__with__signals.cc) = b091a0275144627d735114c45b383655e7a560e3
-SHA1 (patch-test_msan_dtls__test.c) = da24b1a7b65c64b618b38fb4e7042c56c125b8f1
-SHA1 (patch-test_msan_fork.cc) = c8055621693ed2baf7063b0bff7179d912707ec7
-SHA1 (patch-test_msan_ioctl__custom.cc) = 2bbfb73cb4fe35545d05be7950157bef8f6efd7a
-SHA1 (patch-test_msan_signal__stress__test.cc) = 35c598e02e931fce6d413d91932594315814f681
+SHA1 (patch-test_msan_fork.cc) = 7b227de9ea8319688eb4702d3c94f9dd56c03940
 SHA1 (patch-utils_generate__netbsd__ioctls.awk) = 56c92131aa95b64765af3e9b60fd7d7cc55facbc
diff --git a/compiler-rt-netbsd/patches/patch-lib_asan_tests_asan__interface__test.cc b/compiler-rt-netbsd/patches/patch-lib_asan_tests_asan__interface__test.cc
deleted file mode 100644
index b1f7ca6aae..0000000000
--- a/compiler-rt-netbsd/patches/patch-lib_asan_tests_asan__interface__test.cc
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD$
-
---- lib/asan/tests/asan_interface_test.cc.orig	2018-08-21 21:25:41.000000000 +0000
-+++ lib/asan/tests/asan_interface_test.cc
-@@ -102,6 +102,7 @@ TEST(AddressSanitizerInterface, GetHeapS
-   }
- }
- 
-+#if !defined(__NetBSD__)
- static const size_t kManyThreadsMallocSizes[] = {5, 1UL<<10, 1UL<<14, 357};
- static const size_t kManyThreadsIterations = 250;
- static const size_t kManyThreadsNumThreads =
-@@ -135,6 +136,7 @@ TEST(AddressSanitizerInterface, ManyThre
-   // so we can't check for equality here.
-   EXPECT_LT(after_test, before_test + (1UL<<20));
- }
-+#endif
- 
- static void DoDoubleFree() {
-   int *x = Ident(new int);
diff --git a/compiler-rt-netbsd/patches/patch-lib_asan_tests_asan__noinst__test.cc b/compiler-rt-netbsd/patches/patch-lib_asan_tests_asan__noinst__test.cc
deleted file mode 100644
index 66901c11e1..0000000000
--- a/compiler-rt-netbsd/patches/patch-lib_asan_tests_asan__noinst__test.cc
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD$
-
---- lib/asan/tests/asan_noinst_test.cc.orig	2018-08-21 21:25:41.000000000 +0000
-+++ lib/asan/tests/asan_noinst_test.cc
-@@ -153,6 +153,7 @@ TEST(AddressSanitizer, QuarantineTest) {
-   EXPECT_LT(i, max_i);
- }
- 
-+#if !defined(__NetBSD__)
- void *ThreadedQuarantineTestWorker(void *unused) {
-   (void)unused;
-   u32 seed = my_rand();
-@@ -187,6 +188,7 @@ TEST(AddressSanitizer, ThreadedQuarantin
-     EXPECT_LT(mmaped2 - mmaped1, 320U * (1 << 20));
-   }
- }
-+#endif
- 
- void *ThreadedOneSizeMallocStress(void *unused) {
-   (void)unused;
diff --git a/compiler-rt-netbsd/patches/patch-lib_fuzzer_tests_CMakeLists.txt b/compiler-rt-netbsd/patches/patch-lib_fuzzer_tests_CMakeLists.txt
index 8d31721ed1..e25b52f399 100644
--- a/compiler-rt-netbsd/patches/patch-lib_fuzzer_tests_CMakeLists.txt
+++ b/compiler-rt-netbsd/patches/patch-lib_fuzzer_tests_CMakeLists.txt
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- lib/fuzzer/tests/CMakeLists.txt.orig	2018-08-31 08:13:43.000000000 +0000
+--- lib/fuzzer/tests/CMakeLists.txt.orig	2018-10-25 20:11:47.182443704 +0000
 +++ lib/fuzzer/tests/CMakeLists.txt
 @@ -13,6 +13,9 @@ add_custom_target(FuzzerUnitTests)
  set_target_properties(FuzzerUnitTests PROPERTIES FOLDER "Compiler-RT Tests")
diff --git a/compiler-rt-netbsd/patches/patch-lib_msan_tests_msan__test.cc b/compiler-rt-netbsd/patches/patch-lib_msan_tests_msan__test.cc
deleted file mode 100644
index 1cd5480862..0000000000
--- a/compiler-rt-netbsd/patches/patch-lib_msan_tests_msan__test.cc
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD$
-
---- lib/msan/tests/msan_test.cc.orig	2018-08-21 21:25:44.000000000 +0000
-+++ lib/msan/tests/msan_test.cc
-@@ -1934,12 +1934,14 @@ TEST(MemorySanitizer, remquof) {
-   EXPECT_NOT_POISONED(quo);
- }
- 
-+#if !defined(__NetBSD__)
- TEST(MemorySanitizer, remquol) {
-   int quo;
-   long double res = remquof(29.0, 3.0, &quo);
-   ASSERT_NE(0.0, res);
-   EXPECT_NOT_POISONED(quo);
- }
-+#endif
- 
- TEST(MemorySanitizer, lgamma) {
-   double res = lgamma(1.1);
-@@ -1953,11 +1955,13 @@ TEST(MemorySanitizer, lgammaf) {
-   EXPECT_NOT_POISONED(signgam);
- }
- 
-+#if !defined(__NetBSD__)
- TEST(MemorySanitizer, lgammal) {
-   long double res = lgammal(1.1);
-   ASSERT_NE(0.0, res);
-   EXPECT_NOT_POISONED(signgam);
- }
-+#endif
- 
- TEST(MemorySanitizer, lgamma_r) {
-   int sgn;
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux__libcdep.cc b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux__libcdep.cc
index 2ec2ba2474..6e93cfd058 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux__libcdep.cc
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux__libcdep.cc
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- lib/sanitizer_common/sanitizer_linux_libcdep.cc.orig	2018-08-31 08:13:43.000000000 +0000
+--- lib/sanitizer_common/sanitizer_linux_libcdep.cc.orig	2018-10-25 20:11:47.199977515 +0000
 +++ lib/sanitizer_common/sanitizer_linux_libcdep.cc
 @@ -25,6 +25,7 @@
  #include "sanitizer_freebsd.h"
diff --git a/compiler-rt-netbsd/patches/patch-test_asan_TestCases_intercept-rethrow-exception.cc b/compiler-rt-netbsd/patches/patch-test_asan_TestCases_intercept-rethrow-exception.cc
index 56709e1bcd..df381415b0 100644
--- a/compiler-rt-netbsd/patches/patch-test_asan_TestCases_intercept-rethrow-exception.cc
+++ b/compiler-rt-netbsd/patches/patch-test_asan_TestCases_intercept-rethrow-exception.cc
@@ -1,10 +1,10 @@
 $NetBSD$
 
---- test/asan/TestCases/intercept-rethrow-exception.cc.orig	2018-08-21 21:25:30.000000000 +0000
+--- test/asan/TestCases/intercept-rethrow-exception.cc.orig	2018-10-25 20:11:47.604570226 +0000
 +++ test/asan/TestCases/intercept-rethrow-exception.cc
-@@ -4,6 +4,9 @@
- // RUN: %clangxx_asan -fexceptions -O0 %s -o %t
- // RUN: %run %t
+@@ -8,6 +8,9 @@
+ // combination of libraries that are not used by default on NetBSD
+ // XFAIL: netbsd
  
 +// Not ported to NetBSD
 +// XFAIL: netbsd
diff --git a/compiler-rt-netbsd/patches/patch-test_msan_chained__origin__with__signals.cc b/compiler-rt-netbsd/patches/patch-test_msan_chained__origin__with__signals.cc
deleted file mode 100644
index 75f09c721b..0000000000
--- a/compiler-rt-netbsd/patches/patch-test_msan_chained__origin__with__signals.cc
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD$
-
---- test/msan/chained_origin_with_signals.cc.orig	2018-08-21 21:25:23.000000000 +0000
-+++ test/msan/chained_origin_with_signals.cc
-@@ -10,6 +10,9 @@
- // RUN:     not %run %t >%t.out 2>&1
- // RUN: FileCheck %s < %t.out
- 
-+// Reported deadly signal due to stack-overflow
-+// XFAIL: netbsd
-+
- #include <signal.h>
- #include <stdio.h>
- #include <sys/types.h>
diff --git a/compiler-rt-netbsd/patches/patch-test_msan_dtls__test.c b/compiler-rt-netbsd/patches/patch-test_msan_dtls__test.c
deleted file mode 100644
index be956f779a..0000000000
--- a/compiler-rt-netbsd/patches/patch-test_msan_dtls__test.c
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD$
-
---- test/msan/dtls_test.c.orig	2018-08-21 21:25:23.000000000 +0000
-+++ test/msan/dtls_test.c
-@@ -8,6 +8,9 @@
- 
-    XFAIL: FreeBSD
-    UNSUPPORTED: powerpc
-+
-+   // Reports use-of-uninitialized-value, not analyzed
-+   XFAIL: netbsd
- */
- 
- #ifndef BUILD_SO
diff --git a/compiler-rt-netbsd/patches/patch-test_msan_fork.cc b/compiler-rt-netbsd/patches/patch-test_msan_fork.cc
index 5d4879c859..baab70fcdc 100644
--- a/compiler-rt-netbsd/patches/patch-test_msan_fork.cc
+++ b/compiler-rt-netbsd/patches/patch-test_msan_fork.cc
@@ -1,10 +1,10 @@
 $NetBSD$
 
---- test/msan/fork.cc.orig	2018-08-21 21:25:23.000000000 +0000
+--- test/msan/fork.cc.orig	2018-10-25 20:11:47.383363157 +0000
 +++ test/msan/fork.cc
-@@ -14,6 +14,9 @@
- // UNSUPPORTED: powerpc64-target-arch
- // UNSUPPORTED: powerpc64le-target-arch
+@@ -17,6 +17,9 @@
+ // Sometimes hangs
+ // UNSUPPORTED: netbsd
  
 +// Somtimes hangs
 +// UNSUPPORTED: netbsd
diff --git a/compiler-rt-netbsd/patches/patch-test_msan_ioctl__custom.cc b/compiler-rt-netbsd/patches/patch-test_msan_ioctl__custom.cc
deleted file mode 100644
index b8926190da..0000000000
--- a/compiler-rt-netbsd/patches/patch-test_msan_ioctl__custom.cc
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD$
-
---- test/msan/ioctl_custom.cc.orig	2018-08-21 21:25:23.000000000 +0000
-+++ test/msan/ioctl_custom.cc
-@@ -4,6 +4,9 @@
- // RUN: %clangxx_msan -DPOSITIVE -O0 -g %s -o %t && not %run %t 2>&1 | FileCheck %s
- // RUN: %clangxx_msan -DPOSITIVE -O3 -g %s -o %t && not %run %t 2>&1 | FileCheck %s
- 
-+// Reports different report (not analyzed)
-+// XFAIL: netbsd
-+
- #include <assert.h>
- #include <stdlib.h>
- #include <net/if.h>
diff --git a/compiler-rt-netbsd/patches/patch-test_msan_signal__stress__test.cc b/compiler-rt-netbsd/patches/patch-test_msan_signal__stress__test.cc
deleted file mode 100644
index 2b6d7f51a2..0000000000
--- a/compiler-rt-netbsd/patches/patch-test_msan_signal__stress__test.cc
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD$
-
---- test/msan/signal_stress_test.cc.orig	2018-08-21 21:25:23.000000000 +0000
-+++ test/msan/signal_stress_test.cc
-@@ -2,6 +2,9 @@
- //
- // Test that va_arg shadow from a signal handler does not leak outside.
- 
-+// Reported deadly signal due to stack-overflow
-+// XFAIL: netbsd
-+
- #include <signal.h>
- #include <stdarg.h>
- #include <sanitizer/msan_interface.h>


Home | Main Index | Thread Index | Old Index