pkgsrc-WIP-changes archive

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

compiler-rt-netbsd: Patch out missing symbols to fix build



Module Name:	pkgsrc-wip
Committed By:	Michał Górny <mgorny%gentoo.org@localhost>
Pushed By:	mgorny
Date:		Mon Oct 29 17:13:18 2018 +0100
Changeset:	786425c6fa0f25574d61555170a57b6889d342b9

Modified Files:
	compiler-rt-netbsd/distinfo
	compiler-rt-netbsd/patches/patch-CMakeLists.txt
	compiler-rt-netbsd/patches/patch-cmake_Modules_HandleCompilerRT.cmake
	compiler-rt-netbsd/patches/patch-lib_asan_asan__posix.cc
	compiler-rt-netbsd/patches/patch-lib_fuzzer_FuzzerLoop.cpp
	compiler-rt-netbsd/patches/patch-lib_fuzzer_tests_CMakeLists.txt
	compiler-rt-netbsd/patches/patch-lib_msan_msan__interceptors.cc
	compiler-rt-netbsd/patches/patch-lib_msan_msan__linux.cc
	compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__common__interceptors.inc
	compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__interceptors__ioctl__netbsd.inc
	compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__internal__defs.h
	compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux__libcdep.cc
	compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__interceptors.h
	compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cc
	compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.h
	compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.cc
	compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h
	compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__unwind__linux__libcdep.cc
	compiler-rt-netbsd/patches/patch-lib_scudo_scudo__platform.h
	compiler-rt-netbsd/patches/patch-lib_tsan_CMakeLists.txt
	compiler-rt-netbsd/patches/patch-lib_xray_tests_CMakeLists.txt
	compiler-rt-netbsd/patches/patch-test_asan_TestCases_intercept-rethrow-exception.cc
	compiler-rt-netbsd/patches/patch-test_asan_TestCases_interception__failure__test.cc
	compiler-rt-netbsd/patches/patch-test_msan_fork.cc
	compiler-rt-netbsd/patches/patch-utils_generate__netbsd__ioctls.awk

Log Message:
compiler-rt-netbsd: Patch out missing symbols to fix build

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

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

diffstat:
 compiler-rt-netbsd/distinfo                        | 48 ++++++++---------
 compiler-rt-netbsd/patches/patch-CMakeLists.txt    |  2 +-
 .../patch-cmake_Modules_HandleCompilerRT.cmake     |  2 +-
 .../patches/patch-lib_asan_asan__posix.cc          |  2 +-
 .../patches/patch-lib_fuzzer_FuzzerLoop.cpp        |  2 +-
 .../patches/patch-lib_fuzzer_tests_CMakeLists.txt  |  2 +-
 .../patches/patch-lib_msan_msan__interceptors.cc   |  2 +-
 .../patches/patch-lib_msan_msan__linux.cc          |  2 +-
 ...zer__common_sanitizer__common__interceptors.inc |  2 +-
 ...mmon_sanitizer__interceptors__ioctl__netbsd.inc | 21 ++++++--
 ...b_sanitizer__common_sanitizer__internal__defs.h |  2 +-
 ..._sanitizer__common_sanitizer__linux__libcdep.cc |  2 +-
 ...zer__common_sanitizer__platform__interceptors.h |  2 +-
 ...__common_sanitizer__platform__limits__netbsd.cc | 60 +++++++++++++++++-----
 ...r__common_sanitizer__platform__limits__netbsd.h |  2 +-
 ...r__common_sanitizer__platform__limits__posix.cc |  2 +-
 ...er__common_sanitizer__platform__limits__posix.h |  2 +-
 ...er__common_sanitizer__unwind__linux__libcdep.cc |  2 +-
 .../patches/patch-lib_scudo_scudo__platform.h      |  2 +-
 .../patches/patch-lib_tsan_CMakeLists.txt          |  2 +-
 .../patches/patch-lib_xray_tests_CMakeLists.txt    |  2 +-
 ...t_asan_TestCases_intercept-rethrow-exception.cc |  2 +-
 ...t_asan_TestCases_interception__failure__test.cc |  2 +-
 compiler-rt-netbsd/patches/patch-test_msan_fork.cc |  2 +-
 .../patch-utils_generate__netbsd__ioctls.awk       |  2 +-
 25 files changed, 111 insertions(+), 62 deletions(-)

