pkgsrc-WIP-changes archive

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

gcc8snapshot: Enable libsanitizer on NetBSD/amd64



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Oct 24 05:27:45 2017 +0200
Changeset:	da69d4c98c0dfe8a4c1411788f76be39997fba3e

Modified Files:
	gcc8snapshot/distinfo
	gcc8snapshot/patches/patch-libsanitizer_configure.tgt

Log Message:
gcc8snapshot: Enable libsanitizer on NetBSD/amd64

Enable asan + ubsan.

NetBSD support has been merged upstream (originated from LLVM).

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

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

diffstat:
 gcc8snapshot/distinfo                                 |  2 +-
 gcc8snapshot/patches/patch-libsanitizer_configure.tgt | 10 ++++++++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diffs:
diff --git a/gcc8snapshot/distinfo b/gcc8snapshot/distinfo
index 3a8633c9e9..3e73efc75b 100644
--- a/gcc8snapshot/distinfo
+++ b/gcc8snapshot/distinfo
@@ -30,7 +30,7 @@ SHA1 (patch-libgcc_config_i386_cpuinfo.h) = 2c55385a9440d4991eb265f24e98ba68eef2
 SHA1 (patch-libgcc_crtstuff.c) = e3a3b02a26229992851f195b5701cb1b86c29efe
 SHA1 (patch-libgfortran_configure) = 869a60fd08edecf18a42732dcbf226bad1309394
 SHA1 (patch-libgo_Makefile.in) = 612987541f745c7be6835ce7fb7119884db294c3
-SHA1 (patch-libsanitizer_configure.tgt) = 0aff54104734b2cb21090e33f9304738946ea5a0
+SHA1 (patch-libsanitizer_configure.tgt) = 0a47782f01631d1c91e28a8735865c8571fbcf7d
 SHA1 (patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h) = 014d442c885b9c51d1a4af05205279c274a9559d
 SHA1 (patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc) = 06bba6da02344f76c26eed765a7cb022c035994e
 SHA1 (patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h) = 626fc1f9c035ac5cef30a92d525af4e778835ebf
diff --git a/gcc8snapshot/patches/patch-libsanitizer_configure.tgt b/gcc8snapshot/patches/patch-libsanitizer_configure.tgt
index de02d58048..6b00f3fafa 100644
--- a/gcc8snapshot/patches/patch-libsanitizer_configure.tgt
+++ b/gcc8snapshot/patches/patch-libsanitizer_configure.tgt
@@ -1,8 +1,8 @@
 $NetBSD: patch-libsanitizer_configure.tgt,v 1.1 2017/05/03 00:21:03 maya Exp $
 
---- libsanitizer/configure.tgt.orig	2015-11-23 09:07:18.000000000 +0000
+--- libsanitizer/configure.tgt.orig	2017-10-05 10:39:32.000000000 +0000
 +++ libsanitizer/configure.tgt
-@@ -41,7 +41,7 @@ case "${target}" in
+@@ -52,9 +52,13 @@ case "${target}" in
  		TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_aarch64.lo
  	fi
  	;;
@@ -10,4 +10,10 @@ $NetBSD: patch-libsanitizer_configure.tgt,v 1.1 2017/05/03 00:21:03 maya Exp $
 +  x86_64-*-darwin[1][1-9]* | i?86-*-darwin[1][1-9]*)
  	TSAN_SUPPORTED=no
  	;;
++  x86_64-*-netbsd*)
++	TSAN_SUPPORTED=no
++	LSAN_SUPPORTED=no
++	;;
    *)
+ 	UNSUPPORTED=1
+ 	;;


Home | Main Index | Thread Index | Old Index