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.



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


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

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.



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

2017-11-14 Thread matthew green
> Log Message:
> pull across from gcc.old:
> >https://bugzilla.eng.vmware.com/show_bug.cgi?id=1703878#c118

oops.  fixed to read "ensure version.c gets rebuilt properly."