CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2024-07-11 Thread Christoph Badura
Module Name:src
Committed By:   bad
Date:   Thu Jul 11 13:00:38 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile

Log Message:
external/gpl3/gcc/usr.bin/host-libcpp/Makefile: force std=c++11

GCC >= 11 now requires C++11 to build.  In particular libcpp requires C++11.
c.f tools/gcc/Makefile r1.113.

Noticed by compiling with clang as host compiler on macOS >= 12.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.6 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.7
--- src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.6	Fri May 19 10:42:34 2023
+++ src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile	Thu Jul 11 13:00:37 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2023/05/19 10:42:34 lukem Exp $
+#	$NetBSD: Makefile,v 1.7 2024/07/11 13:00:37 bad Exp $
 
 BUILD_ENV= \
 		AR=${HOST_AR:Q} \
@@ -19,6 +19,9 @@ BUILD_ENV= \
 		RANLIB=${HOST_RANLIB:Q} \
 		YACC=${YACC:Q}
 
+# libcpp needs a C++11 compiler
+HOST_CXXFLAGS+= -std=c++11
+
 GMAKE_J_ARGS?=	${MAKEFLAGS:[*]:M*-j*:C/(^|.* )(-j ?[0-9][0-9]*).*/\2/W}
 BUILD_COMMAND=	/usr/bin/env -i ${BUILD_ENV} ${TOOL_GMAKE} ${GMAKE_J_ARGS} -e
 



CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2024-07-11 Thread Christoph Badura
Module Name:src
Committed By:   bad
Date:   Thu Jul 11 13:00:38 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile

Log Message:
external/gpl3/gcc/usr.bin/host-libcpp/Makefile: force std=c++11

GCC >= 11 now requires C++11 to build.  In particular libcpp requires C++11.
c.f tools/gcc/Makefile r1.113.

Noticed by compiling with clang as host compiler on macOS >= 12.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin

2024-06-17 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 18 04:07:18 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/host-libiberty: Makefile
src/external/gpl3/gcc/usr.bin/include: Makefile
Added Files:
src/external/gpl3/gcc/usr.bin: rs6000-inc.mk

Log Message:
fix the rs6000 vs GCC 12 includes problems.

we need a host-tool to generate one of the installed include files,
so restructure the includes build to descend into "host-libiberty"
with a "includes" target, and make "includes" target here depend
upon libiberty.a, so it will be built before "include" subdir tries
to use it to build rs6000-gen-builtins.

put the generator code for rs6000-gen-builtins into "rs6000-inc.mk".

no longer exclude rs6000-vecdefines.h in "include" subdir, and do
not try to install it from "backend" subdir anymore.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/Makefile
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/rs6000-inc.mk
cvs rdiff -u -r1.73 -r1.74 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/include/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile
diff -u src/external/gpl3/gcc/usr.bin/Makefile:1.15 src/external/gpl3/gcc/usr.bin/Makefile:1.16
--- src/external/gpl3/gcc/usr.bin/Makefile:1.15	Sun Feb 25 00:28:02 2024
+++ src/external/gpl3/gcc/usr.bin/Makefile	Tue Jun 18 04:07:18 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.15 2024/02/25 00:28:02 mrg Exp $
+#	$NetBSD: Makefile,v 1.16 2024/06/18 04:07:18 mrg Exp $
 
 NOOBJ=# defined
 
@@ -8,11 +8,12 @@ GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5
 
 .if ${MKGCC} != "no" && exists(${.CURDIR}/gcc/arch/${GCC_MACHINE_ARCH}/defs.mk)
 
-.if ${MKGCCCMDS} != "no" || make(includes)
+# host-libiberty is used by include on rs6000.
+SUBDIR+=	host-libiberty .WAIT
 
 # We keep libcpp here since it depends upon frontend.
-SUBDIR+=	host-libiberty .WAIT \
-		host-libcpp .WAIT \
+.if ${MKGCCCMDS} != "no" || make(includes)
+SUBDIR+=	host-libcpp .WAIT \
 		../../../mit/isl/lib/libisl \
 		backend .WAIT \
 		frontend .WAIT \
@@ -24,6 +25,10 @@ SUBDIR+=	host-libiberty .WAIT \
 
 SUBDIR+=	include
 
+# Make sure that we do host-liberty before include, rs6000 has a generator
+# for an installed a header and the generator needs host-libiberty.
+include-include: include-host-libiberty
+
 .include 
 
 .else

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.73 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.74
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.73	Tue Jun 11 03:06:48 2024
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Tue Jun 18 04:07:18 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.73 2024/06/11 03:06:48 mrg Exp $
+#	$NetBSD: Makefile,v 1.74 2024/06/18 04:07:18 mrg Exp $
 
 HOSTPROG_CXX=	1
 LIBISPRIVATE=	yes
@@ -35,12 +35,6 @@ HOST_CXXFLAGS+=	-std=gnu++11
 
 HOST_LIBIBERTYOBJ!=	cd ${.CURDIR}/../host-libiberty && ${PRINTOBJDIR}
 
-# XXX This is generated here, not in ../include.
-.if ${GCC_MACHINE_ARCH} == "powerpc" || ${GCC_MACHINE_ARCH} == "powerpc64"
-INCS+=	rs6000-vecdefines.h
-INCSDIR=${GCC_INCSDIR}
-.endif
-
 .include 
 
 # Force using C++ for this
@@ -439,24 +433,7 @@ CLEANFILES+=	aarch-builtin-iterators.h
 
 .if ${GCC_MACHINE_ARCH} == "powerpc" || ${GCC_MACHINE_ARCH} == "powerpc64" # {
 
-rs6000-gen-builtins.lo: ${HH} ${DIST}/gcc/config/rs6000/rs6000-gen-builtins.cc
-rbtree.lo: ${HH} ${DIST}/gcc/config/rs6000/rbtree.cc
-rs6000-gen-builtins: rs6000-gen-builtins.lo rbtree.lo
-	${_MKTARGET_LINK}
-	${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY} ${LDFLAGS.${.TARGET}}
-rs6000-builtins.cc: rs6000-gen-builtins \
-		${DIST}/gcc/config/rs6000/rs6000-builtins.def \
-		${DIST}/gcc/config/rs6000/rs6000-overload.def
-	${_MKTARGET_CREATE}
-	./rs6000-gen-builtins \
-		${DIST}/gcc/config/rs6000/rs6000-builtins.def \
-		${DIST}/gcc/config/rs6000/rs6000-overload.def \
-rs6000-builtins.h rs6000-builtins.cc rs6000-vecdefines.h
-rs6000-builtins.h rs6000-vecdefines.h: rs6000-builtins.cc
-
-CLEANFILES+=	rs6000-builtins.h rs6000-builtins.cc rs6000-vecdefines.h
-CLEANFILES+=	rs6000-gen-builtins rbtree.lo rs6000-gen-builtins.lo
-
+.include "../rs6000-inc.mk"
 gtype-desc.h: rs6000-builtins.h
 
 .endif # }

Index: src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile
diff -u src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile:1.4 src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile:1.5
--- src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile:1.4	Sat Sep 18 01:47:08 2021
+++ 

CVS commit: src/external/gpl3/gcc/usr.bin

2024-06-17 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 18 04:07:18 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/host-libiberty: Makefile
src/external/gpl3/gcc/usr.bin/include: Makefile
Added Files:
src/external/gpl3/gcc/usr.bin: rs6000-inc.mk

Log Message:
fix the rs6000 vs GCC 12 includes problems.

we need a host-tool to generate one of the installed include files,
so restructure the includes build to descend into "host-libiberty"
with a "includes" target, and make "includes" target here depend
upon libiberty.a, so it will be built before "include" subdir tries
to use it to build rs6000-gen-builtins.

put the generator code for rs6000-gen-builtins into "rs6000-inc.mk".

no longer exclude rs6000-vecdefines.h in "include" subdir, and do
not try to install it from "backend" subdir anymore.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/Makefile
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/rs6000-inc.mk
cvs rdiff -u -r1.73 -r1.74 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/include/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2024-06-10 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 11 03:06:48 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
install rs6000-vecdefines.h from here, where it is generated.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/external/gpl3/gcc/usr.bin/backend/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2024-06-10 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 11 03:06:48 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
install rs6000-vecdefines.h from here, where it is generated.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/external/gpl3/gcc/usr.bin/backend/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.72 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.73
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.72	Thu Jun  6 05:41:28 2024
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Tue Jun 11 03:06:48 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.72 2024/06/06 05:41:28 mrg Exp $
+#	$NetBSD: Makefile,v 1.73 2024/06/11 03:06:48 mrg Exp $
 
 HOSTPROG_CXX=	1
 LIBISPRIVATE=	yes
@@ -35,6 +35,12 @@ HOST_CXXFLAGS+=	-std=gnu++11
 
 HOST_LIBIBERTYOBJ!=	cd ${.CURDIR}/../host-libiberty && ${PRINTOBJDIR}
 
+# XXX This is generated here, not in ../include.
+.if ${GCC_MACHINE_ARCH} == "powerpc" || ${GCC_MACHINE_ARCH} == "powerpc64"
+INCS+=	rs6000-vecdefines.h
+INCSDIR=${GCC_INCSDIR}
+.endif
+
 .include 
 
 # Force using C++ for this



CVS commit: src/external/gpl3/gcc/usr.bin

2024-06-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jun  6 05:41:28 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/include: Makefile

Log Message:
support powerpc with gcc 12.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/include/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin

2024-06-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jun  6 05:41:28 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/include: Makefile

Log Message:
support powerpc with gcc 12.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/include/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.71 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.72
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.71	Sun Feb 25 00:28:02 2024
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Thu Jun  6 05:41:28 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.71 2024/02/25 00:28:02 mrg Exp $
+#	$NetBSD: Makefile,v 1.72 2024/06/06 05:41:28 mrg Exp $
 
 HOSTPROG_CXX=	1
 LIBISPRIVATE=	yes
@@ -52,6 +52,7 @@ CPPFLAGS.cppbuiltin.cc+=	-DBASEVER="\"${
 CLEANFILES+=	gengenrtl genrtl.h \
 		gengtype gtyp-gen.h gtype-brig.h gtype-desc.cc gtype-desc.h \
 		gtype-c.h gtype-cp.h gtype-f.h gtype-objc.h \
+		gtype-d.h gtype-fortran.h \
 		genflags genflags.h \
 		gencheck tree-check.h \
 		insn-preds.cc genpreds tm-preds.h tm_p.h cs-tm_p.h \
@@ -65,6 +66,8 @@ CLEANFILES+=	gengenrtl genrtl.h \
 # XXX
 #COPTS.varasm.cc=		-Wno-error
 
+.SUFFIXES: .lo .h .c .cc
+
 # XXX Override the normal rule to use HOST_COMPILE.cc
 .c.lo:
 	${_MKTARGET_COMPILE}
@@ -428,6 +431,31 @@ aarch64-builtin-iterators.h: ${DIST}/gcc
 
 CLEANFILES+=	aarch-builtin-iterators.h
 
+.if ${GCC_MACHINE_ARCH} == "powerpc" || ${GCC_MACHINE_ARCH} == "powerpc64" # {
+
+rs6000-gen-builtins.lo: ${HH} ${DIST}/gcc/config/rs6000/rs6000-gen-builtins.cc
+rbtree.lo: ${HH} ${DIST}/gcc/config/rs6000/rbtree.cc
+rs6000-gen-builtins: rs6000-gen-builtins.lo rbtree.lo
+	${_MKTARGET_LINK}
+	${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY} ${LDFLAGS.${.TARGET}}
+rs6000-builtins.cc: rs6000-gen-builtins \
+		${DIST}/gcc/config/rs6000/rs6000-builtins.def \
+		${DIST}/gcc/config/rs6000/rs6000-overload.def
+	${_MKTARGET_CREATE}
+	./rs6000-gen-builtins \
+		${DIST}/gcc/config/rs6000/rs6000-builtins.def \
+		${DIST}/gcc/config/rs6000/rs6000-overload.def \
+rs6000-builtins.h rs6000-builtins.cc rs6000-vecdefines.h
+rs6000-builtins.h rs6000-vecdefines.h: rs6000-builtins.cc
+
+CLEANFILES+=	rs6000-builtins.h rs6000-builtins.cc rs6000-vecdefines.h
+CLEANFILES+=	rs6000-gen-builtins rbtree.lo rs6000-gen-builtins.lo
+
+gtype-desc.h: rs6000-builtins.h
+
+.endif # }
+
+
 #
 # Required hard-coded dependancies.
 #

Index: src/external/gpl3/gcc/usr.bin/include/Makefile
diff -u src/external/gpl3/gcc/usr.bin/include/Makefile:1.14 src/external/gpl3/gcc/usr.bin/include/Makefile:1.15
--- src/external/gpl3/gcc/usr.bin/include/Makefile:1.14	Tue Aug  1 05:57:55 2023
+++ src/external/gpl3/gcc/usr.bin/include/Makefile	Thu Jun  6 05:41:28 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2023/08/01 05:57:55 mrg Exp $
+#	$NetBSD: Makefile,v 1.15 2024/06/06 05:41:28 mrg Exp $
 
 .include 
 
@@ -8,7 +8,9 @@ SUBDIR=	sanitizer
 .include "${.CURDIR}/arch/${GCC_MACHINE_ARCH}.mk"
 .endif
 
-INCS= ${G_EXTRA_HEADERS:T}
+# XXX rs6000-vecdefines.h is generated in usr.bin/backend.  we can
+# try to install this from there later perhaps?
+INCS= ${G_EXTRA_HEADERS:T:Nrs6000-vecdefines.h}
 
 # Part of the standard headers, the rest of which we replace.
 INCS+=	stdatomic.h



CVS commit: src/external/gpl3/gcc/usr.bin

2024-02-24 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb 25 00:28:02 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile Makefile.backend
src/external/gpl3/gcc/usr.bin/backend: Makefile
Added Files:
src/external/gpl3/gcc/usr.bin: Makefile.isl

Log Message:
build and link libisl.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/Makefile
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/Makefile.backend
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/Makefile.isl
cvs rdiff -u -r1.70 -r1.71 src/external/gpl3/gcc/usr.bin/backend/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile
diff -u src/external/gpl3/gcc/usr.bin/Makefile:1.14 src/external/gpl3/gcc/usr.bin/Makefile:1.15
--- src/external/gpl3/gcc/usr.bin/Makefile:1.14	Tue Aug  1 05:57:53 2023
+++ src/external/gpl3/gcc/usr.bin/Makefile	Sun Feb 25 00:28:02 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2023/08/01 05:57:53 mrg Exp $
+#	$NetBSD: Makefile,v 1.15 2024/02/25 00:28:02 mrg Exp $
 
 NOOBJ=# defined
 
@@ -13,6 +13,7 @@ GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5
 # We keep libcpp here since it depends upon frontend.
 SUBDIR+=	host-libiberty .WAIT \
 		host-libcpp .WAIT \
+		../../../mit/isl/lib/libisl \
 		backend .WAIT \
 		frontend .WAIT \
 		common common-target .WAIT \

Index: src/external/gpl3/gcc/usr.bin/Makefile.backend
diff -u src/external/gpl3/gcc/usr.bin/Makefile.backend:1.10 src/external/gpl3/gcc/usr.bin/Makefile.backend:1.11
--- src/external/gpl3/gcc/usr.bin/Makefile.backend:1.10	Fri Apr 23 01:56:14 2021
+++ src/external/gpl3/gcc/usr.bin/Makefile.backend	Sun Feb 25 00:28:02 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.backend,v 1.10 2021/04/23 01:56:14 mrg Exp $
+#	$NetBSD: Makefile.backend,v 1.11 2024/02/25 00:28:02 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKEND_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKEND_=1
@@ -21,6 +21,7 @@ LDADD+=			${BACKENDOBJ}/libbackend.a
 .include "../Makefile.common"
 .include "../Makefile.libiberty"
 .include "../Makefile.prog"
+.include "../Makefile.isl"
 
 # Find our (local) libraries
 LIBGMPDIR!=	cd ${GMPDISTDIR}/lib/libgmp && ${PRINTOBJDIR}

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.70 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.71
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.70	Mon Aug 14 02:21:22 2023
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sun Feb 25 00:28:02 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.70 2023/08/14 02:21:22 rin Exp $
+#	$NetBSD: Makefile,v 1.71 2024/02/25 00:28:02 mrg Exp $
 
 HOSTPROG_CXX=	1
 LIBISPRIVATE=	yes
@@ -188,6 +188,7 @@ genmatch: genmatch.lo build-errors.lo bu
 CLEANFILES+=	genmatch gimple-match.cc generic-match.cc
 
 .include "${.PARSEDIR}/../../Makefile.version_h"
