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 WARNS=1



details:   https://anonhg.NetBSD.org/src/rev/26019fc2c4a4
branches:  trunk
changeset: 814936:26019fc2c4a4
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Apr 20 17:18:52 2016 +0000

description:
WARNS=1

diffstat:

 external/gpl3/gcc/lib/Makefile.inc           |   4 ++-
 external/gpl3/gcc/lib/libgomp/Makefile       |   5 ++-
 external/gpl3/gcc/lib/libiberty/Makefile     |  11 ++++----
 external/gpl3/gcc/lib/liblto_plugin/Makefile |   3 +-
 external/gpl3/gcc/lib/libobjc/Makefile       |   4 ++-
 external/gpl3/gcc/lib/libstdc++-v3/Makefile  |  34 +++++++++++++++------------
 external/gpl3/gcc/lib/libsupc++/Makefile     |   4 +-
 7 files changed, 38 insertions(+), 27 deletions(-)

diffs (164 lines):

diff -r 421964f0be29 -r 26019fc2c4a4 external/gpl3/gcc/lib/Makefile.inc
--- a/external/gpl3/gcc/lib/Makefile.inc        Wed Apr 20 15:46:08 2016 +0000
+++ b/external/gpl3/gcc/lib/Makefile.inc        Wed Apr 20 17:18:52 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.3 2014/06/01 19:51:01 mrg Exp $
+#      $NetBSD: Makefile.inc,v 1.4 2016/04/20 17:18:52 christos Exp $
 
 GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5/earm/}
 
@@ -9,4 +9,6 @@
 .sinclude "../../../Makefile.gcc_path"
 .sinclude "../../../../Makefile.gcc_path"
 
+WARNS=1
+
 .endif
diff -r 421964f0be29 -r 26019fc2c4a4 external/gpl3/gcc/lib/libgomp/Makefile
--- a/external/gpl3/gcc/lib/libgomp/Makefile    Wed Apr 20 15:46:08 2016 +0000
+++ b/external/gpl3/gcc/lib/libgomp/Makefile    Wed Apr 20 17:18:52 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.15 2016/03/15 06:12:30 mrg Exp $
+#      $NetBSD: Makefile,v 1.16 2016/04/20 17:18:52 christos Exp $
 
 # build GCC's libgomp, so that -fopenmp works.
 
@@ -86,6 +86,7 @@
 
 .include <bsd.lib.mk>
 
-COPTS+=        -Wno-stack-protector
+COPTS+=        -Wno-stack-protector -Wno-missing-prototypes
+COPTS.oacc-mem.c+= -Wno-pointer-arith
 
 .PATH: ${ARCHDIR} ${DIST}/libgomp ${DIST}/libgomp/config/posix
diff -r 421964f0be29 -r 26019fc2c4a4 external/gpl3/gcc/lib/libiberty/Makefile
--- a/external/gpl3/gcc/lib/libiberty/Makefile  Wed Apr 20 15:46:08 2016 +0000
+++ b/external/gpl3/gcc/lib/libiberty/Makefile  Wed Apr 20 17:18:52 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2014/06/01 19:51:01 mrg Exp $
+#      $NetBSD: Makefile,v 1.8 2016/04/20 17:18:52 christos Exp $
 
 LIBISPRIVATE=  yes
 
@@ -19,10 +19,11 @@
 CPPFLAGS+=     -DHAVE_CONFIG_H -I${.CURDIR}/arch/${GCC_MACHINE_ARCH} \
                -I${DIST}/include
 
-COPTS.argv.c = -Wno-stack-protector
-COPTS.cp-demangle.c = -Wno-stack-protector
-COPTS.make-relative-prefix.c = -Wno-stack-protector
-COPTS.regex.c = -Wno-stack-protector
+COPTS.argv.c += -Wno-stack-protector
+COPTS.cp-demangle.c += -Wno-stack-protector
+COPTS.make-relative-prefix.c += -Wno-stack-protector
+COPTS.regex.c += -Wno-stack-protector
+COPTS += -Wno-missing-prototypes
 
 CWARNFLAGS.clang+=     -Wno-unused-value
 
diff -r 421964f0be29 -r 26019fc2c4a4 external/gpl3/gcc/lib/liblto_plugin/Makefile
--- a/external/gpl3/gcc/lib/liblto_plugin/Makefile      Wed Apr 20 15:46:08 2016 +0000
+++ b/external/gpl3/gcc/lib/liblto_plugin/Makefile      Wed Apr 20 17:18:52 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2015/01/07 02:06:23 christos Exp $
+#      $NetBSD: Makefile,v 1.4 2016/04/20 17:18:52 christos Exp $
 
 .include <bsd.init.mk>
 .include <bsd.shlib.mk>
@@ -54,6 +54,7 @@
 .include <bsd.lib.mk>
 
 .PATH: ${DIST}/lto-plugin ${DIST}/libiberty
+COPTS.lto-plugin.c+= -Wno-missing-prototypes
 
 .else
 .include <bsd.prog.mk> # do nothing
