pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
compiler-rt-netbsd: Update to SVN r. 324817
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Sat Feb 10 19:59:31 2018 +0100
Changeset: 7b9e43ffac7efb52c17946409d2cf1994ca817ce
Modified Files:
compiler-rt-netbsd/Makefile
compiler-rt-netbsd/distinfo
compiler-rt-netbsd/patches/patch-include_sanitizer_netbsd__syscall__hooks.h
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__common__interceptors.inc
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__internal__defs.h
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux.cc
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc
compiler-rt-netbsd/patches/patch-lib_tsan_rtl_tsan__interceptors.cc
compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__open.cc
compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__openfiles.cc
compiler-rt-netbsd/patches/patch-utils_generate__netbsd__ioctls.awk
compiler-rt-netbsd/patches/patch-utils_generate__netbsd__syscalls.awk
Log Message:
compiler-rt-netbsd: Update to SVN r. 324817
Patches incorporated upstream:
----------------------------------------------------------------------
Author: kamil
Date: Sat Feb 10 06:36:55 2018
New Revision: 324810
URL: http://llvm.org/viewvc/llvm-project?rev=324810&view=rev
Log:
Mark the textdomain.cc test as unsupported on BSDs
textdomain is a part of -lintl on BSDs. In GLIBC it's in libc.
We assume that -lintl will need to be rebuilt with sanitizers
in order to sanitize programs using its features.
This is a proper continuation of D41013.
The original patch has been reverted (adding -lintl).
Modified:
compiler-rt/trunk/test/msan/textdomain.cc
----------------------------------------------------------------------
Author: kamil
Date: Sat Feb 10 06:44:12 2018
New Revision: 324811
URL: http://llvm.org/viewvc/llvm-project?rev=324811&view=rev
Log:
Correct a typo in tsan_pthread_setname_np in the FreeBSD code
Noted by David CARLIER.
Modified:
compiler-rt/trunk/test/tsan/thread_name.cc
----------------------------------------------------------------------
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=7b9e43ffac7efb52c17946409d2cf1994ca817ce
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 | 22 +++++++++++-----------
...atch-include_sanitizer_netbsd__syscall__hooks.h | 2 +-
...zer__common_sanitizer__common__interceptors.inc | 2 +-
...b_sanitizer__common_sanitizer__internal__defs.h | 4 ++--
...patch-lib_sanitizer__common_sanitizer__linux.cc | 7 +------
...mmon_sanitizer__netbsd__interceptors__ioctl.inc | 2 +-
...nitizer__common_sanitizer__netbsd__syscalls.inc | 2 +-
.../patch-lib_tsan_rtl_tsan__interceptors.cc | 6 +++---
...sanitizer__common_TestCases_NetBSD_kvm__open.cc | 2 +-
...izer__common_TestCases_NetBSD_kvm__openfiles.cc | 2 +-
.../patch-utils_generate__netbsd__ioctls.awk | 2 +-
.../patch-utils_generate__netbsd__syscalls.awk | 2 +-
13 files changed, 26 insertions(+), 31 deletions(-)
diffs:
diff --git a/compiler-rt-netbsd/Makefile b/compiler-rt-netbsd/Makefile
index 9833d71731..4e493f355b 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= 324350
+SVN_REVISION.compiler-rt= 324817
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 4a0f35dbc2..b2ed059b5d 100644
--- a/compiler-rt-netbsd/distinfo
+++ b/compiler-rt-netbsd/distinfo
@@ -2,7 +2,7 @@ $NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
SHA1 (patch-cmake_config-ix.cmake) = 7425d12d9601544fe12d5f4e242682c085893b71
SHA1 (patch-include_CMakeLists.txt) = c9dc00e80ac7416993aa0355321e405856940478
-SHA1 (patch-include_sanitizer_netbsd__syscall__hooks.h) = 873ecc437549e4051c8643075bee585aff11d287
+SHA1 (patch-include_sanitizer_netbsd__syscall__hooks.h) = 8c681157564802b365f8599fca18dcc7bac4c585
SHA1 (patch-lib_asan_asan__interceptors.cc) = 0dcc154820dcef2de65c3f0cdcec2ea365123f1e
SHA1 (patch-lib_esan_esan__interceptors.cpp) = 2e3e300201e5cc20d612cb0847a0a3c624b73f30
SHA1 (patch-lib_fuzzer_tests_CMakeLists.txt) = 766b817c2ede73ca90d6e25a4b8330ed3d38b84b
@@ -10,22 +10,22 @@ SHA1 (patch-lib_hwasan_hwasan__interceptors.cc) = 27038b764c7d3d4f1885d85dc6d76c
SHA1 (patch-lib_msan_msan__interceptors.cc) = f6388495e44c2ddf2cdfa4cf59e9da0e5e60c2d7
SHA1 (patch-lib_msan_msan__linux.cc) = 6fd2ada4a84d1e1cc47ec8f4e1f0608861c73c1a
SHA1 (patch-lib_sanitizer__common_CMakeLists.txt) = 2a0a50c9fccf4be9328aa5ecd7c55adace841fe8
-SHA1 (patch-lib_sanitizer__common_sanitizer__common__interceptors.inc) = aff135238c508ff980f6f152a991137e0b65cdeb
+SHA1 (patch-lib_sanitizer__common_sanitizer__common__interceptors.inc) = 6940f3471b150c28b27d3f04130ea3dcff855f2c
SHA1 (patch-lib_sanitizer__common_sanitizer__common__interceptors__ioctl.inc) = a4b00d19eb5528a320255e8b0dcbaf07f1f8aa16
-SHA1 (patch-lib_sanitizer__common_sanitizer__internal__defs.h) = 98e01b9e2ba822b2e9c49bd7a7f0eda169b711b9
-SHA1 (patch-lib_sanitizer__common_sanitizer__linux.cc) = a9d86ca4c434faca53db8ccb81f96a44ca309a0f
-SHA1 (patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc) = 25ac3a65d11d126d141740fb14c50266d40d6641
-SHA1 (patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc) = 4e10c98f6522961866f004ece54a8cebf2b43d1b
+SHA1 (patch-lib_sanitizer__common_sanitizer__internal__defs.h) = 84b0d2d13a2cbd95f74f8ddc7a97c336c89cc360
+SHA1 (patch-lib_sanitizer__common_sanitizer__linux.cc) = 78b0e6008c8f68dd7ded078234f324da8b3a892a
+SHA1 (patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc) = fbb86e0ee2aedd068eb3ec005fccdc23fa8ffe91
+SHA1 (patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc) = e3e4ec84d4bcc2d6e083835fd3178f51aa1e6d8a
SHA1 (patch-lib_sanitizer__common_sanitizer__platform__interceptors.h) = 5453ac9ab3ae264c521c433330f5dc77e1ed5c44
SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cc) = 8100b7170b8c4adf7b13adf3c998a233e6623aff
SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.h) = dde2e7de842e50ae9db534f9f441e0eb49e6dce4
SHA1 (patch-lib_sanitizer__common_sanitizer__procmaps__freebsd.cc) = c6459f21789a5ef13e37714487c09110062c9c5d
SHA1 (patch-lib_scudo_scudo__platform.h) = 119d7ad8f8ca9d3e846dbdd7f805ca771e30e410
-SHA1 (patch-lib_tsan_rtl_tsan__interceptors.cc) = 374bbfc9c58fdb43d7d0ede549a01bb0a372f1aa
+SHA1 (patch-lib_tsan_rtl_tsan__interceptors.cc) = dcf8791e93efac0704d735e26658589609f45dfd
SHA1 (patch-test_asan_lit.cfg) = e36362ff6a14efbb54452fd3699ad00f0d9bba1c
SHA1 (patch-test_lsan_lit.common.cfg) = b09b4ab3a97dc881b701a3583b0b126b8206cfe2
-SHA1 (patch-test_sanitizer__common_TestCases_NetBSD_kvm__open.cc) = 44df1488c9211d8ce818c843263f599f181d7014
-SHA1 (patch-test_sanitizer__common_TestCases_NetBSD_kvm__openfiles.cc) = 5e7bd141d68ec1cd09d2e93b3824ad75a6d52dfa
+SHA1 (patch-test_sanitizer__common_TestCases_NetBSD_kvm__open.cc) = d63ea442226e1cc5973359e72f24354fb3de5613
+SHA1 (patch-test_sanitizer__common_TestCases_NetBSD_kvm__openfiles.cc) = a837b93b2c6ad49794a78c4168bdd6feb7722fb5
SHA1 (patch-test_scudo_lit.cfg) = 35e4f0524a8fd26e90e5d968b73d75f277da3779
-SHA1 (patch-utils_generate__netbsd__ioctls.awk) = 671a2985db87163ef5b8883b5fad872103355644
-SHA1 (patch-utils_generate__netbsd__syscalls.awk) = 8d47a2580aa63ed656a56702960368a3ce255d25
+SHA1 (patch-utils_generate__netbsd__ioctls.awk) = c41e526408c357f27a41b8e33c500f85c6601b04
+SHA1 (patch-utils_generate__netbsd__syscalls.awk) = a7cab600b2251f09c8c73ba661fd20e329f7b11d
diff --git a/compiler-rt-netbsd/patches/patch-include_sanitizer_netbsd__syscall__hooks.h b/compiler-rt-netbsd/patches/patch-include_sanitizer_netbsd__syscall__hooks.h
index 334acd4fa8..a44ba080c7 100644
--- a/compiler-rt-netbsd/patches/patch-include_sanitizer_netbsd__syscall__hooks.h
+++ b/compiler-rt-netbsd/patches/patch-include_sanitizer_netbsd__syscall__hooks.h
@@ -1,6 +1,6 @@
$NetBSD$
---- include/sanitizer/netbsd_syscall_hooks.h.orig 2018-02-06 15:16:34.851249698 +0000
+--- include/sanitizer/netbsd_syscall_hooks.h.orig 2018-02-10 18:57:38.719272539 +0000
+++ include/sanitizer/netbsd_syscall_hooks.h
@@ -0,0 +1,4730 @@
+//===-- netbsd_syscall_hooks.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 fbb3b6899a..1f87430d54 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-02-06 15:16:27.867133351 +0000
+--- lib/sanitizer_common/sanitizer_common_interceptors.inc.orig 2018-02-06 15:16:27.000000000 +0000
+++ lib/sanitizer_common/sanitizer_common_interceptors.inc
@@ -36,6 +36,7 @@
// COMMON_INTERCEPTOR_MEMCPY_IMPL
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 b56ae55061..3b9c63be05 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,8 +1,8 @@
$NetBSD$
---- lib/sanitizer_common/sanitizer_internal_defs.h.orig 2018-02-06 15:16:27.866413846 +0000
+--- lib/sanitizer_common/sanitizer_internal_defs.h.orig 2018-02-10 18:57:25.232672724 +0000
+++ lib/sanitizer_common/sanitizer_internal_defs.h
-@@ -183,7 +183,9 @@ typedef uptr tid_t;
+@@ -186,7 +186,9 @@ typedef uptr tid_t;
// This header should NOT include any other headers to avoid portability issues.
// Common defs.
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux.cc b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux.cc
index 30673d46d9..ec13f11e47 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux.cc
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux.cc
@@ -1,6 +1,6 @@
$NetBSD$
---- lib/sanitizer_common/sanitizer_linux.cc.orig 2018-02-01 23:46:05.000000000 +0000
+--- lib/sanitizer_common/sanitizer_linux.cc.orig 2018-02-10 18:57:25.232382620 +0000
+++ lib/sanitizer_common/sanitizer_linux.cc
@@ -89,6 +89,7 @@ extern char **environ; // provided by c
@@ -10,8 +10,3 @@ $NetBSD$
#include <sys/sysctl.h>
extern char **environ; // provided by crt1
#include <sys/exec.h>
-@@ -1898,4 +1899,3 @@ bool GetRandom(void *buffer, uptr length
-
- #endif // SANITIZER_FREEBSD || SANITIZER_LINUX || SANITIZER_NETBSD ||
- // SANITIZER_SOLARIS
--
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc
index 333ad05a51..35320637d9 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__interceptors__ioctl.inc
@@ -1,6 +1,6 @@
$NetBSD$
---- lib/sanitizer_common/sanitizer_netbsd_interceptors_ioctl.inc.orig 2018-02-06 15:16:34.856105762 +0000
+--- lib/sanitizer_common/sanitizer_netbsd_interceptors_ioctl.inc.orig 2018-02-10 18:57:38.722150355 +0000
+++ lib/sanitizer_common/sanitizer_netbsd_interceptors_ioctl.inc
@@ -0,0 +1,1490 @@
+//===-- sanitizer_common_interceptors_ioctl.inc -----------------*- C++ -*-===//
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc
index 3c24c8d98b..b4cce22870 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__netbsd__syscalls.inc
@@ -1,6 +1,6 @@
$NetBSD$
---- lib/sanitizer_common/sanitizer_netbsd_syscalls.inc.orig 2018-02-06 15:16:34.857012791 +0000
+--- lib/sanitizer_common/sanitizer_netbsd_syscalls.inc.orig 2018-02-10 18:57:38.722991033 +0000
+++ lib/sanitizer_common/sanitizer_netbsd_syscalls.inc
@@ -0,0 +1,3793 @@
+//===-- sanitizer_common_syscalls.inc ---------------------------*- C++ -*-===//
diff --git a/compiler-rt-netbsd/patches/patch-lib_tsan_rtl_tsan__interceptors.cc b/compiler-rt-netbsd/patches/patch-lib_tsan_rtl_tsan__interceptors.cc
index 65163d2242..05264a6ac2 100644
--- a/compiler-rt-netbsd/patches/patch-lib_tsan_rtl_tsan__interceptors.cc
+++ b/compiler-rt-netbsd/patches/patch-lib_tsan_rtl_tsan__interceptors.cc
@@ -1,8 +1,8 @@
$NetBSD$
---- lib/tsan/rtl/tsan_interceptors.cc.orig 2018-02-01 23:46:00.000000000 +0000
+--- lib/tsan/rtl/tsan_interceptors.cc.orig 2018-02-10 18:57:25.045360215 +0000
+++ lib/tsan/rtl/tsan_interceptors.cc
-@@ -2426,7 +2426,7 @@ struct ScopedSyscall {
+@@ -2424,7 +2424,7 @@ struct ScopedSyscall {
}
};
@@ -11,7 +11,7 @@ $NetBSD$
static void syscall_access_range(uptr pc, uptr p, uptr s, bool write) {
TSAN_SYSCALL();
MemoryAccessRange(thr, pc, p, s, write);
-@@ -2519,6 +2519,7 @@ static void syscall_post_fork(uptr pc, i
+@@ -2517,6 +2517,7 @@ static void syscall_post_fork(uptr pc, i
syscall_post_fork(GET_CALLER_PC(), res)
#include "sanitizer_common/sanitizer_common_syscalls.inc"
diff --git a/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__open.cc b/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__open.cc
index 033bf64348..51ba7b70e6 100644
--- a/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__open.cc
+++ b/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__open.cc
@@ -1,6 +1,6 @@
$NetBSD$
---- test/sanitizer_common/TestCases/NetBSD/kvm_open.cc.orig 2018-02-06 15:16:34.859277674 +0000
+--- test/sanitizer_common/TestCases/NetBSD/kvm_open.cc.orig 2018-02-10 18:57:38.725017088 +0000
+++ test/sanitizer_common/TestCases/NetBSD/kvm_open.cc
@@ -0,0 +1,13 @@
+// RUN: %clangxx -O0 -g %s -o %t && %run %t
diff --git a/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__openfiles.cc b/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__openfiles.cc
index d0b95c369a..e575da216d 100644
--- a/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__openfiles.cc
+++ b/compiler-rt-netbsd/patches/patch-test_sanitizer__common_TestCases_NetBSD_kvm__openfiles.cc
@@ -1,6 +1,6 @@
$NetBSD$
---- test/sanitizer_common/TestCases/NetBSD/kvm_openfiles.cc.orig 2018-02-06 15:16:34.859364347 +0000
+--- test/sanitizer_common/TestCases/NetBSD/kvm_openfiles.cc.orig 2018-02-10 18:57:38.725095401 +0000
+++ test/sanitizer_common/TestCases/NetBSD/kvm_openfiles.cc
@@ -0,0 +1,13 @@
+// RUN: %clangxx -O0 -g %s -o %t && %run %t
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 895678bde0..05f0497515 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-02-06 15:16:34.859687852 +0000
+--- utils/generate_netbsd_ioctls.awk.orig 2018-02-10 18:57:38.725381657 +0000
+++ utils/generate_netbsd_ioctls.awk
@@ -0,0 +1,755 @@
+#!/usr/bin/awk -f
diff --git a/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__syscalls.awk b/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__syscalls.awk
index 45a6e7f6dc..cd31d30cae 100644
--- a/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__syscalls.awk
+++ b/compiler-rt-netbsd/patches/patch-utils_generate__netbsd__syscalls.awk
@@ -1,6 +1,6 @@
$NetBSD$
---- utils/generate_netbsd_syscalls.awk.orig 2018-02-06 15:16:34.860396042 +0000
+--- utils/generate_netbsd_syscalls.awk.orig 2018-02-10 18:57:38.726027395 +0000
+++ utils/generate_netbsd_syscalls.awk
@@ -0,0 +1,2989 @@
+#!/usr/bin/awk -f
Home |
Main Index |
Thread Index |
Old Index