diffs:
diff --git a/compiler-rt-netbsd/distinfo b/compiler-rt-netbsd/distinfo
index 4a0468aaa9..770bc049fc 100644
--- a/compiler-rt-netbsd/distinfo
+++ b/compiler-rt-netbsd/distinfo
@@ -1,26 +1,26 @@
 $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_fuzzer_FuzzerLoop.cpp) = b2e226a0d7b230cc8598a0591ae6f688527c6b2d
-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_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) = 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
-SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__posix.cc) = 7c16ba866352f3a695a544094ca46f0f561c43c5
-SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h) = 9f535e84c3e1ab5704b11e388ac240439a9900d6
-SHA1 (patch-lib_sanitizer__common_sanitizer__unwind__linux__libcdep.cc) = 86d53010debaf2cc5c9793d83186db2db76b280f
-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) = e419d4da92e11c58f981ae8a8b596b8110493dbf
-SHA1 (patch-test_asan_TestCases_interception__failure__test.cc) = 0a359141e3c30b672842904b32d1542170b03ab1
-SHA1 (patch-test_msan_fork.cc) = 7b227de9ea8319688eb4702d3c94f9dd56c03940
-SHA1 (patch-utils_generate__netbsd__ioctls.awk) = 56c92131aa95b64765af3e9b60fd7d7cc55facbc
+SHA1 (patch-CMakeLists.txt) = 21042aa2a617bb927d3283e7dce6e99a5a7aa782
+SHA1 (patch-cmake_Modules_HandleCompilerRT.cmake) = a4a273fa4e0c4d5a3e85a4d4f3c66ef3eeda1e27
+SHA1 (patch-lib_asan_asan__posix.cc) = 368bf20ca2ad7d73eeb1a9faba88897d0fb5f2ad
+SHA1 (patch-lib_fuzzer_FuzzerLoop.cpp) = 012de6a523f93b0fe8bc7078f0457d8ce821e55b
+SHA1 (patch-lib_fuzzer_tests_CMakeLists.txt) = 80fc1441ded9f8b840d2ce0210819ecb80d6abd4
+SHA1 (patch-lib_msan_msan__interceptors.cc) = b7bf267926a1a598c7f3dde16469b882616b091a
+SHA1 (patch-lib_msan_msan__linux.cc) = 29ad1843e880698eee4abfa4d4a8adf14aa23245
+SHA1 (patch-lib_sanitizer__common_sanitizer__common__interceptors.inc) = 7c8201233dd4c7bd3a85871c74529341f9ee2de5
+SHA1 (patch-lib_sanitizer__common_sanitizer__interceptors__ioctl__netbsd.inc) = e400c0b202268fc3989d0f2927afa7df06a8cc77
+SHA1 (patch-lib_sanitizer__common_sanitizer__internal__defs.h) = c6242c839d09c014f6c656356a9b6bd90c473853
+SHA1 (patch-lib_sanitizer__common_sanitizer__linux__libcdep.cc) = acce47f3c4ee5d0873e2e299c0e81bfae6a0d4f6
+SHA1 (patch-lib_sanitizer__common_sanitizer__platform__interceptors.h) = 8ff0b577f3977b17ac11ed3b54118c881c8546c8
+SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cc) = e0eef6ef860039d956e2520d37b0c4ddd830161c
+SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.h) = 663b297cf42b8115a56ab1ad8a860bbd851973b8
+SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__posix.cc) = d788f0cb3eff9b858feccbec0096d8ade00d7a4f
+SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h) = daef24d02feeeb5cf3a5b181c696e71534749da8
+SHA1 (patch-lib_sanitizer__common_sanitizer__unwind__linux__libcdep.cc) = c01c83eaef386031578225333d41555777d77077
+SHA1 (patch-lib_scudo_scudo__platform.h) = 0873a366edbb2b61f3880730d40f822097311b32
+SHA1 (patch-lib_tsan_CMakeLists.txt) = 18ea473279cb78b2f935241d6265903c92060c41
+SHA1 (patch-lib_xray_tests_CMakeLists.txt) = 2b0bcc6d9a35e1ca57741996939dd0f7e5a03bc2
+SHA1 (patch-test_asan_TestCases_intercept-rethrow-exception.cc) = db1e16d64edb9fd1e5f735264b67b613423aed48
+SHA1 (patch-test_asan_TestCases_interception__failure__test.cc) = 50148968bf20e5e5cfcdd79fed473d3cc82c56b3
+SHA1 (patch-test_msan_fork.cc) = 50b12fedb847bad658af18f4df967818031e6983
+SHA1 (patch-utils_generate__netbsd__ioctls.awk) = d5eb184b9f6a3047973576608c58b5223b3f805b
diff --git a/compiler-rt-netbsd/patches/patch-CMakeLists.txt b/compiler-rt-netbsd/patches/patch-CMakeLists.txt
index c16a038561..f354f71c8e 100644
--- a/compiler-rt-netbsd/patches/patch-CMakeLists.txt
+++ b/compiler-rt-netbsd/patches/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- CMakeLists.txt.orig	2018-10-05 07:12:08.000000000 +0000
+--- CMakeLists.txt.orig	2018-10-26 19:39:08.374027424 +0000
 +++ CMakeLists.txt
 @@ -390,6 +390,10 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Fuch
    list(APPEND SANITIZER_COMMON_LINK_LIBS zircon)