diff -r 421964f0be29 -r 26019fc2c4a4 external/gpl3/gcc/lib/libobjc/Makefile
--- a/external/gpl3/gcc/lib/libobjc/Makefile    Wed Apr 20 15:46:08 2016 +0000
+++ b/external/gpl3/gcc/lib/libobjc/Makefile    Wed Apr 20 17:18:52 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.14 2016/03/16 05:44:16 mrg Exp $
+#      $NetBSD: Makefile,v 1.15 2016/04/20 17:18:52 christos Exp $
 
 REQUIRETOOLS=  yes
 NOLINT=                # defined
@@ -125,3 +125,5 @@
 
 COPTS.archive.c+=      -Wno-error
 COPTS.sendmsg.c+=      -Wno-error
+COPTS.encoding.c+=     -Wno-pointer-arith      # sizeof(void)
+COPTS+=                        -Wno-missing-prototypes
diff -r 421964f0be29 -r 26019fc2c4a4 external/gpl3/gcc/lib/libstdc++-v3/Makefile
--- a/external/gpl3/gcc/lib/libstdc++-v3/Makefile       Wed Apr 20 15:46:08 2016 +0000
+++ b/external/gpl3/gcc/lib/libstdc++-v3/Makefile       Wed Apr 20 17:18:52 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.23 2016/03/17 00:55:54 christos Exp $
+#      $NetBSD: Makefile,v 1.24 2016/04/20 17:18:52 christos Exp $
 
 REQUIRETOOLS=  yes
 NOLINT=                # defined
@@ -47,20 +47,20 @@
 GLIBCPP_INCLUDE_DIR=   ${DESTDIR}/usr/include/g++
 
 # Template instantiation bug workaround for -O<2/s
-COPTS.cp-demangle.c = -Wno-stack-protector
-COPTS.cp-demangle.c = -Wno-stack-protector
-COPTS.fstream-inst.cc = -Wno-stack-protector
-COPTS.locale-inst.cc = -Wno-stack-protector
-COPTS.misc-inst.cc = -Wno-stack-protector
-COPTS.ostream-inst.cc = -Wno-stack-protector
-COPTS.functexcept.cc = -Wno-stack-protector
-COPTS.valarray-inst.cc = -Wno-stack-protector
-COPTS.wlocale-inst.cc = -Wno-stack-protector
-COPTS.snprintf_lite.cc = -Wno-stack-protector
-COPTS.concept-inst.cc= -fimplicit-templates
-COPTS.hashtable_c++0x.cc=  -fimplicit-templates
-COPTS.bitmap_allocator.cc = -fimplicit-templates
-CPPFLAGS.strstream.cc= -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated
+COPTS.cp-demangle.c += -Wno-stack-protector
+COPTS.cp-demangle.c += -Wno-stack-protector
+COPTS.fstream-inst.cc += -Wno-stack-protector
+COPTS.locale-inst.cc += -Wno-stack-protector
+COPTS.misc-inst.cc += -Wno-stack-protector
+COPTS.ostream-inst.cc += -Wno-stack-protector
+COPTS.functexcept.cc += -Wno-stack-protector
+COPTS.valarray-inst.cc += -Wno-stack-protector
+COPTS.wlocale-inst.cc += -Wno-stack-protector
+COPTS.snprintf_lite.cc += -Wno-stack-protector
+COPTS.concept-inst.cc += -fimplicit-templates
+COPTS.hashtable_c++0x.cc += -fimplicit-templates
+COPTS.bitmap_allocator.cc += -fimplicit-templates
+CPPFLAGS.strstream.cc += -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated
 
 CPPFLAGS.cp-demangle.cc += -DIN_GLIBCPP_V3
 CPPFLAGS.concept-inst.cc += -D_GLIBCXX_CONCEPT_CHECKS
@@ -121,6 +121,10 @@
 COPTS.${_s}+= -std=gnu++98
 .endfor
 
+COPTS.del_ops.cc += -Wno-c++14-compat
+COPTS.del_opvs.cc += -Wno-c++14-compat
+COPTS.cp-demangle.c += -Wno-unused-function
+
 .for f in collate_members_cow \
          messages_members_cow \
           monetary_members_cow \
diff -r 421964f0be29 -r 26019fc2c4a4 external/gpl3/gcc/lib/libsupc++/Makefile
--- a/external/gpl3/gcc/lib/libsupc++/Makefile  Wed Apr 20 15:46:08 2016 +0000
+++ b/external/gpl3/gcc/lib/libsupc++/Makefile  Wed Apr 20 17:18:52 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2014/06/01 19:51:02 mrg Exp $
+#      $NetBSD: Makefile,v 1.11 2016/04/20 17:18:52 christos Exp $
 
 REQUIRETOOLS=  yes
 NOLINT=                # defined
@@ -25,7 +25,7 @@
 SRCS=          ${LIBSUPCXXSRCS} xmalloc.c
 CXXFLAGS+=     ${G_SECTION_FLAGS}
 
-COPTS.cp-demangle.c = -Wno-stack-protector
+COPTS.cp-demangle.c = -Wno-stack-protector -Wno-unused-function
 
 .if ${HAVE_LIBGCC_EH} == "no"
 G_CONFIGLINKS:= ${G_CONFIGLINKS:S,libgcc/config/arm/unwind-arm.h,libgcc/unwind-generic.h,}



Home | Main Index | Thread Index | Old Index