+.include "${.PARSEDIR}/../Makefile.isl"
 
 tm_p.h: Makefile tm-preds.h
 	${_MKTARGET_CREATE}

Added files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.isl
diff -u /dev/null src/external/gpl3/gcc/usr.bin/Makefile.isl:1.1
--- /dev/null	Sun Feb 25 00:28:03 2024
+++ src/external/gpl3/gcc/usr.bin/Makefile.isl	Sun Feb 25 00:28:02 2024
@@ -0,0 +1,15 @@
+#	$NetBSD: Makefile.isl,v 1.1 2024/02/25 00:28:02 mrg Exp $
+
+.ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_LIBISL_
+_EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_LIBISL_=1
+
+.include 
+
+LIBISL=		${.CURDIR}/../../../../mit/isl
+LIBISLOBJ!=	cd ${LIBISL}/lib/libisl && ${PRINTOBJDIR}
+DPADD+=		${LIBISLOBJ}/libisl.a
+LDADD+=		${LIBISLOBJ}/libisl.a
+
+CFLAGS+=	-I${LIBISL}/dist/include -I${LIBISL}/include
+
+.endif



CVS commit: src/external/gpl3/gcc/usr.bin

2024-02-24 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb 25 00:28:02 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile Makefile.backend
src/external/gpl3/gcc/usr.bin/backend: Makefile
Added Files:
src/external/gpl3/gcc/usr.bin: Makefile.isl

Log Message:
build and link libisl.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/Makefile
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/Makefile.backend
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/Makefile.isl
cvs rdiff -u -r1.70 -r1.71 src/external/gpl3/gcc/usr.bin/backend/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2023-08-13 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Aug 14 02:21:22 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
gcc: Host tool gengtype requires version.h

Should fix random failure for parallel build.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/external/gpl3/gcc/usr.bin/backend/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.69 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.70
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.69	Tue Aug  1 05:57:54 2023
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Mon Aug 14 02:21:22 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.69 2023/08/01 05:57:54 mrg Exp $
+#	$NetBSD: Makefile,v 1.70 2023/08/14 02:21:22 rin Exp $
 
 HOSTPROG_CXX=	1
 LIBISPRIVATE=	yes
@@ -119,7 +119,7 @@ gtype-desc.h: gengtype gtyp-input.list.t
 	# GCC 4.8 installs gtype-state and gengtype as a plugin
 
 # gengtype is the real need for options.h
-gengtype.lo gengtype-lex.lo gengtype-parse.lo gengtype-state.lo: ${HH} gtyp-gen.h config.h options.h
+gengtype.lo gengtype-lex.lo gengtype-parse.lo gengtype-state.lo: ${HH} gtyp-gen.h config.h options.h version.h
 gengtype: gengtype.lo gengtype-lex.lo gengtype-parse.lo gengtype-state.lo build-errors.lo
 	${_MKTARGET_LINK}
 	${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY}



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2023-08-13 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Aug 14 02:21:22 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
gcc: Host tool gengtype requires version.h

Should fix random failure for parallel build.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/external/gpl3/gcc/usr.bin/backend/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/common-target

2023-08-11 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Aug 11 06:52:45 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin/common-target: Makefile

Log Message:
re-enable an sh3 warning that is still needed for GCC 12.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 \
src/external/gpl3/gcc/usr.bin/common-target/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/common-target/Makefile
diff -u src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.14 src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.15
--- src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.14	Tue Aug  1 05:57:54 2023
+++ src/external/gpl3/gcc/usr.bin/common-target/Makefile	Fri Aug 11 06:52:45 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2023/08/01 05:57:54 mrg Exp $
+#	$NetBSD: Makefile,v 1.15 2023/08/11 06:52:45 mrg Exp $
 
 HOSTPROG_CXX=	1
 LIBISPRIVATE=	yes
@@ -24,7 +24,7 @@ CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} 
 #COPTS.rs6000-common.cc+=	-Wno-stack-protector
 #COPTS.arm-common.cc+=	-Wno-stack-protector
 .if ${MACHINE_CPU} == "sh3"
-#COPTS.opts.cc+=		${CC_WNO_FORMAT_TRUNCATION}
+COPTS.opts.cc+=		${CC_WNO_FORMAT_TRUNCATION}
 .endif
 
 GENPROG_ERROR_DEPENDS=errors.lo



CVS commit: src/external/gpl3/gcc/usr.bin/common-target

2023-08-11 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Aug 11 06:52:45 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin/common-target: Makefile

Log Message:
re-enable an sh3 warning that is still needed for GCC 12.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 \
src/external/gpl3/gcc/usr.bin/common-target/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin

2023-08-04 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri Aug  4 17:17:06 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
gcc/usr.bin: Sprinkle -fno-jump-tables more for m68k and friends

Now, gcc builds for m68k native.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/external/gpl3/gcc/usr.bin/Makefile.inc

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.38 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.39
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.38	Thu Aug  3 01:36:55 2023
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Fri Aug  4 17:17:06 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.38 2023/08/03 01:36:55 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.39 2023/08/04 17:17:06 rin Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -88,6 +88,8 @@ CFLAGS+=	-Wno-format-diag
 .if ${GCC_MACHINE_ARCH} == "m68000" || ${GCC_MACHINE_ARCH} == "m68k" || \
 	${GCC_MACHINE_ARCH} == "coldfire"
 COPTS.c-omp.cc+=-fno-jump-tables
+COPTS.generic-match.cc+=-fno-jump-tables
+COPTS.gimple-match.cc+=-fno-jump-tables
 .endif
 
 .endif



CVS commit: src/external/gpl3/gcc/usr.bin

2023-08-04 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri Aug  4 17:17:06 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
gcc/usr.bin: Sprinkle -fno-jump-tables more for m68k and friends

Now, gcc builds for m68k native.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/external/gpl3/gcc/usr.bin/Makefile.inc

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



CVS commit: src/external/gpl3/gcc/usr.bin

2023-07-12 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jul 12 07:35:15 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
don't force gnu++98 here.

fixes build issues seen with GCC 10.5, as well as hopefully ones reported
by Andrew Cagney on current-users.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/external/gpl3/gcc/usr.bin/Makefile.inc

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.35 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.36
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.35	Wed Feb  1 19:38:20 2023
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Wed Jul 12 07:35:15 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.35 2023/02/01 19:38:20 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.36 2023/07/12 07:35:15 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -41,8 +41,6 @@ FRONTENDOBJ!=		cd ${.CURDIR}/../frontend
 NBCOMPATLIB=   -L${TOOLDIR}/lib -lnbcompat
 .endif
 
-CXXFLAGS+=	-std=gnu++98
-
 # Reduce debugging for these extremely large objects.
 .if ${MKDEBUG:Uno} != "no"
 CXXFLAGS+=  -g1



CVS commit: src/external/gpl3/gcc/usr.bin

2023-07-12 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jul 12 07:35:15 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
don't force gnu++98 here.

fixes build issues seen with GCC 10.5, as well as hopefully ones reported
by Andrew Cagney on current-users.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/external/gpl3/gcc/usr.bin/Makefile.inc

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



CVS commit: src/external/gpl3/gcc/usr.bin

2023-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Feb  1 19:38:21 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
for MKDEBUG builds, set CXXFLAGS += -g1 for all GCC binaries.

reduces the size of a non-x11 i386 build by 38% - 992MiB -> 612MiB,
and likely similar reductions elsewhere.  it also reduced the build
time by about 3%, perhaps from less IO to write and less data to
compress.  for amd64, the size was reduced 1137MiB -> 741MiB, about
35%, though i don't have timing guesses here.

note that these are sizes of .gz not .xz (i enable pigz for my
builds), and this probably has a much greater benefit for xz builds
as the sets creation phase is much slower there.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/external/gpl3/gcc/usr.bin/Makefile.inc

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.34 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.35
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.34	Wed Dec 15 13:28:29 2021
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Wed Feb  1 19:38:20 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.34 2021/12/15 13:28:29 christos Exp $
+#	$NetBSD: Makefile.inc,v 1.35 2023/02/01 19:38:20 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -43,6 +43,11 @@ NBCOMPATLIB=   -L${TOOLDIR}/lib -lnbcomp
 
 CXXFLAGS+=	-std=gnu++98
 
+# Reduce debugging for these extremely large objects.
+.if ${MKDEBUG:Uno} != "no"
+CXXFLAGS+=  -g1
+.endif
+
 GNUHOSTDIST=	${DIST}
 BUILD_PREFIX=	${C_BUILD_PREFIX}
 



CVS commit: src/external/gpl3/gcc/usr.bin

2023-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Feb  1 19:38:21 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
for MKDEBUG builds, set CXXFLAGS += -g1 for all GCC binaries.

reduces the size of a non-x11 i386 build by 38% - 992MiB -> 612MiB,
and likely similar reductions elsewhere.  it also reduced the build
time by about 3%, perhaps from less IO to write and less data to
compress.  for amd64, the size was reduced 1137MiB -> 741MiB, about
35%, though i don't have timing guesses here.

note that these are sizes of .gz not .xz (i enable pigz for my
builds), and this probably has a much greater benefit for xz builds
as the sets creation phase is much slower there.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/external/gpl3/gcc/usr.bin/Makefile.inc

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



CVS commit: src/external/gpl3/gcc/usr.bin

2021-12-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Dec 15 13:28:29 UTC 2021

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
no lint (c++)


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/external/gpl3/gcc/usr.bin/Makefile.inc

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.33 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.34
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.33	Sun Apr 11 20:05:56 2021
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Wed Dec 15 08:28:29 2021
@@ -1,8 +1,9 @@
-#	$NetBSD: Makefile.inc,v 1.33 2021/04/12 00:05:56 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.34 2021/12/15 13:28:29 christos Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
 
+NOLINT=yes
 NOCTF=	# defined
 .include 
 



CVS commit: src/external/gpl3/gcc/usr.bin

2021-12-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Dec 15 13:28:29 UTC 2021

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
no lint (c++)


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/external/gpl3/gcc/usr.bin/Makefile.inc

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



CVS commit: src/external/gpl3/gcc/usr.bin

2021-04-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Apr 27 14:18:25 UTC 2021

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1objplus: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile

Log Message:
Revert the change for the c-common.c hack. It is meant to be only for 32
bit mips. (Thanks Rin)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile
cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile:1.2 src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile:1.3
--- src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile:1.2	Sun Apr 25 18:25:00 2021
+++ src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile	Tue Apr 27 10:18:25 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2021/04/25 22:25:00 christos Exp $
+#	$NetBSD: Makefile,v 1.3 2021/04/27 14:18:25 christos Exp $
 
 # XXX: Pull this (G_OBJCXX_OBJS) out with mknative-gcc.  Needs some
 # minor re-org of cc1plus and perhaps cc1obj.  G_CXX_AND_OBJCXX_OBJS
@@ -81,7 +81,7 @@ COPTS.cc1obj-checksum.c+=-O0
 COPTS.decl.c+=-O0
 .endif
 
-.if ${MACHINE_MIPS64}
+.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
 COPTS.c-common.c+=-O3
 .endif
 

Index: src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.16 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.17
--- src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.16	Sun Apr 25 18:25:55 2021
+++ src/external/gpl3/gcc/usr.bin/cc1plus/Makefile	Tue Apr 27 10:18:25 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.16 2021/04/25 22:25:55 christos Exp $
+#	$NetBSD: Makefile,v 1.17 2021/04/27 14:18:25 christos Exp $
 
 PROG=		cc1plus
 SRCS=		${G_CXX_OBJS:S,c-family/,,:S,cp/,,:S,constraint.o,constraint.cc,:S,logic.o,logic.cc,:S,known-headers.o,known-headers.cc,:S,c-spellcheck.o,c-spellcheck.cc,:S,coroutines.o,coroutines.cc,:Nlibcpp.a:.o=.c}
@@ -48,7 +48,7 @@ COPTS.c-ubsan.c+=-O0
 COPTS.cc1plus-checksum.c+=-O0
 .endif
 
-.if ${MACHINE_MIPS64}
+.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
 COPTS.c-common.c+=-O3
 .endif
 



CVS commit: src/external/gpl3/gcc/usr.bin

2021-04-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Apr 27 14:18:25 UTC 2021

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1objplus: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile

Log Message:
Revert the change for the c-common.c hack. It is meant to be only for 32
bit mips. (Thanks Rin)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile
cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile

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



Re: CVS commit: src/external/gpl3/gcc/usr.bin/cc1plus

2021-04-27 Thread Christos Zoulas
The condition is reversed. I will fix.

christos

> On Apr 26, 2021, at 10:31 PM, Rin Okuyama  wrote:
> 
> Hi,
> 
> On 2021/04/26 7:25, Christos Zoulas wrote:
>> --- src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.15  Sun Apr 11 
>> 20:05:56 2021
>> +++ src/external/gpl3/gcc/usr.bin/cc1plus/Makefile   Sun Apr 25 18:25:55 2021
> (snip)
>> -.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
>> +.if ${MACHINE_MIPS64}
>>  COPTS.c-common.c+=-O3
>>  .endif
> 
> This was hack for mips32:
> 
> http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/gcc/usr.bin/cc1plus/Makefile#rev1.12
> 
> Does mips64 require it? Also for 
> external/gpl3/gcc/usr.bin/cc1objplus/Makefile.
> 
> Thanks,
> rin



signature.asc
Description: Message signed with OpenPGP


Re: CVS commit: src/external/gpl3/gcc/usr.bin/cc1plus

2021-04-26 Thread Rin Okuyama

Hi,

On 2021/04/26 7:25, Christos Zoulas wrote:

--- src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.15 Sun Apr 11 20:05:56 2021
+++ src/external/gpl3/gcc/usr.bin/cc1plus/Makefile  Sun Apr 25 18:25:55 2021

(snip)

-.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
+.if ${MACHINE_MIPS64}
  COPTS.c-common.c+=-O3
  .endif


This was hack for mips32:

http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/gcc/usr.bin/cc1plus/Makefile#rev1.12

Does mips64 require it? Also for external/gpl3/gcc/usr.bin/cc1objplus/Makefile.

Thanks,
rin


CVS commit: src/external/gpl3/gcc/usr.bin/cc1plus

2021-04-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 25 22:25:55 UTC 2021

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile

Log Message:
Limit no-error to stack-protector


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.15 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.16
--- src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.15	Sun Apr 11 20:05:56 2021
+++ src/external/gpl3/gcc/usr.bin/cc1plus/Makefile	Sun Apr 25 18:25:55 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.15 2021/04/12 00:05:56 mrg Exp $
+#	$NetBSD: Makefile,v 1.16 2021/04/25 22:25:55 christos Exp $
 
 PROG=		cc1plus
 SRCS=		${G_CXX_OBJS:S,c-family/,,:S,cp/,,:S,constraint.o,constraint.cc,:S,logic.o,logic.cc,:S,known-headers.o,known-headers.cc,:S,c-spellcheck.o,c-spellcheck.cc,:S,coroutines.o,coroutines.cc,:Nlibcpp.a:.o=.c}
@@ -29,9 +29,7 @@ CHECKSUM_OBJS= ${LIBBACKTRACEOBJ}/libbac
 # XXX check this out
 # LDFLAGS+=   -rdynamic
 
-# YUCK.  but see timevar.h:POP_TIMEVAR_AND_RETURN
-CFLAGS+=	-Wno-error # not good enough: -Wno-return-type
-COPTS+=		-Wno-stack-protector
+CFLAGS+=	-Wno-error=stack-protector
 
 .if ${MACHINE_ARCH} == "vax"
 COPTS.call.c+=-O0
@@ -50,7 +48,7 @@ COPTS.c-ubsan.c+=-O0
 COPTS.cc1plus-checksum.c+=-O0
 .endif
 
-.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
+.if ${MACHINE_MIPS64}
 COPTS.c-common.c+=-O3
 .endif
 



CVS commit: src/external/gpl3/gcc/usr.bin/cc1plus

2021-04-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 25 22:25:55 UTC 2021

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile

Log Message:
Limit no-error to stack-protector


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/cc1objplus

2021-04-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 25 22:25:00 UTC 2021

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1objplus: Makefile

Log Message:
- Disable stack-protector errors like we did for cc1plus
- use ${MACHINE_MIPS64}


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile:1.1 src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile:1.1	Fri Apr 23 18:50:06 2021
+++ src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile	Sun Apr 25 18:25:00 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2021/04/23 22:50:06 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2021/04/25 22:25:00 christos Exp $
 
 # XXX: Pull this (G_OBJCXX_OBJS) out with mknative-gcc.  Needs some
 # minor re-org of cc1plus and perhaps cc1obj.  G_CXX_AND_OBJCXX_OBJS
