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 apply -O1 more liberally for vax. fix...
details: https://anonhg.NetBSD.org/src/rev/abb35d3471d6
branches: trunk
changeset: 345802:abb35d3471d6
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Jun 09 07:11:08 2016 +0000
description:
apply -O1 more liberally for vax. fixes build.
diffstat:
external/gpl3/gcc/lib/Makefile.sanitizer | 8 +++++++-
external/gpl3/gcc/lib/libasan/Makefile | 3 ++-
external/gpl3/gcc/lib/libubsan/Makefile | 20 ++++++++++++--------
3 files changed, 21 insertions(+), 10 deletions(-)
diffs (79 lines):
diff -r 9d7cc5ec7c81 -r abb35d3471d6 external/gpl3/gcc/lib/Makefile.sanitizer
--- a/external/gpl3/gcc/lib/Makefile.sanitizer Thu Jun 09 05:43:51 2016 +0000
+++ b/external/gpl3/gcc/lib/Makefile.sanitizer Thu Jun 09 07:11:08 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.sanitizer,v 1.1 2016/06/01 22:48:55 christos Exp $
+# $NetBSD: Makefile.sanitizer,v 1.2 2016/06/09 07:11:08 mrg Exp $
SANITIZER=${GCCDIST}/libsanitizer
.PATH: ${SANITIZER}/interception ${SANITIZER}/sanitizer_common
@@ -69,8 +69,14 @@
#-fomit-frame-pointer
.if ${MACHINE_ARCH} == "vax"
+COPTS.sanitizer_allocator.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_printf.cc += -O1
+COPTS.sanitizer_procmaps_common.cc += -O1
COPTS.sanitizer_stackdepot.cc += -O1
+COPTS.sanitizer_symbolizer_libcdep.cc += -O1
.endif
diff -r 9d7cc5ec7c81 -r abb35d3471d6 external/gpl3/gcc/lib/libasan/Makefile
--- a/external/gpl3/gcc/lib/libasan/Makefile Thu Jun 09 05:43:51 2016 +0000
+++ b/external/gpl3/gcc/lib/libasan/Makefile Thu Jun 09 07:11:08 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2016/06/01 22:48:55 christos Exp $
+# $NetBSD: Makefile,v 1.17 2016/06/09 07:11:08 mrg Exp $
.include <bsd.own.mk>
@@ -36,6 +36,7 @@
.if ${MACHINE_ARCH} == "vax"
COPTS.asan_allocator2.cc += -O1
+COPTS.asan_report.cc += -O1
.endif
.include <bsd.lib.mk>
diff -r 9d7cc5ec7c81 -r abb35d3471d6 external/gpl3/gcc/lib/libubsan/Makefile
--- a/external/gpl3/gcc/lib/libubsan/Makefile Thu Jun 09 05:43:51 2016 +0000
+++ b/external/gpl3/gcc/lib/libubsan/Makefile Thu Jun 09 07:11:08 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2016/06/01 22:48:55 christos Exp $
+# $NetBSD: Makefile,v 1.2 2016/06/09 07:11:08 mrg Exp $
.include <bsd.own.mk>
.include "../Makefile.inc"
@@ -7,17 +7,21 @@
.PATH: ${SANITIZER}/ubsan
UBSAN_SRCS= \
-ubsan_diag.o \
-ubsan_flags.o \
-ubsan_handlers.o \
-ubsan_handlers_cxx.o \
-ubsan_init.o \
-ubsan_type_hash.o \
-ubsan_value.o
+ ubsan_diag.o \
+ ubsan_flags.o \
+ ubsan_handlers.o \
+ ubsan_handlers_cxx.o \
+ ubsan_init.o \
+ ubsan_type_hash.o \
+ ubsan_value.o
COPTS.ubsan_type_hash.cc+=-frtti
LIB= ubsan
SRCS+= ${UBSAN_SRCS}
+.if ${MACHINE_ARCH} == "vax"
+COPTS += -O1
+.endif
+
.include <bsd.lib.mk>
Home |
Main Index |
Thread Index |
Old Index