diff --git a/compiler-rt-netbsd/patches/patch-cmake_Modules_HandleCompilerRT.cmake b/compiler-rt-netbsd/patches/patch-cmake_Modules_HandleCompilerRT.cmake
index 3c5f628c4e..2ebb0712ea 100644
--- a/compiler-rt-netbsd/patches/patch-cmake_Modules_HandleCompilerRT.cmake
+++ b/compiler-rt-netbsd/patches/patch-cmake_Modules_HandleCompilerRT.cmake
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- cmake/Modules/HandleCompilerRT.cmake.orig	2018-08-21 21:25:36.000000000 +0000
+--- cmake/Modules/HandleCompilerRT.cmake.orig	2018-10-26 19:41:21.261220908 +0000
 +++ cmake/Modules/HandleCompilerRT.cmake
 @@ -1,5 +1,5 @@
  function(find_compiler_rt_library name variable)
diff --git a/compiler-rt-netbsd/patches/patch-lib_asan_asan__posix.cc b/compiler-rt-netbsd/patches/patch-lib_asan_asan__posix.cc
index aea86c1ee4..39cb34741a 100644
--- a/compiler-rt-netbsd/patches/patch-lib_asan_asan__posix.cc
+++ b/compiler-rt-netbsd/patches/patch-lib_asan_asan__posix.cc
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- lib/asan/asan_posix.cc.orig	2018-08-21 21:25:41.000000000 +0000
+--- lib/asan/asan_posix.cc.orig	2018-10-26 19:38:24.429968751 +0000
 +++ lib/asan/asan_posix.cc
 @@ -40,31 +40,35 @@ void AsanOnDeadlySignal(int signo, void 
  
diff --git a/compiler-rt-netbsd/patches/patch-lib_fuzzer_FuzzerLoop.cpp b/compiler-rt-netbsd/patches/patch-lib_fuzzer_FuzzerLoop.cpp
index 0d2d810ed8..71f305245e 100644
--- a/compiler-rt-netbsd/patches/patch-lib_fuzzer_FuzzerLoop.cpp
+++ b/compiler-rt-netbsd/patches/patch-lib_fuzzer_FuzzerLoop.cpp
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- lib/fuzzer/FuzzerLoop.cpp.orig	2018-08-31 08:13:42.000000000 +0000
+--- lib/fuzzer/FuzzerLoop.cpp.orig	2018-10-26 19:38:37.382745571 +0000
 +++ lib/fuzzer/FuzzerLoop.cpp
 @@ -275,7 +275,7 @@ NO_SANITIZE_MEMORY
  void Fuzzer::AlarmCallback() {
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 e25b52f399..5a68e4642c 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-10-25 20:11:47.182443704 +0000
+--- lib/fuzzer/tests/CMakeLists.txt.orig	2018-10-26 19:38:37.388897610 +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_msan__interceptors.cc b/compiler-rt-netbsd/patches/patch-lib_msan_msan__interceptors.cc
index f4a017b60c..27dbfdd69a 100644
--- a/compiler-rt-netbsd/patches/patch-lib_msan_msan__interceptors.cc
+++ b/compiler-rt-netbsd/patches/patch-lib_msan_msan__interceptors.cc
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- lib/msan/msan_interceptors.cc.orig	2018-08-21 21:25:44.000000000 +0000
+--- lib/msan/msan_interceptors.cc.orig	2018-10-26 19:37:51.451921192 +0000
 +++ lib/msan/msan_interceptors.cc
 @@ -34,11 +34,13 @@
  #include "sanitizer_common/sanitizer_libc.h"
diff --git a/compiler-rt-netbsd/patches/patch-lib_msan_msan__linux.cc b/compiler-rt-netbsd/patches/patch-lib_msan_msan__linux.cc
index 8c7e059cf7..e8938bdd74 100644
--- a/compiler-rt-netbsd/patches/patch-lib_msan_msan__linux.cc
+++ b/compiler-rt-netbsd/patches/patch-lib_msan_msan__linux.cc
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- lib/msan/msan_linux.cc.orig	2018-08-21 21:25:44.000000000 +0000
+--- lib/msan/msan_linux.cc.orig	2018-10-26 19:37:51.625781767 +0000
 +++ lib/msan/msan_linux.cc
 @@ -31,6 +31,7 @@
  #include <sys/time.h>
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__common__interceptors.inc b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__common__interceptors.inc
index 73af32acae..29c2776a4a 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__common__interceptors.inc
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__common__interceptors.inc
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- lib/sanitizer_common/sanitizer_common_interceptors.inc.orig	2018-08-31 08:13:42.000000000 +0000
+--- lib/sanitizer_common/sanitizer_common_interceptors.inc.orig	2018-10-26 19:38:13.931205082 +0000
 +++ lib/sanitizer_common/sanitizer_common_interceptors.inc
 @@ -77,6 +77,11 @@
  #define ctime __ctime50
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__interceptors__ioctl__netbsd.inc b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__interceptors__ioctl__netbsd.inc
index 4bd866466f..93d9d491bc 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__interceptors__ioctl__netbsd.inc
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__interceptors__ioctl__netbsd.inc
@@ -1,8 +1,23 @@
 $NetBSD$
 
---- lib/sanitizer_common/sanitizer_interceptors_ioctl_netbsd.inc.orig	2018-08-21 21:25:40.000000000 +0000
+--- lib/sanitizer_common/sanitizer_interceptors_ioctl_netbsd.inc.orig	2018-10-26 19:38:13.731945818 +0000
 +++ lib/sanitizer_common/sanitizer_interceptors_ioctl_netbsd.inc
-@@ -713,14 +713,14 @@ static void ioctl_table_fill() {
+@@ -672,14 +672,6 @@ static void ioctl_table_fill() {
+   _(BIOCGRTIMEOUT, WRITE, struct_timeval_sz);
+   _(BIOCGFEEDBACK, WRITE, sizeof(unsigned int));
+   _(BIOCSFEEDBACK, READ, sizeof(unsigned int));
+-  /* Entries from file: net/if_atm.h */
+-  _(SIOCRAWATM, READWRITE, sizeof(int));
+-  _(SIOCATMENA, READWRITE, struct_atm_pseudoioctl_sz);
+-  _(SIOCATMDIS, READWRITE, struct_atm_pseudoioctl_sz);
+-  _(SIOCSPVCTX, READWRITE, struct_pvctxreq_sz);
+-  _(SIOCGPVCTX, READWRITE, struct_pvctxreq_sz);
+-  _(SIOCSPVCSIF, READWRITE, struct_ifreq_sz);
+-  _(SIOCGPVCSIF, READWRITE, struct_ifreq_sz);
+   /* Entries from file: net/if_gre.h */
+   _(GRESADDRS, READ, struct_ifreq_sz);
+   _(GRESADDRD, READ, struct_ifreq_sz);
+@@ -713,14 +705,14 @@ static void ioctl_table_fill() {
    _(SIOCGPPPSTATS, READWRITE, struct_ifpppstatsreq_sz);
    _(SIOCGPPPCSTATS, READWRITE, struct_ifpppcstatsreq_sz);
    /* Entries from file: net/npf.h */
@@ -25,7 +40,7 @@ $NetBSD$
    /* Entries from file: net/if_pppoe.h */
    _(PPPOESETPARMS, READ, struct_pppoediscparms_sz);
    _(PPPOEGETPARMS, READWRITE, struct_pppoediscparms_sz);
-@@ -1095,7 +1095,6 @@ static void ioctl_table_fill() {
+@@ -1095,7 +1087,6 @@ static void ioctl_table_fill() {
    /* Entries from file: sys/power.h */
    _(POWER_EVENT_RECVDICT, READWRITE, struct_plistref_sz);
    _(POWER_IOC_GET_TYPE, WRITE, struct_power_type_sz);
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__internal__defs.h b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__internal__defs.h
index 0edac63440..1e1cc2932a 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__internal__defs.h
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__internal__defs.h
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- lib/sanitizer_common/sanitizer_internal_defs.h.orig	2018-09-26 10:51:27.000000000 +0000
+--- lib/sanitizer_common/sanitizer_internal_defs.h.orig	2018-10-26 19:38:13.650604405 +0000
 +++ lib/sanitizer_common/sanitizer_internal_defs.h
 @@ -196,7 +196,9 @@ typedef u64 tid_t;
  // This header should NOT include any other headers to avoid portability issues.
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 6e93cfd058..150a5b2872 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-10-25 20:11:47.199977515 +0000
+--- lib/sanitizer_common/sanitizer_linux_libcdep.cc.orig	2018-10-26 19:38:23.525251811 +0000
 +++ lib/sanitizer_common/sanitizer_linux_libcdep.cc
 @@ -25,6 +25,7 @@
  #include "sanitizer_freebsd.h"
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__interceptors.h b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__interceptors.h
index 547290b1fe..78ad17a533 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__interceptors.h
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__interceptors.h
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- lib/sanitizer_common/sanitizer_platform_interceptors.h.orig	2018-08-21 21:25:40.000000000 +0000
+--- lib/sanitizer_common/sanitizer_platform_interceptors.h.orig	2018-10-26 19:38:22.451626392 +0000
 +++ lib/sanitizer_common/sanitizer_platform_interceptors.h
 @@ -207,9 +207,13 @@
  #define SANITIZER_INTERCEPT_GETPWENT                                          \
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cc b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cc
index 7d8fa9d90e..f460add1e0 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cc
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cc
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc.orig	2018-08-21 21:25:40.000000000 +0000
+--- lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc.orig	2018-10-26 19:38:22.297584747 +0000
 +++ lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc
 @@ -15,9 +15,15 @@
  #include "sanitizer_platform.h"
@@ -26,7 +26,7 @@ $NetBSD$
  #include <dev/biovar.h>
  #include <dev/bluetooth/btdev.h>
  #include <dev/bluetooth/btsco.h>
-@@ -115,6 +120,9 @@
+@@ -115,8 +120,10 @@
  #include <dev/vndvar.h>
  #include <dev/wscons/wsconsio.h>
  #include <dev/wscons/wsdisplay_usl_io.h>
@@ -34,11 +34,15 @@ $NetBSD$
 +#include <md4.h>
 +#include <md5.h>
  #include <net/bpf.h>
- #include <net/if_atm.h>
+-#include <net/if_atm.h>
  #include <net/if_gre.h>
-@@ -134,10 +142,12 @@
+ #include <net/if_ppp.h>
+ #include <net/if_pppoe.h>
+@@ -132,12 +139,13 @@
+ #include <netinet/ip_proxy.h>
+ #include <netinet6/in6_var.h>
  #include <netinet6/nd6.h>
- #include <netnatm/natm.h>
+-#include <netnatm/natm.h>
  #include <netsmb/smb_dev.h>
 +#include <rmd160.h>
  #include <soundcard.h>
@@ -49,7 +53,7 @@ $NetBSD$
  #include <sys/cdio.h>
  #include <sys/chio.h>
  #include <sys/clockctl.h>
-@@ -173,6 +183,7 @@
+@@ -173,6 +181,7 @@
  #include <sys/filio.h>
  #include <sys/ipc.h>
  #include <sys/mman.h>
@@ -57,7 +61,7 @@ $NetBSD$
  #include <sys/mount.h>
  #include <sys/mqueue.h>
  #include <sys/msg.h>
-@@ -180,6 +191,8 @@
+@@ -180,6 +189,8 @@
  #include <sys/ptrace.h>
  #include <sys/resource.h>
  #include <sys/sem.h>
@@ -66,7 +70,7 @@ $NetBSD$
  #include <sys/shm.h>
  #include <sys/signal.h>
  #include <sys/socket.h>
-@@ -202,8 +215,13 @@
+@@ -202,8 +213,13 @@
  #include <utime.h>
  #include <utmp.h>
  #include <utmpx.h>
@@ -80,7 +84,7 @@ $NetBSD$
  
  // Include these after system headers to avoid name clashes and ambiguities.
  #include "sanitizer_internal_defs.h"
-@@ -238,6 +256,10 @@ unsigned struct_rlimit_sz = sizeof(struc
+@@ -238,6 +254,10 @@ unsigned struct_rlimit_sz = sizeof(struc
  unsigned struct_timespec_sz = sizeof(struct timespec);
  unsigned struct_sembuf_sz = sizeof(struct sembuf);
  unsigned struct_kevent_sz = sizeof(struct kevent);
@@ -91,7 +95,37 @@ $NetBSD$
  unsigned struct_utimbuf_sz = sizeof(struct utimbuf);
  unsigned struct_itimerspec_sz = sizeof(struct itimerspec);
  unsigned struct_timex_sz = sizeof(struct timex);
-@@ -1451,14 +1473,14 @@ unsigned IOCTL_PPPIOCGMTU = PPPIOCGMTU;
+@@ -350,7 +370,6 @@ unsigned struct_atabusiodetach_args_sz =
+ unsigned struct_atabusioscan_args_sz = sizeof(atabusioscan_args);
+ unsigned struct_ath_diag_sz = sizeof(ath_diag);
+ unsigned struct_atm_flowmap_sz = sizeof(atm_flowmap);
+-unsigned struct_atm_pseudoioctl_sz = sizeof(atm_pseudoioctl);
+ unsigned struct_audio_buf_info_sz = sizeof(audio_buf_info);
+ unsigned struct_audio_device_sz = sizeof(audio_device);
+ unsigned struct_audio_encoding_sz = sizeof(audio_encoding);
+@@ -596,7 +615,6 @@ unsigned struct_priq_delete_filter_sz = 
+ unsigned struct_priq_interface_sz = sizeof(priq_interface);
+ unsigned struct_priq_modify_class_sz = sizeof(priq_modify_class);
+ unsigned struct_ptmget_sz = sizeof(ptmget);
+-unsigned struct_pvctxreq_sz = sizeof(pvctxreq);
+ unsigned struct_radio_info_sz = sizeof(radio_info);
+ unsigned struct_red_conf_sz = sizeof(red_conf);
+ unsigned struct_red_interface_sz = sizeof(red_interface);
+@@ -1414,13 +1432,6 @@ unsigned IOCTL_BIOCSRTIMEOUT = BIOCSRTIM
+ unsigned IOCTL_BIOCGRTIMEOUT = BIOCGRTIMEOUT;
+ unsigned IOCTL_BIOCGFEEDBACK = BIOCGFEEDBACK;
+ unsigned IOCTL_BIOCSFEEDBACK = BIOCSFEEDBACK;
+-unsigned IOCTL_SIOCRAWATM = SIOCRAWATM;
+-unsigned IOCTL_SIOCATMENA = SIOCATMENA;
+-unsigned IOCTL_SIOCATMDIS = SIOCATMDIS;
+-unsigned IOCTL_SIOCSPVCTX = SIOCSPVCTX;
+-unsigned IOCTL_SIOCGPVCTX = SIOCGPVCTX;
+-unsigned IOCTL_SIOCSPVCSIF = SIOCSPVCSIF;
+-unsigned IOCTL_SIOCGPVCSIF = SIOCGPVCSIF;
+ unsigned IOCTL_GRESADDRS = GRESADDRS;
+ unsigned IOCTL_GRESADDRD = GRESADDRD;
+ unsigned IOCTL_GREGADDRS = GREGADDRS;
+@@ -1451,14 +1462,14 @@ unsigned IOCTL_PPPIOCGMTU = PPPIOCGMTU;
  unsigned IOCTL_PPPIOCSMTU = PPPIOCSMTU;
  unsigned IOCTL_SIOCGPPPSTATS = SIOCGPPPSTATS;
  unsigned IOCTL_SIOCGPPPCSTATS = SIOCGPPPCSTATS;
@@ -114,7 +148,7 @@ $NetBSD$
  unsigned IOCTL_PPPOESETPARMS = PPPOESETPARMS;
  unsigned IOCTL_PPPOEGETPARMS = PPPOEGETPARMS;
  unsigned IOCTL_PPPOEGETSESSION = PPPOEGETSESSION;
-@@ -1804,8 +1826,6 @@ unsigned IOCTL_MTIOCSLOCATE = MTIOCSLOCA
+@@ -1804,8 +1815,6 @@ unsigned IOCTL_MTIOCSLOCATE = MTIOCSLOCA
  unsigned IOCTL_MTIOCHLOCATE = MTIOCHLOCATE;
  unsigned IOCTL_POWER_EVENT_RECVDICT = POWER_EVENT_RECVDICT;
  unsigned IOCTL_POWER_IOC_GET_TYPE = POWER_IOC_GET_TYPE;
@@ -123,7 +157,7 @@ $NetBSD$
  unsigned IOCTL_RIOCGINFO = RIOCGINFO;
  unsigned IOCTL_RIOCSINFO = RIOCSINFO;
  unsigned IOCTL_RIOCSSRCH = RIOCSSRCH;
-@@ -2063,6 +2083,39 @@ unsigned IOCTL_SNDCTL_DSP_SILENCE = SNDC
+@@ -2063,6 +2072,39 @@ unsigned IOCTL_SNDCTL_DSP_SILENCE = SNDC
  
  const int si_SEGV_MAPERR = SEGV_MAPERR;
  const int si_SEGV_ACCERR = SEGV_ACCERR;
@@ -163,7 +197,7 @@ $NetBSD$
  }  // namespace __sanitizer
  
  using namespace __sanitizer;
-@@ -2224,4 +2277,10 @@ CHECK_SIZE_AND_OFFSET(group, gr_passwd);
+@@ -2224,4 +2266,10 @@ CHECK_SIZE_AND_OFFSET(group, gr_passwd);
  CHECK_SIZE_AND_OFFSET(group, gr_gid);
  CHECK_SIZE_AND_OFFSET(group, gr_mem);
  
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.h b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.h
index 28bd3cd409..61cefc9393 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.h
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.h
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- lib/sanitizer_common/sanitizer_platform_limits_netbsd.h.orig	2018-08-21 21:25:38.000000000 +0000
+--- lib/sanitizer_common/sanitizer_platform_limits_netbsd.h.orig	2018-10-26 19:38:23.831747259 +0000
 +++ lib/sanitizer_common/sanitizer_platform_limits_netbsd.h
 @@ -60,6 +60,15 @@ extern unsigned struct_timespec_sz;
  extern unsigned struct_sembuf_sz;
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.cc b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.cc
index 13e934cb79..39ea754850 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.cc
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.cc
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- lib/sanitizer_common/sanitizer_platform_limits_posix.cc.orig	2018-09-26 10:51:26.000000000 +0000
+--- lib/sanitizer_common/sanitizer_platform_limits_posix.cc.orig	2018-10-26 19:38:08.580505412 +0000
 +++ lib/sanitizer_common/sanitizer_platform_limits_posix.cc
 @@ -945,6 +945,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El
  
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h
index f1d3e332ff..fcedd6fa60 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- lib/sanitizer_common/sanitizer_platform_limits_posix.h.orig	2018-08-21 21:25:39.000000000 +0000
+--- lib/sanitizer_common/sanitizer_platform_limits_posix.h.orig	2018-10-26 19:38:24.423161043 +0000
 +++ lib/sanitizer_common/sanitizer_platform_limits_posix.h
 @@ -1504,6 +1504,7 @@ struct __sanitizer_cookie_io_functions_t
  
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__unwind__linux__libcdep.cc b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__unwind__linux__libcdep.cc
index 8d9d103baa..b5192a2c5f 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__unwind__linux__libcdep.cc
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__unwind__linux__libcdep.cc
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cc.orig	2018-08-21 21:25:40.000000000 +0000
+--- lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cc.orig	2018-10-26 19:38:22.479902612 +0000
 +++ lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cc
 @@ -97,7 +97,7 @@ uptr Unwind_GetIP(struct _Unwind_Context
    // Clear the Thumb bit.
diff --git a/compiler-rt-netbsd/patches/patch-lib_scudo_scudo__platform.h b/compiler-rt-netbsd/patches/patch-lib_scudo_scudo__platform.h
index 4cabee2f3d..735d6caac1 100644
--- a/compiler-rt-netbsd/patches/patch-lib_scudo_scudo__platform.h
+++ b/compiler-rt-netbsd/patches/patch-lib_scudo_scudo__platform.h
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- lib/scudo/scudo_platform.h.orig	2018-08-21 21:25:38.000000000 +0000
+--- lib/scudo/scudo_platform.h.orig	2018-10-26 19:38:04.308065269 +0000
 +++ lib/scudo/scudo_platform.h
 @@ -17,7 +17,7 @@
  
diff --git a/compiler-rt-netbsd/patches/patch-lib_tsan_CMakeLists.txt b/compiler-rt-netbsd/patches/patch-lib_tsan_CMakeLists.txt
index 4a288a28aa..e63e6b5fd3 100644
--- a/compiler-rt-netbsd/patches/patch-lib_tsan_CMakeLists.txt
+++ b/compiler-rt-netbsd/patches/patch-lib_tsan_CMakeLists.txt
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- lib/tsan/CMakeLists.txt.orig	2018-09-26 10:51:27.000000000 +0000
+--- lib/tsan/CMakeLists.txt.orig	2018-10-26 19:37:55.830797558 +0000
 +++ lib/tsan/CMakeLists.txt
 @@ -224,7 +224,7 @@ endif()
  # in the base system due to incompatibilities between FreeBSD's and Clang's
diff --git a/compiler-rt-netbsd/patches/patch-lib_xray_tests_CMakeLists.txt b/compiler-rt-netbsd/patches/patch-lib_xray_tests_CMakeLists.txt
index 236cad85e4..00f53bab46 100644
--- a/compiler-rt-netbsd/patches/patch-lib_xray_tests_CMakeLists.txt
+++ b/compiler-rt-netbsd/patches/patch-lib_xray_tests_CMakeLists.txt
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- lib/xray/tests/CMakeLists.txt.orig	2018-10-01 21:40:24.000000000 +0000
+--- lib/xray/tests/CMakeLists.txt.orig	2018-10-26 19:38:30.564890159 +0000
 +++ lib/xray/tests/CMakeLists.txt
 @@ -70,6 +70,7 @@ if (NOT APPLE)
      list(APPEND XRAY_UNITTEST_LINK_FLAGS -lLLVMXRay -lLLVMSupport -lLLVMTestingSupport)
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 df381415b0..70afea11ee 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,6 +1,6 @@
 $NetBSD$
 
---- test/asan/TestCases/intercept-rethrow-exception.cc.orig	2018-10-25 20:11:47.604570226 +0000
+--- test/asan/TestCases/intercept-rethrow-exception.cc.orig	2018-10-26 19:39:54.839975610 +0000
 +++ test/asan/TestCases/intercept-rethrow-exception.cc
 @@ -8,6 +8,9 @@
  // combination of libraries that are not used by default on NetBSD
diff --git a/compiler-rt-netbsd/patches/patch-test_asan_TestCases_interception__failure__test.cc b/compiler-rt-netbsd/patches/patch-test_asan_TestCases_interception__failure__test.cc
index 36abb20d49..f8dfd554e9 100644
--- a/compiler-rt-netbsd/patches/patch-test_asan_TestCases_interception__failure__test.cc
+++ b/compiler-rt-netbsd/patches/patch-test_asan_TestCases_interception__failure__test.cc
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- test/asan/TestCases/interception_failure_test.cc.orig	2018-08-21 21:25:31.000000000 +0000
+--- test/asan/TestCases/interception_failure_test.cc.orig	2018-10-26 19:39:55.142092080 +0000
 +++ test/asan/TestCases/interception_failure_test.cc
 @@ -5,7 +5,7 @@
  // RUN: %clangxx_asan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
diff --git a/compiler-rt-netbsd/patches/patch-test_msan_fork.cc b/compiler-rt-netbsd/patches/patch-test_msan_fork.cc
index baab70fcdc..b59255d267 100644
--- a/compiler-rt-netbsd/patches/patch-test_msan_fork.cc
+++ b/compiler-rt-netbsd/patches/patch-test_msan_fork.cc
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- test/msan/fork.cc.orig	2018-10-25 20:11:47.383363157 +0000
+--- test/msan/fork.cc.orig	2018-10-26 19:41:04.814752153 +0000
 +++ test/msan/fork.cc
 @@ -17,6 +17,9 @@
  // Sometimes hangs
diff --git a/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__ioctls.awk b/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__ioctls.awk
index 20b868d5eb..5282623cec 100644
--- a/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__ioctls.awk
+++ b/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__ioctls.awk
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- utils/generate_netbsd_ioctls.awk.orig	2018-08-21 21:25:37.000000000 +0000
+--- utils/generate_netbsd_ioctls.awk.orig	2018-10-26 19:41:22.632082148 +0000
 +++ utils/generate_netbsd_ioctls.awk
 @@ -314,6 +314,7 @@ FNR == 1 {
        $0 ~ /PRIQ_IF_DETACH/ ||


Home | Main Index | Thread Index | Old Index