@@ -51,6 +51,9 @@ CHECKSUM_OBJS=	${BACKENDOBJ}/libbackend.
 
 .include "../Makefile.checksum"
 
+# XXX: like cc1plus
+CFLAGS+=-Wno-error=stack-protector
+
 COPTS.c-ada-spec.c+=			-Wno-stack-protector
 COPTS.c-attribs.c+=			-Wno-stack-protector
 COPTS.c-aux-info.c+=			-Wno-stack-protector
@@ -78,7 +81,7 @@ COPTS.cc1obj-checksum.c+=-O0
 COPTS.decl.c+=-O0
 .endif
 
-.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
+.if ${MACHINE_MIPS64}
 COPTS.c-common.c+=-O3
 .endif
 



CVS commit: src/external/gpl3/gcc/usr.bin/cc1objplus

2021-04-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 25 22:25:00 UTC 2021

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1objplus: Makefile

Log Message:
- Disable stack-protector errors like we did for cc1plus
- use ${MACHINE_MIPS64}


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/lto1

2021-04-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Apr 14 12:20:59 UTC 2021

Modified Files:
src/external/gpl3/gcc/usr.bin/lto1: Makefile

Log Message:
lto-common.c needs the stack protector treatment


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/lto1/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/lto1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/lto1/Makefile:1.6 src/external/gpl3/gcc/usr.bin/lto1/Makefile:1.7
--- src/external/gpl3/gcc/usr.bin/lto1/Makefile:1.6	Sun Apr 11 20:05:56 2021
+++ src/external/gpl3/gcc/usr.bin/lto1/Makefile	Wed Apr 14 08:20:59 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2021/04/12 00:05:56 mrg Exp $
+#	$NetBSD: Makefile,v 1.7 2021/04/14 12:20:59 christos Exp $
 
 PROG=		lto1
 SRCS=		attribs.c \
@@ -14,6 +14,7 @@ CPPFLAGS+=	-DPREFIX=\"/usr\"
 
 COPTS.lto.c+=		-Wno-stack-protector
 COPTS.lto-lang.c+=	-Wno-stack-protector
+COPTS.lto-common.c+=	-Wno-stack-protector
 
 .include "../Makefile.backend"
 .include "../Makefile.backtrace"



CVS commit: src/external/gpl3/gcc/usr.bin/lto1

2021-04-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Apr 14 12:20:59 UTC 2021

Modified Files:
src/external/gpl3/gcc/usr.bin/lto1: Makefile

Log Message:
lto-common.c needs the stack protector treatment


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/lto1/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2021-04-13 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Apr 13 06:30:36 UTC 2021

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
more -O0 for vax


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/external/gpl3/gcc/usr.bin/backend/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2021-04-13 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Apr 13 06:30:36 UTC 2021

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
more -O0 for vax


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/external/gpl3/gcc/usr.bin/backend/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.64 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.65
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.64	Mon Apr 12 00:05:56 2021
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Tue Apr 13 06:30:36 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.64 2021/04/12 00:05:56 mrg Exp $
+#	$NetBSD: Makefile,v 1.65 2021/04/13 06:30:36 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -552,6 +552,7 @@ COPTS.internal-fn.c+=-O0
 COPTS.lto-streamer-out.c+=-O0
 COPTS.omp-low.c+=-O0
 COPTS.predict.c+=-O0
+COPTS.range-op.cc+=-O0
 COPTS.recog.c+=-O0
 COPTS.sanopt.c+=-O0
 COPTS.stmt.c+=-O0
@@ -591,8 +592,8 @@ COPTS.ubsan.c+=-O0
 COPTS.varasm.c+=-O0
 COPTS.vr-values.c+=-O0
 COPTS.web.c+=-O0
-COPTS.wide-int.cc+=-O0
 COPTS.wide-int-range.cc+=-O0
+COPTS.wide-int.cc+=-O0
 .else
 COPTS.tree.c=	${${ACTIVE_CC} == "clang" :? -O0 :}
 .endif



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2020-09-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Sep  6 10:50:53 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
build-hash-table.lo and build-vec.lo depend upon $HASH_TABLE_H not $GGC_H


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/external/gpl3/gcc/usr.bin/backend/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.61 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.62
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.61	Sat Sep  5 14:24:26 2020
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sun Sep  6 10:50:53 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.61 2020/09/05 14:24:26 mrg Exp $
+#	$NetBSD: Makefile,v 1.62 2020/09/06 10:50:53 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -298,14 +298,14 @@ build-ggc-none.c: ggc-none.c \
 build-ggc-none.lo: ${HH}
 CLEANFILES+=	build-ggc-none.c
 
-build-hash-table.c: hash-table.c hash-table.h ${G_GGC_H}
+build-hash-table.c: hash-table.c hash-table.h ${G_HASH_TABLE_H} ${HH}
 	${_MKTARGET_CREATE}
 	rm -f build-hash-table.c
 	cat ${GNUHOSTDIST}/gcc/hash-table.c >${.TARGET}
 build-hash-table.lo: ${HH_NORTL}
 CLEANFILES+=	build-hash-table.c
 
-build-vec.c: vec.c vec.h ${G_GGC_H}
+build-vec.c: vec.c vec.h ${G_HASH_TABLE_H} ${HH}
 	${_MKTARGET_CREATE}
 	rm -f build-vec.c
 	cat ${GNUHOSTDIST}/gcc/vec.c >${.TARGET}



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2020-09-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Sep  6 10:50:53 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
build-hash-table.lo and build-vec.lo depend upon $HASH_TABLE_H not $GGC_H


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/external/gpl3/gcc/usr.bin/backend/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin

2020-09-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Sep  5 14:24:26 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.backend
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile
src/external/gpl3/gcc/usr.bin/common: Makefile
src/external/gpl3/gcc/usr.bin/gcov: Makefile
src/external/gpl3/gcc/usr.bin/lto1: Makefile

Log Message:
make GCC 9.3.0 build itself:
- common-target is needed before common now
- complete build-sort.o framework
- fix cyclic dep
- fix .c vs .cc issues


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/Makefile.backend
cvs rdiff -u -r1.60 -r1.61 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.18 -r1.19 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/common/Makefile
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/gcov/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/lto1/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin

2020-09-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Sep  5 14:24:26 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.backend
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile
src/external/gpl3/gcc/usr.bin/common: Makefile
src/external/gpl3/gcc/usr.bin/gcov: Makefile
src/external/gpl3/gcc/usr.bin/lto1: Makefile

Log Message:
make GCC 9.3.0 build itself:
- common-target is needed before common now
- complete build-sort.o framework
- fix cyclic dep
- fix .c vs .cc issues


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/Makefile.backend
cvs rdiff -u -r1.60 -r1.61 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.18 -r1.19 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/common/Makefile
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/gcov/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/lto1/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.backend
diff -u src/external/gpl3/gcc/usr.bin/Makefile.backend:1.8 src/external/gpl3/gcc/usr.bin/Makefile.backend:1.9
--- src/external/gpl3/gcc/usr.bin/Makefile.backend:1.8	Fri Feb  1 10:34:18 2019
+++ src/external/gpl3/gcc/usr.bin/Makefile.backend	Sat Sep  5 14:24:25 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.backend,v 1.8 2019/02/01 10:34:18 mrg Exp $
+#	$NetBSD: Makefile.backend,v 1.9 2020/09/05 14:24:25 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKEND_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKEND_=1
@@ -15,6 +15,7 @@ CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} 
 DPADD+=			${BACKENDOBJ}/libbackend.a
 LDADD+=			${BACKENDOBJ}/libbackend.a
 
+.include "../Makefile.common-target"
 .include "../Makefile.common"
 .include "../Makefile.libiberty"
 .include "../Makefile.prog"

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.60 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.61
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.60	Sat Sep  5 09:50:16 2020
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sat Sep  5 14:24:26 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.60 2020/09/05 09:50:16 mrg Exp $
+#	$NetBSD: Makefile,v 1.61 2020/09/05 14:24:26 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -312,6 +312,13 @@ build-vec.c: vec.c vec.h ${G_GGC_H}
 build-vec.lo: ${HH_NORTL}
 CLEANFILES+=	build-vec.c
 
+build-sort.cc: sort.cc sort.h ${G_GGC_H}
+	${_MKTARGET_CREATE}
+	rm -f build-sort.cc
+	cat ${GNUHOSTDIST}/gcc/sort.cc >${.TARGET}
+build-sort.lo: ${HH_NORTL}
+CLEANFILES+=	build-sort.cc
+
 build-genattrtab.o: ${G_GGC_H}
 
 #
@@ -334,15 +341,13 @@ GENPROG_RTL_DEPENDS=	${G_BUILD_RTL:.o=.l
 #
 # First we generate the rules for the generators.
 #
-GENDEPS.cfn-macros=	build-sort.lo
-
 .for f in attr attr-common attrtab automata codes conditions config emit \
 	  extract flags opinit output peep preds recog mddump condmd \
 	  target-def cfn-macros
-gen${f}.lo: ${HH} gen${f}.c ${G_RTL_BASE_H} ${GENDEPS.${f}}
+gen${f}.lo: ${HH} gen${f}.c ${G_RTL_BASE_H} build-sort.lo
 gen${f}: gen${f}.lo ${GENPROG_RTL_DEPENDS} 
 	${_MKTARGET_LINK}
-	${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY} ${LDFLAGS.${.TARGET}}
+	${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY} ${LDFLAGS.${.TARGET}} build-sort.lo
 CLEANFILES+=	gen${f} gen${f}.lo
 .endfor
 
@@ -489,7 +494,7 @@ gcov-io.h: gcov-iov.h
 df-scan.d df-scan.o: target-hooks-def.h
 read-md.d read-md.o read-md.lo: auto-build.h
 hash-table.d hash-table.o hash-table.lo: auto-build.h gtype-desc.h
-gencfn-macros.d gencfn-macros.o gencfn-macros.lo: gtype-desc.h case-cfn-macros.h
+gencfn-macros.d gencfn-macros.o gencfn-macros.lo: gtype-desc.h
 pass_manager.h passes.c: pass-instances.def
 context.d coverage.d lto-cgraph.d passes.d statistics.d toplev.d cgraphunit.d: pass_manager.h
 context.o coverage.o lto-cgraph.o passes.o statistics.o toplev.o cgraphunit.o: pass_manager.h

Index: src/external/gpl3/gcc/usr.bin/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.18 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.19
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.18	Mon Jun 29 08:34:17 2020
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Sat Sep  5 14:24:26 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.18 2020/06/29 08:34:17 lukem Exp $
+#	$NetBSD: Makefile,v 1.19 2020/09/05 14:24:26 mrg Exp $
 
 PROG=		cc1
 SRCS=		

CVS commit: src/external/gpl3/gcc/usr.bin

2020-09-03 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Fri Sep  4 02:27:39 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.driver

Log Message:
Build driver-aarch64.c for both endians of aarch64


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/Makefile.driver

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.driver
diff -u src/external/gpl3/gcc/usr.bin/Makefile.driver:1.1 src/external/gpl3/gcc/usr.bin/Makefile.driver:1.2
--- src/external/gpl3/gcc/usr.bin/Makefile.driver:1.1	Fri Feb  1 10:32:32 2019
+++ src/external/gpl3/gcc/usr.bin/Makefile.driver	Fri Sep  4 02:27:39 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.driver,v 1.1 2019/02/01 10:32:32 mrg Exp $
+#	$NetBSD: Makefile.driver,v 1.2 2020/09/04 02:27:39 jakllsch Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_DRIVER_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_DRIVER_=1
@@ -12,7 +12,7 @@ SRCS+=		driver-i386.c
 SRCS+=		driver-rs6000.c
 .PATH:		${DIST}/gcc/config/rs6000
 .endif
-.if  ${GCC_MACHINE_ARCH} == "aarch64" 
+.if  ${MACHINE_CPU} == "aarch64"
 SRCS+=		driver-aarch64.c
 .PATH:		${DIST}/gcc/config/aarch64
 .endif



CVS commit: src/external/gpl3/gcc/usr.bin

2020-09-03 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Fri Sep  4 02:27:39 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.driver

Log Message:
Build driver-aarch64.c for both endians of aarch64


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/Makefile.driver

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



CVS commit: src/external/gpl3/gcc/usr.bin

2020-06-29 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Mon Jun 29 08:34:17 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile

Log Message:
Fix addition of C++ .cc source to SRCS

Fix assumption that all of the source files are .c, as some are .cc.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.17 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.18
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.17	Tue Apr 28 05:45:15 2020
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Mon Jun 29 08:34:17 2020
@@ -1,7 +1,8 @@
-#	$NetBSD: Makefile,v 1.17 2020/04/28 05:45:15 mrg Exp $
+#	$NetBSD: Makefile,v 1.18 2020/06/29 08:34:17 lukem Exp $
 
 PROG=		cc1
-SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
+SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:S,known-headers.o,known-headers.cc,:S,c-spellcheck.o,c-spellcheck.cc,:Nlibcpp.a:.o=.c}
+SRCS+=		main.c ${PROG}-checksum.c
 CPPFLAGS+=	-DPREFIX=\"/usr\"
 
 .include "../Makefile.backend"

Index: src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.15 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.16
--- src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.15	Tue Apr 28 07:47:54 2020
+++ src/external/gpl3/gcc/usr.bin/cc1obj/Makefile	Mon Jun 29 08:34:17 2020
@@ -1,8 +1,9 @@
-#	$NetBSD: Makefile,v 1.15 2020/04/28 07:47:54 mrg Exp $
+#	$NetBSD: Makefile,v 1.16 2020/06/29 08:34:17 lukem Exp $
 
 MYOBJS=		${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS} 
 PROG=		cc1obj
