pkgsrc-WIP-changes archive

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

gcc8snapshot: Fix asan+ubsan on NetBSD/amd64



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Wed Oct 25 04:35:11 2017 +0200
Changeset:	e036f08fe163483c9eb1fc2c38de40cec782868e

Modified Files:
	gcc8snapshot/distinfo
	gcc8snapshot/patches/patch-libsanitizer_sanitizer__common_Makefile.in

Log Message:
gcc8snapshot: Fix asan+ubsan on NetBSD/amd64

ubsan works
asan works modulo a nit with missing function to provide additional info.

asan issue is shared with LLVM and for now skipped as not crucial.

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

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

diffstat:
 gcc8snapshot/distinfo                                  |  2 +-
 .../patch-libsanitizer_sanitizer__common_Makefile.in   | 18 +++++++++++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)

diffs:
diff --git a/gcc8snapshot/distinfo b/gcc8snapshot/distinfo
index 6a9656e3e7..8be48dec8b 100644
--- a/gcc8snapshot/distinfo
+++ b/gcc8snapshot/distinfo
@@ -33,7 +33,7 @@ SHA1 (patch-libgfortran_configure) = 869a60fd08edecf18a42732dcbf226bad1309394
 SHA1 (patch-libgo_Makefile.in) = 612987541f745c7be6835ce7fb7119884db294c3
 SHA1 (patch-libsanitizer_configure.tgt) = 0a47782f01631d1c91e28a8735865c8571fbcf7d
 SHA1 (patch-libsanitizer_sanitizer__common_Makefile.am) = 4cf6c4f5189078e8f092bfefc1f57ff32d5319ee
-SHA1 (patch-libsanitizer_sanitizer__common_Makefile.in) = 3394b7bc8c2ff0765e82ea7506aa77e7c00e7ff1
+SHA1 (patch-libsanitizer_sanitizer__common_Makefile.in) = 62382c683e98bd8f2f27bd07ef01bdfadcdf256a
 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_sanitizer__common_Makefile.in b/gcc8snapshot/patches/patch-libsanitizer_sanitizer__common_Makefile.in
index 5b758ecf24..080035c82c 100644
--- a/gcc8snapshot/patches/patch-libsanitizer_sanitizer__common_Makefile.in
+++ b/gcc8snapshot/patches/patch-libsanitizer_sanitizer__common_Makefile.in
@@ -2,7 +2,15 @@ $NetBSD$
 
 --- libsanitizer/sanitizer_common/Makefile.in.orig	2017-10-22 22:33:06.000000000 +0000
 +++ libsanitizer/sanitizer_common/Makefile.in
-@@ -322,6 +322,7 @@ sanitizer_common_files = \
+@@ -91,6 +91,7 @@ am__objects_1 = sancov_flags.lo sanitize
+ 	sanitizer_mac.lo sanitizer_mac_libcdep.lo \
+ 	sanitizer_persistent_allocator.lo \
+ 	sanitizer_platform_limits_linux.lo \
++	sanitizer_platform_limits_netbsd.lo \
+ 	sanitizer_platform_limits_posix.lo sanitizer_posix.lo \
+ 	sanitizer_posix_libcdep.lo sanitizer_printf.lo \
+ 	sanitizer_procmaps_common.lo sanitizer_procmaps_freebsd.lo \
+@@ -322,6 +323,7 @@ sanitizer_common_files = \
  	sanitizer_mac_libcdep.cc \
  	sanitizer_persistent_allocator.cc \
  	sanitizer_platform_limits_linux.cc \
@@ -10,3 +18,11 @@ $NetBSD$
  	sanitizer_platform_limits_posix.cc \
  	sanitizer_posix.cc \
  	sanitizer_posix_libcdep.cc \
+@@ -468,6 +470,7 @@ distclean-compile:
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sanitizer_mac_libcdep.Plo@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sanitizer_persistent_allocator.Plo@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sanitizer_platform_limits_linux.Plo@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sanitizer_platform_limits_netbsd.Plo@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sanitizer_platform_limits_posix.Plo@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sanitizer_posix.Plo@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sanitizer_posix_libcdep.Plo@am__quote@


Home | Main Index | Thread Index | Old Index