Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/lib vaxinate the sanitizer build.
details: https://anonhg.NetBSD.org/src/rev/83301563d70a
branches: trunk
changeset: 362911:83301563d70a
user: christos <christos%NetBSD.org@localhost>
date: Sun Jul 01 17:41:49 2018 +0000
description:
vaxinate the sanitizer build.
diffstat:
external/gpl3/gcc/lib/Makefile.sanitizer | 7 ++++++-
external/gpl3/gcc/lib/libasan/Makefile | 5 +----
external/gpl3/gcc/lib/liblsan/Makefile | 5 ++++-
external/gpl3/gcc/lib/libubsan/Makefile | 6 +-----
4 files changed, 12 insertions(+), 11 deletions(-)
diffs (84 lines):
diff -r fa0c4a65cf01 -r 83301563d70a external/gpl3/gcc/lib/Makefile.sanitizer
--- a/external/gpl3/gcc/lib/Makefile.sanitizer Sun Jul 01 15:33:29 2018 +0000
+++ b/external/gpl3/gcc/lib/Makefile.sanitizer Sun Jul 01 17:41:49 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.sanitizer,v 1.5 2018/06/09 22:40:00 christos Exp $
+# $NetBSD: Makefile.sanitizer,v 1.6 2018/07/01 17:41:49 christos Exp $
SANITIZER=${GCCDIST}/libsanitizer
.PATH: ${SANITIZER}/interception ${SANITIZER}/sanitizer_common
@@ -79,13 +79,18 @@
.if ${MACHINE_ARCH} == "vax"
COPTS.sanitizer_allocator.cc += -O1
+COPTS.sanitizer_common.cc += -O1
+COPTS.sanitizer_common_libcdep.cc += -O1
COPTS.sanitizer_coverage_libcdep.cc += -O1
COPTS.sanitizer_coverage_mapping_libcdep.cc += -O1
COPTS.sanitizer_deadlock_detector1.cc += -O1
COPTS.sanitizer_mac.cc += -O1
COPTS.sanitizer_netbsd.cc += -O1
+COPTS.sanitizer_posix.cc += -O1
COPTS.sanitizer_printf.cc += -O1
COPTS.sanitizer_procmaps_common.cc += -O1
COPTS.sanitizer_stackdepot.cc += -O1
COPTS.sanitizer_symbolizer_libcdep.cc += -O1
+COPTS.ubsan_diag.cc += -O1
+COPTS.ubsan_init.cc += -O1
.endif
diff -r fa0c4a65cf01 -r 83301563d70a external/gpl3/gcc/lib/libasan/Makefile
--- a/external/gpl3/gcc/lib/libasan/Makefile Sun Jul 01 15:33:29 2018 +0000
+++ b/external/gpl3/gcc/lib/libasan/Makefile Sun Jul 01 17:41:49 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2018/06/28 10:15:01 christos Exp $
+# $NetBSD: Makefile,v 1.26 2018/07/01 17:41:49 christos Exp $
UNSUPPORTED_COMPILER.clang= # defined
NOSANITIZER= # defined
@@ -43,9 +43,6 @@
.if ${MACHINE_ARCH} == "vax"
COPTS.asan_allocator.cc += -O1
COPTS.asan_report.cc += -O1
-COPTS.sanitizer_common.cc += -O1
-COPTS.sanitizer_common_libcdep.cc += -O1
-COPTS.sanitizer_posix.cc += -O1
COPTS.ubsan_diag.cc += -O1
COPTS.ubsan_init.cc += -O1
.endif
diff -r fa0c4a65cf01 -r 83301563d70a external/gpl3/gcc/lib/liblsan/Makefile
--- a/external/gpl3/gcc/lib/liblsan/Makefile Sun Jul 01 15:33:29 2018 +0000
+++ b/external/gpl3/gcc/lib/liblsan/Makefile Sun Jul 01 17:41:49 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/06/26 21:06:45 christos Exp $
+# $NetBSD: Makefile,v 1.3 2018/07/01 17:41:50 christos Exp $
.include <bsd.own.mk>
@@ -16,6 +16,9 @@
lsan_preinit.cc \
lsan_thread.cc
+.if ${MACHINE_ARCH} == "vax"
+COPTS.lsan_allocator.cc += -O1
+.endif
LIB= lsan
SRCS+= ${LSAN_SRCS}
diff -r fa0c4a65cf01 -r 83301563d70a external/gpl3/gcc/lib/libubsan/Makefile
--- a/external/gpl3/gcc/lib/libubsan/Makefile Sun Jul 01 15:33:29 2018 +0000
+++ b/external/gpl3/gcc/lib/libubsan/Makefile Sun Jul 01 17:41:49 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2018/06/11 15:29:33 christos Exp $
+# $NetBSD: Makefile,v 1.8 2018/07/01 17:41:50 christos Exp $
UNSUPPORTED_COMPILER.clang= # defined
LIBISCXX = yes
@@ -31,8 +31,4 @@
SRCS+= ${UBSAN_SRCS}
LIBDPLIBS+= rt ${NETBSDSRCDIR}/lib/librt
-.if ${MACHINE_ARCH} == "vax"
-COPTS += -O1
-.endif
-
.include <bsd.lib.mk>
Home |
Main Index |
Thread Index |
Old Index