-SRCS=		${MYOBJS:S,objc/,,:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
+SRCS=		${MYOBJS:S,objc/,,:S,c-family/,,:S,c/,,:S,known-headers.o,known-headers.cc,:S,c-spellcheck.o,c-spellcheck.cc,:Nlibcpp.a:.o=.c}
+SRCS+=		main.c ${PROG}-checksum.c
 
 CPPFLAGS+=	-I${DIST}/gcc/objc
 CPPFLAGS.prefix.c+=	-DPREFIX=\"/usr\"

Index: src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.12 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.13
--- src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.12	Tue Apr 28 07:47:54 2020
+++ src/external/gpl3/gcc/usr.bin/cc1plus/Makefile	Mon Jun 29 08:34:17 2020
@@ -1,7 +1,8 @@
-#	$NetBSD: Makefile,v 1.12 2020/04/28 07:47:54 mrg Exp $
+#	$NetBSD: Makefile,v 1.13 2020/06/29 08:34:17 lukem Exp $
 
 PROG=		cc1plus
-SRCS=		${G_CXX_OBJS:S,c-family/,,:S,cp/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
+SRCS=		${G_CXX_OBJS:S,c-family/,,:S,cp/,,:S,constraint.o,constraint.cc,:S,logic.o,logic.cc,:S,known-headers.o,known-headers.cc,:S,c-spellcheck.o,c-spellcheck.cc,:Nlibcpp.a:.o=.c}
+SRCS+=		main.c ${PROG}-checksum.c
 
 # XXX
 NOMAN=	1



CVS commit: src/external/gpl3/gcc/usr.bin

2020-06-29 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Mon Jun 29 08:34:17 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile

Log Message:
Fix addition of C++ .cc source to SRCS

Fix assumption that all of the source files are .c, as some are .cc.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/lto-wrapper

2020-06-29 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Mon Jun 29 08:30:42 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/lto-wrapper: Makefile

Log Message:
use ggc-none.c not ggc-none.o in SRCS


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile
diff -u src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile:1.4 src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile:1.5
--- src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile:1.4	Fri Feb  1 10:34:19 2019
+++ src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile	Mon Jun 29 08:30:42 2020
@@ -1,11 +1,11 @@
-#	$NetBSD: Makefile,v 1.4 2019/02/01 10:34:19 mrg Exp $
+#	$NetBSD: Makefile,v 1.5 2020/06/29 08:30:42 lukem Exp $
 
 NOMAN=1
 PROG=		lto-wrapper
 # XXX pullout from LTO_WRAPPER_OBJS
 SRCS=		lto-wrapper.c \
 		collect-utils.c \
-		ggc-none.o
+		ggc-none.c
 
 BINDIR=		/usr/libexec
 



CVS commit: src/external/gpl3/gcc/usr.bin/lto-wrapper

2020-06-29 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Mon Jun 29 08:30:42 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/lto-wrapper: Makefile

Log Message:
use ggc-none.c not ggc-none.o in SRCS


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile

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



re: CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2020-06-24 Thread matthew green
> Modified Files:
>   src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile
> 
> Log Message:
> PR bin/55411 (Akihiko HAYASHI)
> 
> Remove stray ``&&'' introduced in the previous revision, so that
> host tools are correctly passed to configure script.
> 
> No similar problem for gcc.old. No release branches are affected.

thanks!


CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2020-06-23 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Jun 24 05:06:08 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile

Log Message:
PR bin/55411 (Akihiko HAYASHI)

Remove stray ``&&'' introduced in the previous revision, so that
host tools are correctly passed to configure script.

No similar problem for gcc.old. No release branches are affected.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.4 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.5
--- src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.4	Thu Nov 14 09:27:08 2019
+++ src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile	Wed Jun 24 05:06:08 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2019/11/14 09:27:08 mrg Exp $
+#	$NetBSD: Makefile,v 1.5 2020/06/24 05:06:08 rin Exp $
 
 BUILD_ENV= \
 		AR=${HOST_AR:Q} \
@@ -24,7 +24,7 @@ BUILD_COMMAND=	/usr/bin/env -i ${BUILD_E
 
 libcpp/libcpp.a:
 	[ ! -d libcpp ] && mkdir libcpp || true
-	(cd libcpp && ${BUILD_ENV} && \
+	(cd libcpp && ${BUILD_ENV} \
 		${HOST_SH} ${DIST}/libcpp/configure -v am_cv_func_iconv=no \
 		&& ${BUILD_COMMAND})
 



CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2020-06-23 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Jun 24 05:06:08 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile

Log Message:
PR bin/55411 (Akihiko HAYASHI)

Remove stray ``&&'' introduced in the previous revision, so that
host tools are correctly passed to configure script.

No similar problem for gcc.old. No release branches are affected.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2020-06-12 Thread Santhosh Raju
Module Name:src
Committed By:   fox
Date:   Fri Jun 12 14:37:51 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
external/gpl3/gcc: Suppress -Werror=maybe-uninitialized

Seems like false positive since the ASM_GENERATE_INTERNAL_LABEL macro
stores the value into prev_label, so it is alright for prev_label to
be uninitialized.

Error was reported when build.sh was run with MKSANITIZER=yes flag.

Reviewed by: kamil@


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/external/gpl3/gcc/usr.bin/backend/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.57 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.58
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.57	Tue Oct 29 02:49:05 2019
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Fri Jun 12 14:37:51 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.57 2019/10/29 02:49:05 christos Exp $
+#	$NetBSD: Makefile,v 1.58 2020/06/12 14:37:51 fox Exp $
 
 LIBISPRIVATE=	yes
 
@@ -595,6 +595,8 @@ COPTS.tree.c=	${${ACTIVE_CC} == "clang" 
 
 CFLAGS+=	-Wno-stack-protector
 
+COPTS.dwarf2out.c+=-Wno-error=maybe-uninitialized
+
 .if ${GCC_MACHINE_ARCH} == "m68000" || ${GCC_MACHINE_ARCH} == "m68k" || \
 	${GCC_MACHINE_ARCH} == "coldfire"
 COPTS.tree-loop-distribution.c+=-O2



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2020-06-12 Thread Santhosh Raju
Module Name:src
Committed By:   fox
Date:   Fri Jun 12 14:37:51 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
external/gpl3/gcc: Suppress -Werror=maybe-uninitialized

Seems like false positive since the ASM_GENERATE_INTERNAL_LABEL macro
stores the value into prev_label, so it is alright for prev_label to
be uninitialized.

Error was reported when build.sh was run with MKSANITIZER=yes flag.

Reviewed by: kamil@


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/external/gpl3/gcc/usr.bin/backend/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin

2020-04-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Apr 28 07:47:54 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile

Log Message:
use -O3 for c-common.c on mipse[lb].  -O2 (but not -O1, -Os, or -O3) fails:

/tmp/ccyXqMRz.s: Assembler messages:
/tmp/ccyXqMRz.s:35813: Error: branch out of range
/tmp/ccyXqMRz.s:85083: Error: branch out of range


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin

2020-04-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Apr 28 07:47:54 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile

Log Message:
use -O3 for c-common.c on mipse[lb].  -O2 (but not -O1, -Os, or -O3) fails:

/tmp/ccyXqMRz.s: Assembler messages:
/tmp/ccyXqMRz.s:35813: Error: branch out of range
/tmp/ccyXqMRz.s:85083: Error: branch out of range


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.14 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.15
--- src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.14	Wed Feb 12 00:36:37 2020
+++ src/external/gpl3/gcc/usr.bin/cc1obj/Makefile	Tue Apr 28 07:47:54 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2020/02/12 00:36:37 fox Exp $
+#	$NetBSD: Makefile,v 1.15 2020/04/28 07:47:54 mrg Exp $
 
 MYOBJS=		${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS} 
 PROG=		cc1obj
@@ -60,6 +60,10 @@ COPTS.c-ubsan.c+=-O0
 COPTS.cc1obj-checksum.c+=-O0
 .endif
 
+.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
+COPTS.c-common.c+=-O3
+.endif
+
 LDADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
 DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
 

Index: src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.11 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.12
--- src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.11	Fri Feb  1 10:34:18 2019
+++ src/external/gpl3/gcc/usr.bin/cc1plus/Makefile	Tue Apr 28 07:47:54 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.11 2019/02/01 10:34:18 mrg Exp $
+#	$NetBSD: Makefile,v 1.12 2020/04/28 07:47:54 mrg Exp $
 
 PROG=		cc1plus
 SRCS=		${G_CXX_OBJS:S,c-family/,,:S,cp/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -52,6 +52,9 @@ COPTS.c-ubsan.c+=-O0
 COPTS.cc1plus-checksum.c+=-O0
 .endif
 
+.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
+COPTS.c-common.c+=-O3
+.endif
 
 LDADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
 DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}



CVS commit: src/external/gpl3/gcc/usr.bin/cc1

2020-04-27 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Apr 28 05:45:15 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile

Log Message:
use -O3 for c-common.c on mipse[lb].  -O2 (but not -O1, -Os, or -O3) fails:

/tmp/ccyXqMRz.s: Assembler messages:
/tmp/ccyXqMRz.s:35813: Error: branch out of range
/tmp/ccyXqMRz.s:85083: Error: branch out of range


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gcc/usr.bin/cc1/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/cc1

2020-04-27 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Apr 28 05:45:15 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile

Log Message:
use -O3 for c-common.c on mipse[lb].  -O2 (but not -O1, -Os, or -O3) fails:

/tmp/ccyXqMRz.s: Assembler messages:
/tmp/ccyXqMRz.s:35813: Error: branch out of range
/tmp/ccyXqMRz.s:85083: Error: branch out of range


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gcc/usr.bin/cc1/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.16 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.17
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.16	Wed Feb 12 00:36:37 2020
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Tue Apr 28 05:45:15 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.16 2020/02/12 00:36:37 fox Exp $
+#	$NetBSD: Makefile,v 1.17 2020/04/28 05:45:15 mrg Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -62,6 +62,10 @@ COPTS.c-ubsan.c+=-O0
 COPTS.cc1-checksum.c+=-O0
 .endif
 
+.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
+COPTS.c-common.c+=-O3
+.endif
+
 LDADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
 DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
 



CVS commit: src/external/gpl3/gcc/usr.bin

2020-02-11 Thread Santhosh Raju
Module Name:src
Committed By:   fox
Date:   Wed Feb 12 00:36:38 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile

Log Message:
external/gpl3/gcc: Fix build failure under LLVM.

-Wno-error= flag now only applies to gcc 8 and not to LLVM based builds.

Reviewed by: kamil@


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin

2020-02-11 Thread Santhosh Raju
Module Name:src
Committed By:   fox
Date:   Wed Feb 12 00:36:38 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile

Log Message:
external/gpl3/gcc: Fix build failure under LLVM.

-Wno-error= flag now only applies to gcc 8 and not to LLVM based builds.

Reviewed by: kamil@


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.15 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.16
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.15	Sun Feb  9 08:04:40 2020
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Wed Feb 12 00:36:37 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.15 2020/02/09 08:04:40 fox Exp $
+#	$NetBSD: Makefile,v 1.16 2020/02/12 00:36:37 fox Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -32,7 +32,7 @@ COPTS.c-ada-spec.c=	-Wno-stack-protector
 COPTS.c-attribs.c=	-Wno-stack-protector
 COPTS.c-aux-info.c=	-Wno-stack-protector
 COPTS.c-common.c=	-Wno-stack-protector
-COPTS.c-cppbuiltin.c=	-Wno-stack-protector -Wno-error=format-overflow
+COPTS.c-cppbuiltin.c=	-Wno-stack-protector
 COPTS.c-decl.c=		-Wno-stack-protector
 COPTS.c-format.c=	-Wno-stack-protector
 COPTS.c-format.h=	-Wno-stack-protector
@@ -40,7 +40,10 @@ COPTS.c-lex.c=		-Wno-stack-protector
 COPTS.c-opts.c=		-Wno-stack-protector
 COPTS.c-ppoutput.c=	-Wno-stack-protector
 COPTS.c-pragma.c=	-Wno-stack-protector
-COPTS.c-typeck.c=	-Wno-stack-protector -Wno-error=format-overflow
+COPTS.c-typeck.c=	-Wno-stack-protector
+
+COPTS.c-cppbuiltin.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=format-overflow :}
+COPTS.c-typeck.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=format-overflow :}
 
 CPPFLAGS.default-c.c+=	-I${BACKENDOBJ}
 

Index: src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.13 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.14
--- src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.13	Sun Feb  9 08:04:40 2020
+++ src/external/gpl3/gcc/usr.bin/cc1obj/Makefile	Wed Feb 12 00:36:37 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.13 2020/02/09 08:04:40 fox Exp $
+#	$NetBSD: Makefile,v 1.14 2020/02/12 00:36:37 fox Exp $
 
 MYOBJS=		${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS} 
 PROG=		cc1obj
@@ -35,17 +35,20 @@ COPTS.c-ada-spec.c+=			-Wno-stack-protec
 COPTS.c-attribs.c+=			-Wno-stack-protector
 COPTS.c-aux-info.c+=			-Wno-stack-protector
 COPTS.c-common.c+=			-Wno-stack-protector
-COPTS.c-cppbuiltin.c+=			-Wno-stack-protector -Wno-error=format-overflow
+COPTS.c-cppbuiltin.c+=			-Wno-stack-protector
 COPTS.c-decl.c+=			-Wno-stack-protector
 COPTS.c-format.c+=			-Wno-stack-protector
 COPTS.c-lex.c+=-Wno-stack-protector
 COPTS.c-ppoutput.c+=			-Wno-stack-protector
 COPTS.c-pragma.c+=			-Wno-stack-protector
-COPTS.c-typeck.c+=			-Wno-stack-protector -Wno-error=format-overflow
+COPTS.c-typeck.c+=			-Wno-stack-protector
 COPTS.objc-act.c+=			-Wno-stack-protector
 COPTS.objc-gnu-runtime-abi-01.c+=	-Wno-stack-protector
 COPTS.objc-next-runtime-abi-01.c+=	-Wno-stack-protector
 
+COPTS.c-cppbuiltin.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=format-overflow :}
+COPTS.c-typeck.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=format-overflow :}
+
 .if ${MACHINE_ARCH} == "vax"
 COPTS.c-decl.c+=-O0
 COPTS.c-typeck.c+=-O0



CVS commit: src/external/gpl3/gcc/usr.bin

2020-02-09 Thread Santhosh Raju
Module Name:src
Committed By:   fox
Date:   Sun Feb  9 08:04:40 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile

Log Message:
external/gpl3/gcc: Suppress -Werror=format-overflow error.

Add -Wno-error=format-overflow for c-cppbuiltin.c and c-typeck.c to prevent
build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.14 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.15
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.14	Wed Feb  6 16:57:30 2019
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Sun Feb  9 08:04:40 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2019/02/06 16:57:30 christos Exp $
+#	$NetBSD: Makefile,v 1.15 2020/02/09 08:04:40 fox Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -32,7 +32,7 @@ COPTS.c-ada-spec.c=	-Wno-stack-protector
 COPTS.c-attribs.c=	-Wno-stack-protector
 COPTS.c-aux-info.c=	-Wno-stack-protector
 COPTS.c-common.c=	-Wno-stack-protector
-COPTS.c-cppbuiltin.c=	-Wno-stack-protector
+COPTS.c-cppbuiltin.c=	-Wno-stack-protector -Wno-error=format-overflow
 COPTS.c-decl.c=		-Wno-stack-protector
 COPTS.c-format.c=	-Wno-stack-protector
 COPTS.c-format.h=	-Wno-stack-protector
@@ -40,7 +40,7 @@ COPTS.c-lex.c=		-Wno-stack-protector
 COPTS.c-opts.c=		-Wno-stack-protector
 COPTS.c-ppoutput.c=	-Wno-stack-protector
 COPTS.c-pragma.c=	-Wno-stack-protector
-COPTS.c-typeck.c=	-Wno-stack-protector
+COPTS.c-typeck.c=	-Wno-stack-protector -Wno-error=format-overflow
 
 CPPFLAGS.default-c.c+=	-I${BACKENDOBJ}
 

Index: src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.12 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.13
--- src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.12	Wed Feb  6 16:57:30 2019
+++ src/external/gpl3/gcc/usr.bin/cc1obj/Makefile	Sun Feb  9 08:04:40 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.12 2019/02/06 16:57:30 christos Exp $
+#	$NetBSD: Makefile,v 1.13 2020/02/09 08:04:40 fox Exp $
 
 MYOBJS=		${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS} 
 PROG=		cc1obj
@@ -35,13 +35,13 @@ COPTS.c-ada-spec.c+=			-Wno-stack-protec
 COPTS.c-attribs.c+=			-Wno-stack-protector
 COPTS.c-aux-info.c+=			-Wno-stack-protector
 COPTS.c-common.c+=			-Wno-stack-protector
-COPTS.c-cppbuiltin.c+=			-Wno-stack-protector
+COPTS.c-cppbuiltin.c+=			-Wno-stack-protector -Wno-error=format-overflow
 COPTS.c-decl.c+=			-Wno-stack-protector
 COPTS.c-format.c+=			-Wno-stack-protector
 COPTS.c-lex.c+=-Wno-stack-protector
 COPTS.c-ppoutput.c+=			-Wno-stack-protector
 COPTS.c-pragma.c+=			-Wno-stack-protector
-COPTS.c-typeck.c+=			-Wno-stack-protector
+COPTS.c-typeck.c+=			-Wno-stack-protector -Wno-error=format-overflow
 COPTS.objc-act.c+=			-Wno-stack-protector
 COPTS.objc-gnu-runtime-abi-01.c+=	-Wno-stack-protector
 COPTS.objc-next-runtime-abi-01.c+=	-Wno-stack-protector



CVS commit: src/external/gpl3/gcc/usr.bin

2020-02-09 Thread Santhosh Raju
Module Name:src
Committed By:   fox
Date:   Sun Feb  9 08:04:40 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile

Log Message:
external/gpl3/gcc: Suppress -Werror=format-overflow error.

Add -Wno-error=format-overflow for c-cppbuiltin.c and c-typeck.c to prevent
build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2019-11-14 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Nov 14 09:27:09 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile

Log Message:
duplicate a some of Makefile.gnuhost.

should fix PR#53561.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.3 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.4
--- src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.3	Mon Jun 26 17:38:10 2017
+++ src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile	Thu Nov 14 09:27:08 2019
@@ -1,14 +1,32 @@
-#	$NetBSD: Makefile,v 1.3 2017/06/26 17:38:10 joerg Exp $
+#	$NetBSD: Makefile,v 1.4 2019/11/14 09:27:08 mrg Exp $
 
-libcpp/libcpp.a:
-	[ ! -d libcpp ] && mkdir libcpp || true
-	(cd libcpp; \
-		CC=${HOST_CC:Q} CXX=${HOST_CXX:Q}  \
+BUILD_ENV= \
+		AR=${HOST_AR:Q} \
+		AWK=${TOOL_AWK:Q} \
+		CC=${HOST_CC:Q} \
 		CFLAGS=${HOST_CFLAGS:Q} \
-		MAKE=${TOOL_GMAKE:Q} \
 		CONFIG_SHELL=${HOST_SH:Q} \
+		CPPFLAGS=${HOST_CPPFLAGS:Q} \
+		CXX=${HOST_CXX:Q} \
+		CXXFLAGS=${HOST_CXXFLAGS:Q} \
+		INSTALL=${HOST_INSTALL_FILE:Q} \
+		LDFLAGS=${HOST_LDFLAGS:Q} \
+		LEX=${LEX:Q} \
+		FLEX=${LEX:Q} \
+		M4=${TOOL_M4:Q} \
+		MAKE=${TOOL_GMAKE:Q} \
+		PATH="${TOOLDIR}/bin:$$PATH" \
+		RANLIB=${HOST_RANLIB:Q} \
+		YACC=${YACC:Q}
+
+GMAKE_J_ARGS?=	${MAKEFLAGS:[*]:M*-j*:C/.*(-j ?[0-9]*).*/\1/W}
+BUILD_COMMAND=	/usr/bin/env -i ${BUILD_ENV} ${TOOL_GMAKE} ${GMAKE_J_ARGS} -e
+
+libcpp/libcpp.a:
+	[ ! -d libcpp ] && mkdir libcpp || true
+	(cd libcpp && ${BUILD_ENV} && \
 		${HOST_SH} ${DIST}/libcpp/configure -v am_cv_func_iconv=no \
-		&& CC=${HOST_CC:Q} CXX=${HOST_CXX:Q} CFLAGS=${HOST_CFLAGS:Q} ${TOOL_GMAKE})
+		&& ${BUILD_COMMAND})
 
 cleandir:
 	-rm -rf libcpp



CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2019-11-14 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Nov 14 09:27:09 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile

Log Message:
duplicate a some of Makefile.gnuhost.

should fix PR#53561.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2019-10-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Oct 29 02:49:05 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
Add more -O0 files for vax, sort


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/external/gpl3/gcc/usr.bin/backend/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.56 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.57
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.56	Wed Oct  2 02:52:00 2019
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Mon Oct 28 22:49:05 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.56 2019/10/02 06:52:00 mrg Exp $
+#	$NetBSD: Makefile,v 1.57 2019/10/29 02:49:05 christos Exp $
 
 LIBISPRIVATE=	yes
 
@@ -534,14 +534,17 @@ COPTS.builtins.c+=-O0
 COPTS.calls.c+=-O0
 COPTS.convert.c+=-O0
 COPTS.data-streamer-out.c+=-O0
-COPTS.dwarf2out.c+=-O0
 COPTS.dse.c+=-O0	# XXX port-vax/51967
+COPTS.dwarf2out.c+=-O0
 COPTS.expmed.c+=-O0
 COPTS.expr.c+=-O0 -Wno-error=tautological-compare
 COPTS.fixed-value.c+=-O0
 COPTS.fold-const.c+=-O0
+COPTS.generic-match.c+=-O0
 COPTS.gimple-fold.c+=-O0
+COPTS.gimple-match.c+=-O0
 COPTS.gimple-ssa-strength-reduction.c+=-O0
+COPTS.gimple-ssa-warn-restrict.c+=-O0
 COPTS.gimple.c+=-O0
 COPTS.internal-fn.c+=-O0
 COPTS.lto-streamer-out.c+=-O0
@@ -554,13 +557,13 @@ COPTS.stor-layout.c+=-O0
 COPTS.targhooks.c+=-O0
 COPTS.tree-affine.c+=-O0
 COPTS.tree-cfg.c+=-O0
+COPTS.tree-data-ref.c+=-O0
 COPTS.tree-eh.c+=-O0
 COPTS.tree-if-conv.c+=-O0
 COPTS.tree-object-size.c+=-O0
 COPTS.tree-parloops.c+=-O0
 COPTS.tree-predcom.c+=-O0
 COPTS.tree-pretty-print.c+=-O0
-COPTS.tree-ssa.c+=-O0
 COPTS.tree-ssa-alias.c+=-O0
 COPTS.tree-ssa-ccp.c+=-O0
 COPTS.tree-ssa-forwprop.c+=-O0
@@ -570,18 +573,21 @@ COPTS.tree-ssa-loop-niter.c+=-O0
 COPTS.tree-ssa-math-opts.c+=-O0
 COPTS.tree-ssa-pre.c+=-O0
 COPTS.tree-ssa-reassoc.c+=-O0
+COPTS.tree-ssa-strlen.c+=-O0
 COPTS.tree-ssa-uninit.c+=-O0
+COPTS.tree-ssa.c+=-O0
 COPTS.tree-switch-conversion.c+=-O0
 COPTS.tree-vect-data-refs.c+=-O0
-COPTS.tree-vect-loop.c+=-O0
 COPTS.tree-vect-loop-manip.c+=-O0
+COPTS.tree-vect-loop.c+=-O0
 COPTS.tree-vect-patterns.c+=-O0
 COPTS.tree-vect-stmts.c+=-O0
 COPTS.tree-vrp.c+=-O0
 COPTS.tree.c+=-O0
 COPTS.ubsan.c+=-O0
-COPTS.web.c+=-O0
 COPTS.varasm.c+=-O0
+COPTS.vr-values.c+=-O0
+COPTS.web.c+=-O0
 COPTS.wide-int.cc+=-O0
 .else
 COPTS.tree.c=	${${ACTIVE_CC} == "clang" :? -O0 :}



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2019-10-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Oct 29 02:49:05 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
Add more -O0 files for vax, sort


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/external/gpl3/gcc/usr.bin/backend/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/alpha

2019-10-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Oct 27 21:07:37 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/alpha: defs.mk

Log Message:
remove build output.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 \
src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/defs.mk

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



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/alpha

2019-10-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Oct 27 21:07:37 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/alpha: defs.mk

Log Message:
remove build output.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 \
src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/defs.mk

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/defs.mk
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/defs.mk:1.16 src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/defs.mk:1.17
--- src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/defs.mk:1.16	Wed Oct  2 03:15:01 2019
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/defs.mk	Sun Oct 27 17:07:37 2019
@@ -1,854 +1,7 @@
 # This file is automatically generated.  DO NOT EDIT!
-# Generated from: NetBSD: mknative-gcc,v 1.101 2019/02/23 06:54:45 mrg Exp 
+# Generated from: NetBSD: mknative-gcc,v 1.103 2019/10/24 03:19:14 christos Exp 
 # Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp 
 #
-running CONFIG_SHELL=/bin/sh /bin/sh /usr/src/external/gpl3/gcc/dist/gcc/configure --srcdir=/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc --cache-file=./config.cache --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/support/send-pr.html --with-pkgversion=NetBSD nb1 20190930 --with-system-zlib --without-isl --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-default-libstdcxx-abi=new --with-mpc-lib=/var/obj/mknative/alpha/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/alpha/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/alpha/usr/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/alpha --enable-tls --disable-multilib --disable-libstdcxx-pch --with-sysroot=/var/obj/mknative/alpha/usr
 /src/destdir.alpha --enable-languages=c,c++,lto,objc --program-transform-name=s,y,y, --disable-option-checking --build=x86_64-unknown-netbsd9.0 --host=alpha--netbsd --target=alpha--netbsd build_alias=x86_64-unknown-netbsd9.0 host_alias=alpha--netbsd target_alias=alpha--netbsd CC=/var/obj/mknative/alpha/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/alpha--netbsd-gcc --sysroot=/var/obj/mknative/alpha/usr/src/destdir.alpha -L/var/obj/mknative/alpha/usr/src/destdir.alpha/lib -L/var/obj/mknative/alpha/usr/src/destdir.alpha/usr/lib -B/var/obj/mknative/alpha/usr/src/destdir.alpha/usr/lib/ -I/var/obj/mknative/alpha/usr/src/tools/gcc/.native/gcc/include CFLAGS= LDFLAGS=-static-libstdc++ -static-libgcc  CPPFLAGS= CXX=/var/obj/mknative/alpha/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/alpha--netbsd-c++ --sysroot=/var/obj/mknative/alpha/usr/src/destdir.alpha -L/var/obj/mknative/alpha/usr/src/destdir.alpha/lib -L/var/obj/mknative/alpha/usr/src/destdir.alpha/usr/lib -B/var/obj/mknative/alpha/usr/src/de
 stdir.alpha/usr/lib/ -I/var/obj/mknative/alpha/usr/src/tools/gcc/.native/gcc/include --sysroot=/var/obj/mknative/alpha/usr/src/destdir.alpha CXXFLAGS= CPP=/var/obj/mknative/alpha/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/alpha--netbsd-cpp -I/var/obj/mknative/alpha/usr/src/destdir.alpha/usr/include -I/var/obj/mknative/alpha/usr/src/destdir.alpha/usr/include/g++/bits GMPLIBS=-L/var/obj/mknative/alpha/usr/src/external/lgpl3/gmp/lib/libgmp -L/var/obj/mknative/alpha/usr/src/external/lgpl3/mpfr/lib/libmpfr -L/var/obj/mknative/alpha/usr/src/external/lgpl3/mpc/lib/libmpc -lmpc -lmpfr -lgmp GMPINC=-I/usr/src/external/lgpl3/gmp/lib/libgmp/arch/alpha -I/usr/src/external/lgpl3/mpfr/dist/src -I/usr/src/external/lgpl3/mpc/dist/src  ISLLIBS= ISLINC= --no-create --no-recursion
-configure: loading cache ./config.cache
-checking build system type... (cached) x86_64-unknown-netbsd9.0
-checking host system type... (cached) alpha--netbsd
-checking target system type... (cached) alpha--netbsd
-checking LIBRARY_PATH variable... ok
-checking GCC_EXEC_PREFIX variable... ok
-checking whether to place generated files in the source directory... no
-checking whether a default linker was specified... no
-checking whether a default assembler was specified... no
-checking for alpha--netbsd-gcc... (cached) /var/obj/mknative/alpha/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/alpha--netbsd-gcc --sysroot=/var/obj/mknative/alpha/usr/src/destdir.alpha -L/var/obj/mknative/alpha/usr/src/destdir.alpha/lib -L/var/obj/mknative/alpha/usr/src/destdir.alpha/usr/lib -B/var/obj/mknative/alpha/usr/src/destdir.alpha/usr/lib/ -I/var/obj/mknative/alpha/usr/src/tools/gcc/.native/gcc/include
-checking for C compiler default output file name... a.out
-checking whether the C compiler works... yes
-checking whether we are cross compiling... yes
-checking for suffix of executables... 
-checking for 

CVS commit: src/external/gpl3/gcc/usr.bin

2019-10-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Oct 24 18:48:43 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.frontend

Log Message:
arm-common.c uses bitmap stuff so put the common-target.a before common.a


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/Makefile.frontend

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.frontend
diff -u src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.6 src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.7
--- src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.6	Fri Feb  1 05:34:18 2019
+++ src/external/gpl3/gcc/usr.bin/Makefile.frontend	Thu Oct 24 14:48:43 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.frontend,v 1.6 2019/02/01 10:34:18 mrg Exp $
+#	$NetBSD: Makefile.frontend,v 1.7 2019/10/24 18:48:43 christos Exp $
 
 BINDIR=		/usr/bin
 
@@ -14,8 +14,8 @@ DPADD+=			${FRONTENDOBJ}/libfrontend.a
 LDADD+=			-L${FRONTENDOBJ} -lfrontend
 .endif
 
-.include "../Makefile.common"
 .include "../Makefile.common-target"
+.include "../Makefile.common"
 .include "../Makefile.libcpp"
 .include "../Makefile.backtrace"
 .include "../Makefile.libiberty"



CVS commit: src/external/gpl3/gcc/usr.bin

2019-10-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Oct 24 18:48:43 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.frontend

Log Message:
arm-common.c uses bitmap stuff so put the common-target.a before common.a


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/Makefile.frontend

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



CVS commit: src/external/gpl3/gcc/usr.bin/common-target

2019-10-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Oct 24 18:48:09 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/common-target: Makefile

Log Message:
arm-common.c needs stack-protector treatment


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/common-target/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/common-target/Makefile
diff -u src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.8 src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.9
--- src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.8	Mon Feb  4 23:45:07 2019
+++ src/external/gpl3/gcc/usr.bin/common-target/Makefile	Thu Oct 24 14:48:09 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2019/02/05 04:45:07 mrg Exp $
+#	$NetBSD: Makefile,v 1.9 2019/10/24 18:48:09 christos Exp $
 
 LIBISPRIVATE=	yes
 
@@ -21,6 +21,7 @@ CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} 
 COPTS.prefix.c+=	-Wno-stack-protector
 COPTS.opts-common.c+=	-Wno-stack-protector
 COPTS.rs6000-common.c+=	-Wno-stack-protector
+COPTS.arm-common.c+=	-Wno-stack-protector
 
 GENPROG_ERROR_DEPENDS=errors.lo
 



CVS commit: src/external/gpl3/gcc/usr.bin/common-target

2019-10-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Oct 24 18:48:09 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/common-target: Makefile

Log Message:
arm-common.c needs stack-protector treatment


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/common-target/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf

2019-10-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Oct 24 03:26:06 UTC 2019

Added Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf: arm-cpu-cdata.h
arm-cpu-data.h

Log Message:
add new files
XXX: all the arms need regen


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/arm-cpu-cdata.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/arm-cpu-data.h

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



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf

2019-10-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Oct 24 03:26:06 UTC 2019

Added Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf: arm-cpu-cdata.h
arm-cpu-data.h

Log Message:
add new files
XXX: all the arms need regen


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/arm-cpu-cdata.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/arm-cpu-data.h

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

Added files:

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/arm-cpu-cdata.h
diff -u /dev/null src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/arm-cpu-cdata.h:1.1
--- /dev/null	Wed Oct 23 23:26:06 2019
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/arm-cpu-cdata.h	Wed Oct 23 23:26:06 2019
@@ -0,0 +1,3591 @@
+/* This file is automatically generated.  DO NOT EDIT! */
+/* Generated from: NetBSD: mknative-gcc,v 1.102 2019/10/16 06:57:24 mrg Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
+
+/* -*- buffer-read-only: t -*-
+   Generated automatically by parsecpu.awk from arm-cpus.in.
+   Do not edit.
+
+   Copyright (C) 2011-2018 Free Software Foundation, Inc.
+
+   This file is part of GCC.
+
+   GCC is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as
+   published by the Free Software Foundation; either version 3,
+   or (at your option) any later version.
+
+   GCC is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public
+   License along with GCC; see the file COPYING3.  If not see
+   .  */
+
+static const cpu_arch_extension cpu_opttab_arm9e[] = {
+  {
+"nofp", true, false,
+{
+  isa_bit_vfpv2, isa_bit_vfpv3, isa_bit_vfpv4, isa_bit_neon, 
+  isa_bit_fpv5, isa_bit_fp_d32, isa_bit_fp16, isa_bit_fp16conv, 
+  isa_bit_crypto, isa_bit_fp_dbl, isa_nobit
+}
+  },
+  { NULL, false, false, {isa_nobit}}
+};
+
+static const cpu_arch_extension cpu_opttab_arm946es[] = {
+  {
+"nofp", true, false,
+{
+  isa_bit_vfpv2, isa_bit_vfpv3, isa_bit_vfpv4, isa_bit_neon, 
+  isa_bit_fpv5, isa_bit_fp_d32, isa_bit_fp16, isa_bit_fp16conv, 
+  isa_bit_crypto, isa_bit_fp_dbl, isa_nobit
+}
+  },
+  { NULL, false, false, {isa_nobit}}
+};
+
+static const cpu_arch_extension cpu_opttab_arm966es[] = {
+  {
+"nofp", true, false,
+{
+  isa_bit_vfpv2, isa_bit_vfpv3, isa_bit_vfpv4, isa_bit_neon, 
+  isa_bit_fpv5, isa_bit_fp_d32, isa_bit_fp16, isa_bit_fp16conv, 
+  isa_bit_crypto, isa_bit_fp_dbl, isa_nobit
+}
+  },
+  { NULL, false, false, {isa_nobit}}
+};
+
+static const cpu_arch_extension cpu_opttab_arm968es[] = {
+  {
+"nofp", true, false,
+{
+  isa_bit_vfpv2, isa_bit_vfpv3, isa_bit_vfpv4, isa_bit_neon, 
+  isa_bit_fpv5, isa_bit_fp_d32, isa_bit_fp16, isa_bit_fp16conv, 
+  isa_bit_crypto, isa_bit_fp_dbl, isa_nobit
+}
+  },
+  { NULL, false, false, {isa_nobit}}
+};
+
+static const cpu_arch_extension cpu_opttab_arm10e[] = {
+  {
+"nofp", true, false,
+{
+  isa_bit_vfpv2, isa_bit_vfpv3, isa_bit_vfpv4, isa_bit_neon, 
+  isa_bit_fpv5, isa_bit_fp_d32, isa_bit_fp16, isa_bit_fp16conv, 
+  isa_bit_crypto, isa_bit_fp_dbl, isa_nobit
+}
+  },
+  { NULL, false, false, {isa_nobit}}
+};
+
+static const cpu_arch_extension cpu_opttab_arm1020e[] = {
+  {
+"nofp", true, false,
+{
+  isa_bit_vfpv2, isa_bit_vfpv3, isa_bit_vfpv4, isa_bit_neon, 
+  isa_bit_fpv5, isa_bit_fp_d32, isa_bit_fp16, isa_bit_fp16conv, 
+  isa_bit_crypto, isa_bit_fp_dbl, isa_nobit
+}
+  },
+  { NULL, false, false, {isa_nobit}}
+};
+
+static const cpu_arch_extension cpu_opttab_arm1022e[] = {
+  {
+"nofp", true, false,
+{
+  isa_bit_vfpv2, isa_bit_vfpv3, isa_bit_vfpv4, isa_bit_neon, 
+  isa_bit_fpv5, isa_bit_fp_d32, isa_bit_fp16, isa_bit_fp16conv, 
+  isa_bit_crypto, isa_bit_fp_dbl, isa_nobit
+}
+  },
+  { NULL, false, false, {isa_nobit}}
+};
+
+static const cpu_arch_extension cpu_opttab_arm926ejs[] = {
+  {
+"nofp", true, false,
+{
+  isa_bit_vfpv2, isa_bit_vfpv3, isa_bit_vfpv4, isa_bit_neon, 
+  isa_bit_fpv5, isa_bit_fp_d32, isa_bit_fp16, isa_bit_fp16conv, 
+  isa_bit_crypto, isa_bit_fp_dbl, isa_nobit
+}
+  },
+  { NULL, false, false, {isa_nobit}}
+};
+
+static const cpu_arch_extension cpu_opttab_arm1026ejs[] = {
+  {
+"nofp", true, false,
+{
+  isa_bit_vfpv2, isa_bit_vfpv3, isa_bit_vfpv4, isa_bit_neon, 
+  isa_bit_fpv5, isa_bit_fp_d32, isa_bit_fp16, isa_bit_fp16conv, 
+  isa_bit_crypto, isa_bit_fp_dbl, isa_nobit
+}
+  },
+  { 

CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch

2019-10-16 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Oct 16 07:38:04 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/arm: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earm: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6eb: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hf: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hfeb: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7eb: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hfeb: configargs.h defs.mk
gtyp-input.list tm.h
Added Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/arm: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earm: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6eb: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hf: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hfeb: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7eb: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hfeb: arm-cpu.h arm-isa.h

Log Message:
regen arm ports for config.gcc fix.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 \
src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/configargs.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/gcc/arch/arm/arm-cpu.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/arm-isa.h
cvs rdiff -u -r1.34 -r1.35 \
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/configargs.h
cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/gcc/usr.bin/gcc/arch/arm/defs.mk
cvs rdiff -u -r1.7 -r1.8 \
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/gtyp-input.list
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/gcc/arch/arm/tm.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/arm-cpu.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/arm-isa.h
cvs rdiff -u -r1.35 -r1.36 \
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/configargs.h
cvs rdiff -u -r1.19 -r1.20 \
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/defs.mk
cvs rdiff -u -r1.7 -r1.8 \
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/gtyp-input.list
cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/tm.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/gcc/arch/earm/arm-cpu.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/arm-isa.h
cvs rdiff -u -r1.35 -r1.36 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h
cvs rdiff -u -r1.18 -r1.19 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk
cvs rdiff -u -r1.7 -r1.8 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/gtyp-input.list
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/arm-cpu.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/arm-isa.h
cvs rdiff -u -r1.29 -r1.30 \

re: CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64

2019-10-02 Thread matthew green
"Nick Hudson" writes:
> Module Name:  src
> Committed By: skrll
> Date: Wed Oct  2 10:34:48 UTC 2019
> 
> Modified Files:
>   src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64: defs.mk
> 
> Log Message:
> Remove garbage. Maybe something is wrong with mknative or mrg's script?

thanks.  this happens when mknative is run a second time, not sure
why it's started happening yet.  appears to be mknative not me.

btw, if you were hitting this, you need to clean your tree because
this subdir shouldn't be used currently by anyone -- it's now got
gcc 8 bits, and the default for everyone is still gcc 7.


.mrg.


CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64

2019-10-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Oct  2 10:34:48 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64: defs.mk

Log Message:
Remove garbage. Maybe something is wrong with mknative or mrg's script?


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk:1.6 src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk:1.7
--- src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk:1.6	Wed Oct  2 07:15:01 2019
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk	Wed Oct  2 10:34:48 2019
@@ -2,857 +2,6 @@
 # Generated from: NetBSD: mknative-gcc,v 1.101 2019/02/23 06:54:45 mrg Exp 
 # Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp 
 #
-running CONFIG_SHELL=/bin/sh /bin/sh /usr/src/external/gpl3/gcc/dist/gcc/configure --srcdir=/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc --cache-file=./config.cache --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/support/send-pr.html --with-pkgversion=NetBSD nb1 20190930 --with-system-zlib --without-isl --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --enable-fix-cortex-a53-835769 --enable-fix-cortex-a53-843419 --with-default-libstdcxx-abi=new --with-mpc-lib=/var/obj/mknative/evbarm-aarch64/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/evbarm-aarch64/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/evbarm-aarch64/usr/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/aarch64 --enabl
 e-tls --disable-multilib --disable-libstdcxx-pch --with-sysroot=/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm --enable-languages=c,c++,lto,objc --program-transform-name=s,y,y, --disable-option-checking --build=x86_64-unknown-netbsd9.0 --host=aarch64--netbsd --target=aarch64--netbsd build_alias=x86_64-unknown-netbsd9.0 host_alias=aarch64--netbsd target_alias=aarch64--netbsd CC=/var/obj/mknative/evbarm-aarch64/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/aarch64--netbsd-gcc --sysroot=/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm -L/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/lib -L/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/lib -B/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/lib/ -I/var/obj/mknative/evbarm-aarch64/usr/src/tools/gcc/.native/gcc/include CFLAGS= LDFLAGS=-static-libstdc++ -static-libgcc  CPPFLAGS= CXX=/var/obj/mknative/evbarm-aarch64/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/aarch64--netbsd-c++ --sysroot=/var/obj/m
 knative/evbarm-aarch64/usr/src/destdir.evbarm -L/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/lib -L/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/lib -B/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/lib/ -I/var/obj/mknative/evbarm-aarch64/usr/src/tools/gcc/.native/gcc/include --sysroot=/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm CXXFLAGS= CPP=/var/obj/mknative/evbarm-aarch64/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/aarch64--netbsd-cpp -I/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/include -I/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/include/g++/bits GMPLIBS=-L/var/obj/mknative/evbarm-aarch64/usr/src/external/lgpl3/gmp/lib/libgmp -L/var/obj/mknative/evbarm-aarch64/usr/src/external/lgpl3/mpfr/lib/libmpfr -L/var/obj/mknative/evbarm-aarch64/usr/src/external/lgpl3/mpc/lib/libmpc -lmpc -lmpfr -lgmp GMPINC=-I/usr/src/external/lgpl3/gmp/lib/libgmp/arch/aarch64 -I/usr/src/external/lgpl3/mpfr/dist/src -I/usr/src
 /external/lgpl3/mpc/dist/src  ISLLIBS= ISLINC= --no-create --no-recursion
-configure: loading cache ./config.cache
-checking build system type... (cached) x86_64-unknown-netbsd9.0
-checking host system type... (cached) aarch64--netbsd
-checking target system type... (cached) aarch64--netbsd
-checking LIBRARY_PATH variable... ok
-checking GCC_EXEC_PREFIX variable... ok
-checking whether to place generated files in the source directory... no
-checking whether a default linker was specified... no
-checking whether a default assembler was specified... no
-checking for aarch64--netbsd-gcc... (cached) /var/obj/mknative/evbarm-aarch64/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/aarch64--netbsd-gcc --sysroot=/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm -L/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/lib -L/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/lib 

CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64

2019-10-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Oct  2 10:34:48 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64: defs.mk

Log Message:
Remove garbage. Maybe something is wrong with mknative or mrg's script?


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk

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



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64

2019-02-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Feb 28 09:49:14 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64: auto-host.h tm.h

Log Message:
basic mknative bootstrap-libgcc for riscv64


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/auto-host.h
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/tm.h

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



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64

2019-02-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Feb 28 09:49:14 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64: auto-host.h tm.h

Log Message:
basic mknative bootstrap-libgcc for riscv64


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/auto-host.h
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/tm.h

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/auto-host.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/auto-host.h:1.3 src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/auto-host.h:1.4
--- src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/auto-host.h:1.3	Sun Feb 10 07:57:22 2019
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/auto-host.h	Thu Feb 28 09:49:14 2019
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.100 2019/02/09 03:57:00 mrg Exp  */
+/* Generated from: NetBSD: mknative-gcc,v 1.101 2019/02/23 06:54:45 mrg Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
 /* auto-host.h.  Generated from config.in by configure.  */
@@ -1802,7 +1802,7 @@
 
 
 /* Define if your target C library provides sys/sdt.h */
-/* #undef HAVE_SYS_SDT_H */
+#define HAVE_SYS_SDT_H 1
 
 /* Define to 1 if you have the  header file. */
 #ifndef USED_FOR_TARGET

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/tm.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/tm.h:1.2 src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/tm.h:1.3
--- src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/tm.h:1.2	Sun Feb 10 07:57:22 2019
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/tm.h	Thu Feb 28 09:49:14 2019
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.100 2019/02/09 03:57:00 mrg Exp  */
+/* Generated from: NetBSD: mknative-gcc,v 1.101 2019/02/23 06:54:45 mrg Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
 #ifndef GCC_TM_H
@@ -19,6 +19,12 @@
 #ifndef NETBSD_ENABLE_PTHREADS
 # define NETBSD_ENABLE_PTHREADS
 #endif
+#ifndef CHAR_FAST8
+# define CHAR_FAST8 1
+#endif
+#ifndef SHORT_FAST16
+# define SHORT_FAST16 1
+#endif
 #ifdef IN_GCC
 # include "options.h"
 # include "insn-constants.h"



CVS commit: src/external/gpl3/gcc/usr.bin/cpp

2019-02-08 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Feb  9 07:32:50 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/cpp: Makefile

Log Message:
make sure Makefile.inc is included before Makefile.driver.

allows removing a depend hack and may also fix dtrace/ctf builds.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/cpp/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/cpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.10 src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.11
--- src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.10	Fri Feb  1 10:36:33 2019
+++ src/external/gpl3/gcc/usr.bin/cpp/Makefile	Sat Feb  9 07:32:50 2019
@@ -1,8 +1,11 @@
-#	$NetBSD: Makefile,v 1.10 2019/02/01 10:36:33 mrg Exp $
+#	$NetBSD: Makefile,v 1.11 2019/02/09 07:32:50 mrg Exp $
+
+.include 
 
 PROG=		cpp
 SRCS=		cppspec.c ${G_GCC_OBJS:.o=.c}
 
+.include "../Makefile.driver"
 .include "../Makefile.target-defines"
 
 COPTS+=		-Wno-stack-protector
@@ -18,11 +21,8 @@ INFOFLAGS=	-I${DIST}/gcc/doc -I${DIST}/g
 LDADD+=		-lintl
 DPADD+=		${LIBINTL}
 
-.include 
-
 ADD_FRONTEND_LIBRARY=	no
 .include "../Makefile.frontend"
-.include "../Makefile.driver"
 
 ${SRCS}: ${GCCARCH}/defs.mk
 
@@ -33,6 +33,3 @@ COPTS.gcc.c=	-Wno-stack-protector
 .PATH: ${DIST}/gcc ${DIST}/gcc/c-family ${DIST}/gcc/doc
 
 cpp.info: gcc-vers.texi
-
-# XXX - driver-i386.o isn't built otherwise
-${PROG}: ${OBJS}



CVS commit: src/external/gpl3/gcc/usr.bin/cpp

2019-02-08 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Feb  9 07:32:50 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/cpp: Makefile

Log Message:
make sure Makefile.inc is included before Makefile.driver.

allows removing a depend hack and may also fix dtrace/ctf builds.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/cpp/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch

2019-02-07 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  8 01:29:45 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/earm: configargs.h defs.mk tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb: configargs.h defs.mk
tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf: configargs.h defs.mk
tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb: configargs.h defs.mk
tm.h

Log Message:
regen to give "earm" a v5 default again.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h
cvs rdiff -u -r1.15 -r1.16 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h
cvs rdiff -u -r1.24 -r1.25 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/configargs.h
cvs rdiff -u -r1.13 -r1.14 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/defs.mk
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/tm.h
cvs rdiff -u -r1.25 -r1.26 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/configargs.h
cvs rdiff -u -r1.14 -r1.15 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/defs.mk
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/tm.h
cvs rdiff -u -r1.23 -r1.24 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/configargs.h
cvs rdiff -u -r1.12 -r1.13 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/defs.mk
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/tm.h

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h:1.30 src/external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h:1.31
--- src/external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h:1.30	Tue Feb  5 21:50:18 2019
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h	Fri Feb  8 01:29:44 2019
@@ -8,4 +8,4 @@ static const char thread_model[] = "posi
 
 static const struct {
   const char *name, *value;
-} configure_default_options[] = { { NULL, NULL} };
+} configure_default_options[] = { { "cpu", "arm9e" } };

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk:1.15 src/external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk:1.16
--- src/external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk:1.15	Tue Feb  5 21:50:18 2019
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk	Fri Feb  8 01:29:44 2019
@@ -44,7 +44,7 @@ G_tm_defines=LIBC_GLIBC=1 LIBC_UCLIBC=2 
 G_host_xm_file=
 G_host_xm_defines=
 G_tm_p_file=
-G_target_cpu_default=TARGET_CPU_arm6
+G_target_cpu_default=TARGET_CPU_arm9e
 G_TM_H=tm.h  options.h ${GNUHOSTDIST}/gcc/config/dbxelf.h ${GNUHOSTDIST}/gcc/config/elfos.h ${GNUHOSTDIST}/gcc/config/netbsd.h ${GNUHOSTDIST}/gcc/config/netbsd-stdint.h ${GNUHOSTDIST}/gcc/config/netbsd-elf.h ${GNUHOSTDIST}/gcc/config/arm/elf.h ${GNUHOSTDIST}/gcc/config/arm/bpabi.h ${GNUHOSTDIST}/gcc/config/arm/netbsd-elf.h ${GNUHOSTDIST}/gcc/config/arm/netbsd-eabi.h ${GNUHOSTDIST}/gcc/config/arm/aout.h ${GNUHOSTDIST}/gcc/config/arm/arm.h ${GNUHOSTDIST}/gcc/config/initfini-array.h ${GNUHOSTDIST}/gcc/defaults.h insn-constants.h insn-flags.h options.h flag-types.h  ${GNUHOSTDIST}/gcc/config/arm/arm-opts.h ${GNUHOSTDIST}/gcc/config/arm/arm-cpu.h
 G_ALL_OPT_FILES=${GNUHOSTDIST}/gcc/brig/lang.opt ${GNUHOSTDIST}/gcc/lto/lang.opt ${GNUHOSTDIST}/gcc/c-family/c.opt ${GNUHOSTDIST}/gcc/common.opt ${GNUHOSTDIST}/gcc/config/arm/arm-tables.opt ${GNUHOSTDIST}/gcc/config/arm/arm.opt ${GNUHOSTDIST}/gcc/config/netbsd.opt ${GNUHOSTDIST}/gcc/config/netbsd-elf.opt
 G_tm_file_list=options.h ${GNUHOSTDIST}/gcc/config/dbxelf.h ${GNUHOSTDIST}/gcc/config/elfos.h ${GNUHOSTDIST}/gcc/config/netbsd.h ${GNUHOSTDIST}/gcc/config/netbsd-stdint.h ${GNUHOSTDIST}/gcc/config/netbsd-elf.h ${GNUHOSTDIST}/gcc/config/arm/elf.h ${GNUHOSTDIST}/gcc/config/arm/bpabi.h ${GNUHOSTDIST}/gcc/config/arm/netbsd-elf.h ${GNUHOSTDIST}/gcc/config/arm/netbsd-eabi.h ${GNUHOSTDIST}/gcc/config/arm/aout.h ${GNUHOSTDIST}/gcc/config/arm/arm.h ${GNUHOSTDIST}/gcc/config/initfini-array.h ${GNUHOSTDIST}/gcc/defaults.h

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h:1.6 src/external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h:1.7
--- src/external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h:1.6	Tue Feb  5 21:50:18 2019
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h	Fri Feb  8 01:29:44 2019
@@ -4,7 +4,7 @@
 
 #ifndef GCC_TM_H
 #define GCC_TM_H
-#define TARGET_CPU_DEFAULT (TARGET_CPU_arm6)
+#define TARGET_CPU_DEFAULT (TARGET_CPU_arm9e)
 #ifndef LIBC_GLIBC
 # define LIBC_GLIBC 1
 #endif

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/configargs.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/configargs.h:1.24 

CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch

2019-02-07 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  8 01:29:45 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/earm: configargs.h defs.mk tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb: configargs.h defs.mk
tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf: configargs.h defs.mk
tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb: configargs.h defs.mk
tm.h

Log Message:
regen to give "earm" a v5 default again.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h
cvs rdiff -u -r1.15 -r1.16 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h
cvs rdiff -u -r1.24 -r1.25 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/configargs.h
cvs rdiff -u -r1.13 -r1.14 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/defs.mk
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/tm.h
cvs rdiff -u -r1.25 -r1.26 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/configargs.h
cvs rdiff -u -r1.14 -r1.15 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/defs.mk
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/tm.h
cvs rdiff -u -r1.23 -r1.24 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/configargs.h
cvs rdiff -u -r1.12 -r1.13 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/defs.mk
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/tm.h

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



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2019-02-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Feb  7 05:28:38 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
apply -O0 to a few more files for vax.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/external/gpl3/gcc/usr.bin/backend/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.52 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.53
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.52	Mon Feb  4 08:15:51 2019
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Thu Feb  7 05:28:38 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.52 2019/02/04 08:15:51 mrg Exp $
+#	$NetBSD: Makefile,v 1.53 2019/02/07 05:28:38 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -526,7 +526,9 @@ COPTS.insn-recog.c+=-Wno-error
 .if ${GCC_MACHINE_ARCH} == "vax"
 CPPFLAGS+=-I${.CURDIR}/../../lib/libgcc/libgcov/arch/${GCC_MACHINE_ARCH}
 COPTS.builtins.c+=-O0
+COPTS.calls.c+=-O0
 COPTS.convert.c+=-O0
+COPTS.data-streamer-out.c+=-O0
 COPTS.dwarf2out.c+=-O0
 COPTS.dse.c+=-O0	# XXX port-vax/51967
 COPTS.expmed.c+=-O0
@@ -548,10 +550,12 @@ COPTS.targhooks.c+=-O0
 COPTS.tree-affine.c+=-O0
 COPTS.tree-cfg.c+=-O0
 COPTS.tree-eh.c+=-O0
+COPTS.tree-if-conv.c+=-O0
 COPTS.tree-object-size.c+=-O0
 COPTS.tree-parloops.c+=-O0
 COPTS.tree-predcom.c+=-O0
 COPTS.tree-pretty-print.c+=-O0
+COPTS.tree-ssa.c+=-O0
 COPTS.tree-ssa-alias.c+=-O0
 COPTS.tree-ssa-ccp.c+=-O0
 COPTS.tree-ssa-forwprop.c+=-O0
@@ -564,12 +568,14 @@ COPTS.tree-ssa-reassoc.c+=-O0
 COPTS.tree-ssa-uninit.c+=-O0
 COPTS.tree-switch-conversion.c+=-O0
 COPTS.tree-vect-data-refs.c+=-O0
+COPTS.tree-vect-loop.c+=-O0
 COPTS.tree-vect-loop-manip.c+=-O0
 COPTS.tree-vect-patterns.c+=-O0
 COPTS.tree-vect-stmts.c+=-O0
 COPTS.tree-vrp.c+=-O0
 COPTS.tree.c+=-O0
 COPTS.ubsan.c+=-O0
+COPTS.web.c+=-O0
 COPTS.varasm.c+=-O0
 COPTS.wide-int.cc+=-O0
 .else



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2019-02-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Feb  7 05:28:38 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
apply -O0 to a few more files for vax.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/external/gpl3/gcc/usr.bin/backend/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/vax

2019-02-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Feb  7 05:28:12 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/vax: defs.mk

Log Message:
fix merge botch.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/gcc/arch/vax/defs.mk

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/vax/defs.mk
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/vax/defs.mk:1.15 src/external/gpl3/gcc/usr.bin/gcc/arch/vax/defs.mk:1.16
--- src/external/gpl3/gcc/usr.bin/gcc/arch/vax/defs.mk:1.15	Mon Feb  4 02:58:47 2019
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/vax/defs.mk	Thu Feb  7 05:28:12 2019
@@ -2,833 +2,6 @@
 # Generated from: NetBSD: mknative-gcc,v 1.99 2019/02/04 01:46:59 mrg Exp 
 # Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp 
 #
-running CONFIG_SHELL=/bin/sh /bin/sh /usr/src6/external/gpl3/gcc/dist/gcc/configure --srcdir=/usr/src6/tools/gcc/../../external/gpl3/gcc/dist/gcc --cache-file=./config.cache --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion=NetBSD nb1 20190119 --with-system-zlib --without-isl --disable-libstdcxx-dual-abi --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-default-libstdcxx-abi=new --with-mpc-lib=/var/obj/mknative/vax/usr/src6/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/vax/usr/src6/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/vax/usr/src6/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src6/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src6/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src6/external/lgpl3/gmp/lib/libgmp/arch/vax --disable-multilib --disable-symvers --disable-libstdcxx-pch --with-sysr
 oot=/var/obj/mknative/vax/usr/src6/destdir.vax --enable-languages=c,c++,lto,objc --program-transform-name=s,y,y, --disable-option-checking --build=x86_64-unknown-netbsd8.0 --host=vax--netbsdelf --target=vax--netbsdelf build_alias=x86_64-unknown-netbsd8.0 host_alias=vax--netbsdelf target_alias=vax--netbsdelf CC=/var/obj/mknative/vax/usr/src6/tooldir.NetBSD-8.0_STABLE-amd64/bin/vax--netbsdelf-gcc --sysroot=/var/obj/mknative/vax/usr/src6/destdir.vax -L/var/obj/mknative/vax/usr/src6/destdir.vax/lib -L/var/obj/mknative/vax/usr/src6/destdir.vax/usr/lib -B/var/obj/mknative/vax/usr/src6/destdir.vax/usr/lib/ -I/var/obj/mknative/vax/usr/src6/tools/gcc/.native/gcc/include CFLAGS= LDFLAGS=-static-libstdc++ -static-libgcc  CPPFLAGS= CXX=/var/obj/mknative/vax/usr/src6/tooldir.NetBSD-8.0_STABLE-amd64/bin/vax--netbsdelf-c++ --sysroot=/var/obj/mknative/vax/usr/src6/destdir.vax -L/var/obj/mknative/vax/usr/src6/destdir.vax/lib -L/var/obj/mknative/vax/usr/src6/destdir.vax/usr/lib -B/var/obj/mknative/va
 x/usr/src6/destdir.vax/usr/lib/ -I/var/obj/mknative/vax/usr/src6/tools/gcc/.native/gcc/include --sysroot=/var/obj/mknative/vax/usr/src6/destdir.vax CXXFLAGS= CPP=/var/obj/mknative/vax/usr/src6/tooldir.NetBSD-8.0_STABLE-amd64/bin/vax--netbsdelf-cpp -I/var/obj/mknative/vax/usr/src6/destdir.vax/usr/include -I/var/obj/mknative/vax/usr/src6/destdir.vax/usr/include/g++/bits GMPLIBS=-L/var/obj/mknative/vax/usr/src6/external/lgpl3/gmp/lib/libgmp -L/var/obj/mknative/vax/usr/src6/external/lgpl3/mpfr/lib/libmpfr -L/var/obj/mknative/vax/usr/src6/external/lgpl3/mpc/lib/libmpc -lmpc -lmpfr -lgmp GMPINC=-I/usr/src6/external/lgpl3/gmp/lib/libgmp/arch/vax -I/usr/src6/external/lgpl3/mpfr/dist/src -I/usr/src6/external/lgpl3/mpc/dist/src  ISLLIBS= ISLINC= --no-create --no-recursion
-configure: loading cache ./config.cache
-checking build system type... (cached) x86_64-unknown-netbsd8.0
-checking host system type... (cached) vax--netbsdelf
-checking target system type... (cached) vax--netbsdelf
-checking LIBRARY_PATH variable... ok
-checking GCC_EXEC_PREFIX variable... ok
-checking whether to place generated files in the source directory... no
-checking whether a default linker was specified... no
-checking whether a default assembler was specified... no
-checking for vax--netbsdelf-gcc... (cached) /var/obj/mknative/vax/usr/src6/tooldir.NetBSD-8.0_STABLE-amd64/bin/vax--netbsdelf-gcc --sysroot=/var/obj/mknative/vax/usr/src6/destdir.vax -L/var/obj/mknative/vax/usr/src6/destdir.vax/lib -L/var/obj/mknative/vax/usr/src6/destdir.vax/usr/lib -B/var/obj/mknative/vax/usr/src6/destdir.vax/usr/lib/ -I/var/obj/mknative/vax/usr/src6/tools/gcc/.native/gcc/include
-checking for C compiler default output file name... a.out
-checking whether the C compiler works... yes
-checking whether we are cross compiling... yes
-checking for suffix of executables... 
-checking for suffix of object files... (cached) o
-checking whether we are using the GNU C compiler... (cached) yes
-checking whether 

CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/vax

2019-02-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Feb  7 05:28:12 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/vax: defs.mk

Log Message:
fix merge botch.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/gcc/arch/vax/defs.mk

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



CVS commit: src/external/gpl3/gcc/usr.bin

2019-02-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb  6 16:57:30 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/gcov: Makefile

Log Message:
fix stack protector build


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/gcov/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin

2019-02-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb  6 16:57:30 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/gcov: Makefile

Log Message:
fix stack protector build


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/gcov/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.13 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.14
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.13	Fri Feb  1 05:34:18 2019
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Wed Feb  6 11:57:30 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.13 2019/02/01 10:34:18 mrg Exp $
+#	$NetBSD: Makefile,v 1.14 2019/02/06 16:57:30 christos Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -29,6 +29,7 @@ CHECKSUM_OBJS=	${BACKENDOBJ}/libbackend.
 # LDFLAGS+=	-rdynamic
 
 COPTS.c-ada-spec.c=	-Wno-stack-protector
+COPTS.c-attribs.c=	-Wno-stack-protector
 COPTS.c-aux-info.c=	-Wno-stack-protector
 COPTS.c-common.c=	-Wno-stack-protector
 COPTS.c-cppbuiltin.c=	-Wno-stack-protector

Index: src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.11 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.12
--- src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.11	Fri Feb  1 05:34:18 2019
+++ src/external/gpl3/gcc/usr.bin/cc1obj/Makefile	Wed Feb  6 11:57:30 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.11 2019/02/01 10:34:18 mrg Exp $
+#	$NetBSD: Makefile,v 1.12 2019/02/06 16:57:30 christos Exp $
 
 MYOBJS=		${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS} 
 PROG=		cc1obj
@@ -32,6 +32,7 @@ CHECKSUM_OBJS=	${BACKENDOBJ}/libbackend.
 # LDFLAGS+=	-rdynamic
 
 COPTS.c-ada-spec.c+=			-Wno-stack-protector
+COPTS.c-attribs.c+=			-Wno-stack-protector
 COPTS.c-aux-info.c+=			-Wno-stack-protector
 COPTS.c-common.c+=			-Wno-stack-protector
 COPTS.c-cppbuiltin.c+=			-Wno-stack-protector

Index: src/external/gpl3/gcc/usr.bin/gcov/Makefile
diff -u src/external/gpl3/gcc/usr.bin/gcov/Makefile:1.8 src/external/gpl3/gcc/usr.bin/gcov/Makefile:1.9
--- src/external/gpl3/gcc/usr.bin/gcov/Makefile:1.8	Fri Feb  1 05:34:18 2019
+++ src/external/gpl3/gcc/usr.bin/gcov/Makefile	Wed Feb  6 11:57:30 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2019/02/01 10:34:18 mrg Exp $
+#	$NetBSD: Makefile,v 1.9 2019/02/06 16:57:30 christos Exp $
 
 .include 
 
@@ -19,6 +19,8 @@ MAN=		gcov.1
 .include "../Makefile.libiberty"
 .include "../Makefile.libdecnumber"
 
+COPTS.gcov.c += -Wno-stack-protector
+
 LDADD+=		-lintl
 DPADD+=		${LIBINTL}
 



CVS commit: src/external/gpl3/gcc/usr.bin/common-target

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 04:45:07 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/common-target: Makefile

Log Message:
remove 'common/' prefix from sources.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/common-target/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/common-target

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 04:45:07 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/common-target: Makefile

Log Message:
remove 'common/' prefix from sources.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/common-target/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/common-target/Makefile
diff -u src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.7 src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.8
--- src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.7	Mon Feb  4 03:01:52 2019
+++ src/external/gpl3/gcc/usr.bin/common-target/Makefile	Tue Feb  5 04:45:07 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2019/02/04 03:01:52 mrg Exp $
+#	$NetBSD: Makefile,v 1.8 2019/02/05 04:45:07 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -8,7 +8,7 @@ LIBISPRIVATE=	yes
 LIB=		common-target
 
 .include "${.CURDIR}/arch/${GCC_MACHINE_ARCH}.mk"
-SRCS=		${G_OBJS-libcommon-target:.o=.c}
+SRCS=		${G_OBJS-libcommon-target:S/common\///:.o=.c}
 
 CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} -I. \
 		${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 08:15:51 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
ira-color.c needs -Wno-error=int-in-bool-context for now.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/external/gpl3/gcc/usr.bin/backend/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.51 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.52
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.51	Tue Nov  6 06:17:29 2018
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Mon Feb  4 08:15:51 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.51 2018/11/06 06:17:29 mrg Exp $
+#	$NetBSD: Makefile,v 1.52 2019/02/04 08:15:51 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -507,6 +507,8 @@ ${G_out_file:T:.c=.o}: insn-target-def.h
 # XXX make all hooks generated for now.
 final.o: target-hooks-def.h c-family/c-target-hooks-def.h common/common-target-hooks-def.h
 
+COPTS.ira-color.c+= -Wno-error=int-in-bool-context
+
 .if ${MACHINE_CPU} == "arm"
 # XXX insn-recog.c:10304:7: error: this decimal constant is unsigned only in ISO C90 [-Werror]
 COPTS.insn-recog.c+=-Wno-error



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 08:15:51 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
ira-color.c needs -Wno-error=int-in-bool-context for now.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/external/gpl3/gcc/usr.bin/backend/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/common

2019-02-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 04:49:20 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/common: Makefile

Log Message:
it's memory-block.cc in this case, not memory-block.c.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/common/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/common/Makefile
diff -u src/external/gpl3/gcc/usr.bin/common/Makefile:1.8 src/external/gpl3/gcc/usr.bin/common/Makefile:1.9
--- src/external/gpl3/gcc/usr.bin/common/Makefile:1.8	Mon Feb  4 03:01:52 2019
+++ src/external/gpl3/gcc/usr.bin/common/Makefile	Mon Feb  4 04:49:20 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2019/02/04 03:01:52 mrg Exp $
+#	$NetBSD: Makefile,v 1.9 2019/02/04 04:49:20 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -8,7 +8,7 @@ LIBISPRIVATE=	yes
 LIB=		common
 
 .include "${.CURDIR}/defs.mk"
-SRCS=	${G_OBJS-libcommon:.o=.c}
+SRCS=	${G_OBJS-libcommon:S/memory-block.o/memory-block.cc/:.o=.c}
 
 # XXX make sure this doesn't have more than it needs
 CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} -I. \



CVS commit: src/external/gpl3/gcc/usr.bin/common

2019-02-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 04:49:20 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/common: Makefile

Log Message:
it's memory-block.cc in this case, not memory-block.c.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/common/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin

2019-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  1 10:39:48 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc
src/external/gpl3/gcc/usr.bin/common: Makefile
src/external/gpl3/gcc/usr.bin/common-target: Makefile

Log Message:
- update source lists
- XXX: pull out OBJS-libcommon-target and OBJS-libcommon-target
  in mknative


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/external/gpl3/gcc/usr.bin/Makefile.inc
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/common/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/usr.bin/common-target/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin

2019-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  1 10:39:48 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc
src/external/gpl3/gcc/usr.bin/common: Makefile
src/external/gpl3/gcc/usr.bin/common-target: Makefile

Log Message:
- update source lists
- XXX: pull out OBJS-libcommon-target and OBJS-libcommon-target
  in mknative


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/external/gpl3/gcc/usr.bin/Makefile.inc
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/common/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/usr.bin/common-target/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.31 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.32
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.31	Sun Feb 11 02:12:28 2018
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Fri Feb  1 10:39:48 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.31 2018/02/11 02:12:28 christos Exp $
+#	$NetBSD: Makefile.inc,v 1.32 2019/02/01 10:39:48 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -90,8 +90,12 @@ VER_CPPFLAGS=	-DBASEVER="\"${BASEVER}"\"
 		-DPKGVERSION=$(G_PKGVERSION_s) \
 		-DBUGURL=$(G_BUGURL_s)
 
-CPPFLAGS.version.c+=	${VER_CPPFLAGS}
-version.c: ${GCCARCH}/defs.mk ${TOP}/tools/gcc/gcc-version.mk
+VERFILES=	cppbuiltin.c c-cppbuiltin.c gcc.c version.c
+
+.for _f in ${VERFILES}
+CPPFLAGS.${_f} +=	${VER_CPPFLAGS}
+${_f}: ${GCCARCH}/defs.mk ${TOP}/tools/gcc/gcc-version.mk
+.endfor
 
 .include "${GCCARCH}/defs.mk"
 

Index: src/external/gpl3/gcc/usr.bin/common/Makefile
diff -u src/external/gpl3/gcc/usr.bin/common/Makefile:1.6 src/external/gpl3/gcc/usr.bin/common/Makefile:1.7
--- src/external/gpl3/gcc/usr.bin/common/Makefile:1.6	Sun Feb  4 10:16:07 2018
+++ src/external/gpl3/gcc/usr.bin/common/Makefile	Fri Feb  1 10:39:48 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2018/02/04 10:16:07 mrg Exp $
+#	$NetBSD: Makefile,v 1.7 2019/02/01 10:39:48 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -7,17 +7,20 @@ LIBISPRIVATE=	yes
 
 LIB=		common
 
+# XXX pullout OBJS-libcommon-target
 SRCS=		diagnostic.c \
 		diagnostic-color.c \
 		diagnostic-show-locus.o \
+		edit-context.o \
 		pretty-print.c \
-		vec.c \
 		intl.c \
+		vec.c \
 		input.c \
 		version.c \
 		hash-table.c \
 		ggc-none.c \
-		memory-block.cc
+		memory-block.cc \
+		selftest.cc
 
 # XXX make sure this doesn't have more than it needs
 CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} -I. \

Index: src/external/gpl3/gcc/usr.bin/common-target/Makefile
diff -u src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.5 src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.6
--- src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.5	Thu Oct  6 02:58:32 2016
+++ src/external/gpl3/gcc/usr.bin/common-target/Makefile	Fri Feb  1 10:39:48 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2016/10/06 02:58:32 christos Exp $
+#	$NetBSD: Makefile,v 1.6 2019/02/01 10:39:48 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -7,8 +7,10 @@ LIBISPRIVATE=	yes
 
 LIB=		common-target
 
+# XXX pullout OBJS-libcommon-target
 SRCS=		prefix.c params.c opts.c opts-common.c options.c vec.c \
 		hooks.c common-targhooks.c hash-table.c file-find.c \
+		spellcheck.c selftest.c \
 		${G_common_out_file:T}
 
 CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} -I. \



CVS commit: src/external/gpl3/gcc/usr.bin/cpp

2019-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  1 10:36:33 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/cpp: Makefile

Log Message:
- use ADD_FRONTEND_LIBRARY to avoid linking libfrontend
- add a hack to ensure driver-i386.c gets built before linking


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/cpp/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin/cpp

2019-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  1 10:36:33 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/cpp: Makefile

Log Message:
- use ADD_FRONTEND_LIBRARY to avoid linking libfrontend
- add a hack to ensure driver-i386.c gets built before linking


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/cpp/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/cpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.9 src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.10
--- src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.9	Tue Mar 15 19:12:06 2016
+++ src/external/gpl3/gcc/usr.bin/cpp/Makefile	Fri Feb  1 10:36:33 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2016/03/15 19:12:06 mrg Exp $
+#	$NetBSD: Makefile,v 1.10 2019/02/01 10:36:33 mrg Exp $
 
 PROG=		cpp
 SRCS=		cppspec.c ${G_GCC_OBJS:.o=.c}
@@ -18,7 +18,11 @@ INFOFLAGS=	-I${DIST}/gcc/doc -I${DIST}/g
 LDADD+=		-lintl
 DPADD+=		${LIBINTL}
 
+.include 
+
+ADD_FRONTEND_LIBRARY=	no
 .include "../Makefile.frontend"
+.include "../Makefile.driver"
 
 ${SRCS}: ${GCCARCH}/defs.mk
 
@@ -29,3 +33,6 @@ COPTS.gcc.c=	-Wno-stack-protector
 .PATH: ${DIST}/gcc ${DIST}/gcc/c-family ${DIST}/gcc/doc
 
 cpp.info: gcc-vers.texi
+
+# XXX - driver-i386.o isn't built otherwise
+${PROG}: ${OBJS}



CVS commit: src/external/gpl3/gcc/usr.bin

2019-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  1 10:34:19 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.backend Makefile.frontend
Makefile.gcc-tool
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile
src/external/gpl3/gcc/usr.bin/gcov: Makefile
src/external/gpl3/gcc/usr.bin/gcov-dump: Makefile
src/external/gpl3/gcc/usr.bin/lto-wrapper: Makefile
Added Files:
src/external/gpl3/gcc/usr.bin: Makefile.prog

Log Message:
- move various stuff into Makefile.prog
- make sure VER_CPPFLAGS is applied to all required files
- add ADD_FRONTEND_LIBRARY to avoid linking libfrontend, while
  using the rest of this fragment


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/Makefile.backend
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/usr.bin/Makefile.frontend
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/Makefile.gcc-tool
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/Makefile.prog
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/gcov/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/gcov-dump/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.backend
diff -u src/external/gpl3/gcc/usr.bin/Makefile.backend:1.7 src/external/gpl3/gcc/usr.bin/Makefile.backend:1.8
--- src/external/gpl3/gcc/usr.bin/Makefile.backend:1.7	Sun Feb 11 02:12:28 2018
+++ src/external/gpl3/gcc/usr.bin/Makefile.backend	Fri Feb  1 10:34:18 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.backend,v 1.7 2018/02/11 02:12:28 christos Exp $
+#	$NetBSD: Makefile.backend,v 1.8 2019/02/01 10:34:18 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKEND_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKEND_=1
@@ -17,19 +17,7 @@ LDADD+=			${BACKENDOBJ}/libbackend.a
 
 .include "../Makefile.common"
 .include "../Makefile.libiberty"
-
-HOSTPROG_CXX=	1
-
-.include 
-
-# Force using C++ for this
-HOST_CC:=	${HOST_CXX}
-CC:=		${CXX}
-CFLAGS:=	${CXXFLAGS}
-
-# Don't auto-frob .y or .l files.
-.l.c .y.c .y.h:
-	@true
+.include "../Makefile.prog"
 
 # Find our (local) libraries
 LIBGMPDIR!=	cd ${GMPDISTDIR}/lib/libgmp && ${PRINTOBJDIR}

Index: src/external/gpl3/gcc/usr.bin/Makefile.frontend
diff -u src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.5 src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.6
--- src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.5	Sun Feb 11 02:12:28 2018
+++ src/external/gpl3/gcc/usr.bin/Makefile.frontend	Fri Feb  1 10:34:18 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.frontend,v 1.5 2018/02/11 02:12:28 christos Exp $
+#	$NetBSD: Makefile.frontend,v 1.6 2019/02/01 10:34:18 mrg Exp $
 
 BINDIR=		/usr/bin
 
@@ -9,8 +9,10 @@ CPPFLAGS+=	-I${GCCARCH} -I${FRONTENDOBJ}
 NOCTF=		# defined
 .include 
 
+.if ${ADD_FRONTEND_LIBRARY:Uyes} != "no"
 DPADD+=			${FRONTENDOBJ}/libfrontend.a
 LDADD+=			-L${FRONTENDOBJ} -lfrontend
+.endif
 
 .include "../Makefile.common"
 .include "../Makefile.common-target"
@@ -19,14 +21,7 @@ LDADD+=			-L${FRONTENDOBJ} -lfrontend
 .include "../Makefile.libiberty"
 .include "../Makefile.libdecnumber"
 
-HOSTPROG_CXX=	1
-
-.include 
-
-# Force using C++ for this
-HOST_CC:=	${HOST_CXX}
-CC:=		${CXX}
-CFLAGS:=	${CXXFLAGS}
+.include "../Makefile.prog"
 
 gcc-vers.texi:
 	(echo "@set version-GCC $(BASEVER)"; \

Index: src/external/gpl3/gcc/usr.bin/Makefile.gcc-tool
diff -u src/external/gpl3/gcc/usr.bin/Makefile.gcc-tool:1.2 src/external/gpl3/gcc/usr.bin/Makefile.gcc-tool:1.3
--- src/external/gpl3/gcc/usr.bin/Makefile.gcc-tool:1.2	Sat May 31 22:55:16 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.gcc-tool	Fri Feb  1 10:34:18 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.gcc-tool,v 1.2 2014/05/31 22:55:16 mrg Exp $
+#	$NetBSD: Makefile.gcc-tool,v 1.3 2019/02/01 10:34:18 mrg Exp $
 
 PROG=	gcc-${GCC_TOOL}
 SRCS=	gcc-ar.c file-find.c
@@ -23,19 +23,14 @@ CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} 
 BINDIR=		/usr/bin
 NOMAN=		# defined
 
-.include 
-
-# Force using C++ for this
-HOST_CC:=	${HOST_CXX}
-CC:=		${CXX}
-CFLAGS:=	${CXXFLAGS}
-
 .include "../Makefile.common"
 .include "../Makefile.libcpp"
 .include "../Makefile.backtrace"
 .include "../Makefile.libiberty"
 .include "../Makefile.libdecnumber"
 
+.include "../Makefile.prog"
+
 COPTS+=		-Wno-stack-protector
 
 .PATH: ${DIST}/gcc

Index: src/external/gpl3/gcc/usr.bin/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.12 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.13
--- 

CVS commit: src/external/gpl3/gcc/usr.bin

2019-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  1 10:35:09 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.backtrace Makefile.common
Makefile.common-target Makefile.libcpp Makefile.libdecnumber
Makefile.libiberty

Log Message:
- be sure bsd.own.mk has been included


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/Makefile.backtrace \
src/external/gpl3/gcc/usr.bin/Makefile.common \
src/external/gpl3/gcc/usr.bin/Makefile.common-target \
src/external/gpl3/gcc/usr.bin/Makefile.libiberty
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/Makefile.libcpp \
src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber

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

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.backtrace
diff -u src/external/gpl3/gcc/usr.bin/Makefile.backtrace:1.1 src/external/gpl3/gcc/usr.bin/Makefile.backtrace:1.2
--- src/external/gpl3/gcc/usr.bin/Makefile.backtrace:1.1	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.backtrace	Fri Feb  1 10:35:09 2019
@@ -1,8 +1,10 @@
-#	$NetBSD: Makefile.backtrace,v 1.1 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile.backtrace,v 1.2 2019/02/01 10:35:09 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKTRACE_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKTRACE_=1
 
+.include 
+
 LIBBACKTRACEOBJ!=	cd ${.CURDIR}/../../lib/libbacktrace && ${PRINTOBJDIR}
 DPADD+=			${LIBBACKTRACEOBJ}/libbacktrace.a
 LDADD+=			${LIBBACKTRACEOBJ}/libbacktrace.a
Index: src/external/gpl3/gcc/usr.bin/Makefile.common
diff -u src/external/gpl3/gcc/usr.bin/Makefile.common:1.1 src/external/gpl3/gcc/usr.bin/Makefile.common:1.2
--- src/external/gpl3/gcc/usr.bin/Makefile.common:1.1	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.common	Fri Feb  1 10:35:09 2019
@@ -1,8 +1,10 @@
-#	$NetBSD: Makefile.common,v 1.1 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile.common,v 1.2 2019/02/01 10:35:09 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_COMMON_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_COMMON_=1
 
+.include 
+
 COMMONOBJ!=		cd ${.CURDIR}/../common && ${PRINTOBJDIR}
 DPADD+=			${COMMONOBJ}/libcommon.a
 LDADD+=			${COMMONOBJ}/libcommon.a
Index: src/external/gpl3/gcc/usr.bin/Makefile.common-target
diff -u src/external/gpl3/gcc/usr.bin/Makefile.common-target:1.1 src/external/gpl3/gcc/usr.bin/Makefile.common-target:1.2
--- src/external/gpl3/gcc/usr.bin/Makefile.common-target:1.1	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.common-target	Fri Feb  1 10:35:09 2019
@@ -1,8 +1,10 @@
-#	$NetBSD: Makefile.common-target,v 1.1 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile.common-target,v 1.2 2019/02/01 10:35:09 mrg Exp $
 
 #.ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_COMMON_TARGET_
 #_EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_COMMON_TARGET_=1
 
+.include 
+
 COMMONTARGETOBJ!=	cd ${.CURDIR}/../common-target && ${PRINTOBJDIR}
 DPADD+=			${COMMONTARGETOBJ}/libcommon-target.a
 LDADD+=			${COMMONTARGETOBJ}/libcommon-target.a
Index: src/external/gpl3/gcc/usr.bin/Makefile.libiberty
diff -u src/external/gpl3/gcc/usr.bin/Makefile.libiberty:1.1 src/external/gpl3/gcc/usr.bin/Makefile.libiberty:1.2
--- src/external/gpl3/gcc/usr.bin/Makefile.libiberty:1.1	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.libiberty	Fri Feb  1 10:35:09 2019
@@ -1,8 +1,10 @@
-#	$NetBSD: Makefile.libiberty,v 1.1 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile.libiberty,v 1.2 2019/02/01 10:35:09 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_LIBIBERTY_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_LIBIBERTY_=1
 
+.include 
+
 LIBIBERTYOBJ!=		cd ${.CURDIR}/../../lib/libiberty && ${PRINTOBJDIR}
 DPADD+=			${LIBIBERTYOBJ}/libiberty.a
 LDADD+=			${LIBIBERTYOBJ}/libiberty.a

Index: src/external/gpl3/gcc/usr.bin/Makefile.libcpp
diff -u src/external/gpl3/gcc/usr.bin/Makefile.libcpp:1.2 src/external/gpl3/gcc/usr.bin/Makefile.libcpp:1.3
--- src/external/gpl3/gcc/usr.bin/Makefile.libcpp:1.2	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.libcpp	Fri Feb  1 10:35:09 2019
@@ -1,8 +1,10 @@
-#	$NetBSD: Makefile.libcpp,v 1.2 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile.libcpp,v 1.3 2019/02/01 10:35:09 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_LIBCPP_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_LIBCPP_=1
 
+.include 
+
 LIBCPPOBJ!=		cd ${.CURDIR}/../libcpp && ${PRINTOBJDIR}
 DPADD+=			${LIBCPPOBJ}/libcpp.a
 LDADD+=			${LIBCPPOBJ}/libcpp.a
Index: src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber
diff -u src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber:1.2 src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber:1.3
--- src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber:1.2	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber	Fri Feb  1 10:35:09 2019
@@ -1,8 +1,10 @@
-#	$NetBSD: Makefile.libdecnumber,v 

CVS commit: src/external/gpl3/gcc/usr.bin

2019-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  1 10:35:09 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.backtrace Makefile.common
Makefile.common-target Makefile.libcpp Makefile.libdecnumber
Makefile.libiberty

Log Message:
- be sure bsd.own.mk has been included


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/Makefile.backtrace \
src/external/gpl3/gcc/usr.bin/Makefile.common \
src/external/gpl3/gcc/usr.bin/Makefile.common-target \
src/external/gpl3/gcc/usr.bin/Makefile.libiberty
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/Makefile.libcpp \
src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber

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



CVS commit: src/external/gpl3/gcc/usr.bin

2019-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  1 10:34:19 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.backend Makefile.frontend
Makefile.gcc-tool
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile
src/external/gpl3/gcc/usr.bin/gcov: Makefile
src/external/gpl3/gcc/usr.bin/gcov-dump: Makefile
src/external/gpl3/gcc/usr.bin/lto-wrapper: Makefile
Added Files:
src/external/gpl3/gcc/usr.bin: Makefile.prog

Log Message:
- move various stuff into Makefile.prog
- make sure VER_CPPFLAGS is applied to all required files
- add ADD_FRONTEND_LIBRARY to avoid linking libfrontend, while
  using the rest of this fragment


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/Makefile.backend
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/usr.bin/Makefile.frontend
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/Makefile.gcc-tool
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/Makefile.prog
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/gcov/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/gcov-dump/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile

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



CVS commit: src/external/gpl3/gcc/usr.bin

2019-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  1 10:32:32 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/frontend: Makefile
Added Files:
src/external/gpl3/gcc/usr.bin: Makefile.driver

Log Message:
- move driver file config to Makefile.driver.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/Makefile.driver
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gcc/usr.bin/frontend/Makefile

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



  1   2   3   4   >