CVS commit: src/external/gpl3/gcc/lib/libsupc++

2020-09-21 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Sep 21 20:00:45 UTC 2020

Modified Files:
src/external/gpl3/gcc/lib/libsupc++: Makefile.common

Log Message:
fix missing deps for cow-fs_dir* and cow-fs_ops*.

should fix build issues reported on current-users.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 \
src/external/gpl3/gcc/lib/libsupc++/Makefile.common

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/lib/libsupc++/Makefile.common
diff -u src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.18 src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.19
--- src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.18	Wed Sep 16 21:24:30 2020
+++ src/external/gpl3/gcc/lib/libsupc++/Makefile.common	Mon Sep 21 20:00:44 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.common,v 1.18 2020/09/16 21:24:30 mrg Exp $
+#	$NetBSD: Makefile.common,v 1.19 2020/09/21 20:00:44 mrg Exp $
 
 DIST=		${GCCDIST}
 GNUHOSTDIST=	${DIST}
@@ -78,7 +78,7 @@ COPTS.${_f}+=	-std=gnu++1z
 COPTS.${_f}+=	-std=gnu++17 -fimplicit-templates
 .endfor
 
-.for _f in dir ops fs_dir fs_ops
+.for _f in dir ops fs_dir fs_ops cow-fs_dir cow-fs_ops
 ${_f}.o ${_f}.d ${_f}.pico ${_f}.po: bits/largefile-config.h
 .endfor
 



CVS commit: src/external/gpl3/gcc/lib/libsupc++

2020-09-16 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Sep 16 21:24:30 UTC 2020

Modified Files:
src/external/gpl3/gcc/lib/libsupc++: Makefile.common

Log Message:
fix dependencies for bits/largefile-config.h.  the .cc files don't
depend on it, the outputs of those do.  should fix build issue
reported by otis@.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 \
src/external/gpl3/gcc/lib/libsupc++/Makefile.common

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/lib/libsupc++/Makefile.common
diff -u src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.17 src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.18
--- src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.17	Wed Sep  9 09:52:16 2020
+++ src/external/gpl3/gcc/lib/libsupc++/Makefile.common	Wed Sep 16 21:24:30 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.common,v 1.17 2020/09/09 09:52:16 mrg Exp $
+#	$NetBSD: Makefile.common,v 1.18 2020/09/16 21:24:30 mrg Exp $
 
 DIST=		${GCCDIST}
 GNUHOSTDIST=	${DIST}
@@ -78,7 +78,9 @@ COPTS.${_f}+=	-std=gnu++1z
 COPTS.${_f}+=	-std=gnu++17 -fimplicit-templates
 .endfor
 
-dir.cc ops.cc fs_dir.cc fs_ops.cc: bits/largefile-config.h
+.for _f in dir ops fs_dir fs_ops
+${_f}.o ${_f}.d ${_f}.pico ${_f}.po: bits/largefile-config.h
+.endfor
 
 bits/largefile-config.h:
 	mkdir -p bits



CVS commit: src/external/gpl3/gcc/lib/libsupc++

2020-09-09 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Sep  9 09:52:16 UTC 2020

Modified Files:
src/external/gpl3/gcc/lib/libsupc++: Makefile.common

Log Message:
fix path for largefile-config.h


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 \
src/external/gpl3/gcc/lib/libsupc++/Makefile.common

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/lib/libsupc++/Makefile.common
diff -u src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.16 src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.17
--- src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.16	Wed Sep  9 09:49:16 2020
+++ src/external/gpl3/gcc/lib/libsupc++/Makefile.common	Wed Sep  9 09:52:16 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.common,v 1.16 2020/09/09 09:49:16 mrg Exp $
+#	$NetBSD: Makefile.common,v 1.17 2020/09/09 09:52:16 mrg Exp $
 
 DIST=		${GCCDIST}
 GNUHOSTDIST=	${DIST}
@@ -78,7 +78,7 @@ COPTS.${_f}+=	-std=gnu++1z
 COPTS.${_f}+=	-std=gnu++17 -fimplicit-templates
 .endfor
 
-dir.cc ops.cc fs_dir.cc fs_ops.cc: largefile-config.h
+dir.cc ops.cc fs_dir.cc fs_ops.cc: bits/largefile-config.h
 
 bits/largefile-config.h:
 	mkdir -p bits



CVS commit: src/external/gpl3/gcc/lib/libsupc++

2020-09-09 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Sep  9 09:49:16 UTC 2020

Modified Files:
src/external/gpl3/gcc/lib/libsupc++: Makefile.common

Log Message:
add build rules for G_CPP17_SOURCES sources, and fix their build.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 \
src/external/gpl3/gcc/lib/libsupc++/Makefile.common

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/lib/libsupc++/Makefile.common
diff -u src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.15 src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.16
--- src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.15	Fri Oct  4 08:51:33 2019
+++ src/external/gpl3/gcc/lib/libsupc++/Makefile.common	Wed Sep  9 09:49:16 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.common,v 1.15 2019/10/04 08:51:33 mrg Exp $
+#	$NetBSD: Makefile.common,v 1.16 2020/09/09 09:49:16 mrg Exp $
 
 DIST=		${GCCDIST}
 GNUHOSTDIST=	${DIST}
@@ -15,7 +15,7 @@ LIBSTDCXX_MACHINE_ARCH=${GCC_MACHINE_ARC
 # Make sure we get G_*_SOURCES, etc.*, for the .for loops
 .include "${.CURDIR}/../libstdc++-v3/arch/${LIBSTDCXX_MACHINE_ARCH}/defs.mk"
 
-LIBSTDCXXSRCS=	${G_SRC_SOURCES} ${G_CPP98_SOURCES} ${G_CPP11_SOURCES}
+LIBSTDCXXSRCS=	${G_SRC_SOURCES} ${G_CPP98_SOURCES} ${G_CPP11_SOURCES} ${G_CPP17_SOURCES}
 # XXX XXX dir.o doesn't have  stuff properly, leave it out for now
 #LIBSTDCXXSRCS+=	${G_FILESYSTEM_SOURCES}
 
@@ -73,3 +73,15 @@ STD_GNU1Z=	\
 .for _f in ${STD_GNU1Z}
 COPTS.${_f}+=	-std=gnu++1z
 .endfor
+
+.for _f in ${G_CPP17_SOURCES}
+COPTS.${_f}+=	-std=gnu++17 -fimplicit-templates
+.endfor
+
+dir.cc ops.cc fs_dir.cc fs_ops.cc: largefile-config.h
+
+bits/largefile-config.h:
+	mkdir -p bits
+	touch bits/largefile-config.h
+
+CLEANFILES+=	bits/largefile-config.h



CVS commit: src/external/gpl3/gcc/lib/libsupc++

2020-04-20 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Apr 21 05:23:42 UTC 2020

Modified Files:
src/external/gpl3/gcc/lib/libsupc++: Makefile

Log Message:
pull in atomicity.h (atomicity.cc) on sparc.  3 of the objects
use these interfaces and this avoids link errors

fixes PR#54660.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gcc/lib/libsupc++/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/lib/libsupc++/Makefile
diff -u src/external/gpl3/gcc/lib/libsupc++/Makefile:1.12 src/external/gpl3/gcc/lib/libsupc++/Makefile:1.13
--- src/external/gpl3/gcc/lib/libsupc++/Makefile:1.12	Sat Jan 19 17:11:02 2019
+++ src/external/gpl3/gcc/lib/libsupc++/Makefile	Tue Apr 21 05:23:41 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.12 2019/01/19 17:11:02 mrg Exp $
+#	$NetBSD: Makefile,v 1.13 2020/04/21 05:23:41 mrg Exp $
 
 REQUIRETOOLS=	yes
 NOLINT=		# defined
@@ -25,6 +25,15 @@ SHLIB_MINOR=	0
 SRCS=		${LIBSUPCXXSRCS} xmalloc.c
 CXXFLAGS+=	${G_SECTION_FLAGS}
 
+# XXX PR#54660
+.if ${MACHINE} == "sparc"
+SRCS+=		atomicity.cc
+DIST=		${GCCDIST}
+GLIBCXX_SRCDIR=	${DIST}/libstdc++-v3
+BUILDSYMLINKS+=	\
+	${GLIBCXX_SRCDIR}/${G_ATOMICITY_SRCDIR}/atomicity.h atomicity.cc
+.endif
+
 COPTS.cp-demangle.c = -Wno-stack-protector -Wno-unused-function
 
 .include "../Makefile.gthr"



CVS commit: src/external/gpl3/gcc/lib/libsupc++

2019-02-27 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Feb 28 01:11:04 UTC 2019

Modified Files:
src/external/gpl3/gcc/lib/libsupc++: Makefile.common

Log Message:
rework some commented code so it is easier to enable.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 \
src/external/gpl3/gcc/lib/libsupc++/Makefile.common

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/lib/libsupc++/Makefile.common
diff -u src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.12 src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.13
--- src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.12	Fri Feb  1 10:37:13 2019
+++ src/external/gpl3/gcc/lib/libsupc++/Makefile.common	Thu Feb 28 01:11:04 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.common,v 1.12 2019/02/01 10:37:13 mrg Exp $
+#	$NetBSD: Makefile.common,v 1.13 2019/02/28 01:11:04 mrg Exp $
 
 DIST=		${GCCDIST}
 GNUHOSTDIST=	${DIST}
@@ -15,9 +15,10 @@ LIBSTDCXX_MACHINE_ARCH=${GCC_MACHINE_ARC
 # Make sure we get G_*_SOURCES, etc.*, for the .for loops
 .include "${.CURDIR}/../libstdc++-v3/arch/${LIBSTDCXX_MACHINE_ARCH}/defs.mk"
 
-LIBSTDCXXSRCS=	${G_SRC_SOURCES} ${G_CPP98_SOURCES} ${G_CPP11_SOURCES} ${G_FILESYSTEM_SOURCES}
-# XXX XXX dir.o doesn't have  stuff properly, leave it out for now?
 LIBSTDCXXSRCS=	${G_SRC_SOURCES} ${G_CPP98_SOURCES} ${G_CPP11_SOURCES}
+# XXX XXX dir.o doesn't have  stuff properly, leave it out for now
+#LIBSTDCXXSRCS+=	${G_FILESYSTEM_SOURCES}
+
 LIBSUPCXXSRCS=	${G_LIBSUPCXX_SOURCES} ${G_LIBSUPCXX_C_SOURCES}
 
 CPPFLAGS+=	-I${DIST}/gcc



CVS commit: src/external/gpl3/gcc/lib/libsupc++

2014-05-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed May 28 17:09:18 UTC 2014

Modified Files:
src/external/gpl3/gcc/lib/libsupc++: Makefile Makefile.common

Log Message:
move the -std=gnu++0x code from Makefile to Makefile.common.
fixes the remaining 2/3 link issues.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/lib/libsupc++/Makefile
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/lib/libsupc++/Makefile.common

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/lib/libsupc++/Makefile
diff -u src/external/gpl3/gcc/lib/libsupc++/Makefile:1.8 src/external/gpl3/gcc/lib/libsupc++/Makefile:1.9
--- src/external/gpl3/gcc/lib/libsupc++/Makefile:1.8	Thu May 15 14:37:08 2014
+++ src/external/gpl3/gcc/lib/libsupc++/Makefile	Wed May 28 17:09:18 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2014/05/15 14:37:08 joerg Exp $
+#	$NetBSD: Makefile,v 1.9 2014/05/28 17:09:18 mrg Exp $
 
 REQUIRETOOLS=	yes
 NOLINT=		# defined
@@ -40,10 +40,6 @@ DPSRCS+=   ${_dst}
 .endif
 .endif
 
-.for f in eh_ptr eh_throw guard atexit_thread nested_exception
-COPTS.${f}.cc+=	-std=gnu++0x
-.endfor
-
 .include bsd.lib.mk
 
 .PATH:	${DIST}/libstdc++-v3/src \

Index: src/external/gpl3/gcc/lib/libsupc++/Makefile.common
diff -u src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.6 src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.7
--- src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.6	Sat Mar  1 10:00:48 2014
+++ src/external/gpl3/gcc/lib/libsupc++/Makefile.common	Wed May 28 17:09:18 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.common,v 1.6 2014/03/01 10:00:48 mrg Exp $
+#	$NetBSD: Makefile.common,v 1.7 2014/05/28 17:09:18 mrg Exp $
 
 DIST=		${NETBSDSRCDIR}/external/gpl3/gcc/dist
 GNUHOSTDIST=	${DIST}
@@ -23,3 +23,7 @@ CPPFLAGS+=	-I${.CURDIR}/../libstdc++-v3/
 CPPFLAGS+=	-DHAVE_STDLIB_H -DHAVE_STRING_H
 
 CPPFLAGS.cp-demangle.c=-DIN_GLIBCPP_V3
+
+.for f in eh_ptr eh_throw guard atexit_thread nested_exception
+COPTS.${f}.cc+=	-std=gnu++0x
+.endfor



CVS commit: src/external/gpl3/gcc/lib/libsupc++

2014-02-26 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Feb 27 07:35:04 UTC 2014

Modified Files:
src/external/gpl3/gcc/lib/libsupc++: Makefile.common

Log Message:
fix another dated DIST.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/lib/libsupc++/Makefile.common

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/lib/libsupc++/Makefile.common
diff -u src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.4 src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.5
--- src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.4	Fri Aug 23 05:02:46 2013
+++ src/external/gpl3/gcc/lib/libsupc++/Makefile.common	Thu Feb 27 07:35:04 2014
@@ -1,6 +1,6 @@
-#	$NetBSD: Makefile.common,v 1.4 2013/08/23 05:02:46 matt Exp $
+#	$NetBSD: Makefile.common,v 1.5 2014/02/27 07:35:04 mrg Exp $
 
-DIST=		${NETBSDSRCDIR}/external/gpl3/gcc/dist
+DIST=		${GCCDIST}
 GNUHOSTDIST=	${DIST}
 
 GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5/earm/}



CVS commit: src/external/gpl3/gcc/lib/libsupc++

2011-06-27 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 28 04:03:16 UTC 2011

Modified Files:
src/external/gpl3/gcc/lib/libsupc++: Makefile Makefile.common

Log Message:
libstdc++-v3/libmath subdir is gone.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/lib/libsupc++/Makefile \
src/external/gpl3/gcc/lib/libsupc++/Makefile.common

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/lib/libsupc++/Makefile
diff -u src/external/gpl3/gcc/lib/libsupc++/Makefile:1.2 src/external/gpl3/gcc/lib/libsupc++/Makefile:1.3
--- src/external/gpl3/gcc/lib/libsupc++/Makefile:1.2	Thu Jun 23 12:16:36 2011
+++ src/external/gpl3/gcc/lib/libsupc++/Makefile	Tue Jun 28 04:03:16 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2011/06/23 12:16:36 mrg Exp $
+#	$NetBSD: Makefile,v 1.3 2011/06/28 04:03:16 mrg Exp $
 
 REQUIRETOOLS=	yes
 NOLINT=		# defined
@@ -34,7 +34,6 @@
 CLEANFILES+= unwind.h
 
 .PATH:	${DIST}/libstdc++-v3/src \
-	${DIST}/libstdc++-v3/libmath \
 	${DIST}/libstdc++-v3/libsupc++ \
 	${DIST}/libiberty \
 	${.CURDIR}/../libstdc++-v3/arch/${MACHINE_ARCH}
Index: src/external/gpl3/gcc/lib/libsupc++/Makefile.common
diff -u src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.2 src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.3
--- src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.2	Thu Jun 23 11:47:13 2011
+++ src/external/gpl3/gcc/lib/libsupc++/Makefile.common	Tue Jun 28 04:03:16 2011
@@ -1,9 +1,8 @@
-#	$NetBSD: Makefile.common,v 1.2 2011/06/23 11:47:13 mrg Exp $
+#	$NetBSD: Makefile.common,v 1.3 2011/06/28 04:03:16 mrg Exp $
 
 DIST=		${NETBSDSRCDIR}/external/gpl3/gcc/dist
 GNUHOSTDIST=	${DIST}
 
-LIBMATHSRCS=	${G_libmath_la_SOURCES} ${G_libmath_la_LIBADD:.lo=.c}
 LIBSTDCXXSRCS=	${G_SRC_SOURCES}
 LIBSUPCXXSRCS=	${G_LIBSUPCXX_SOURCES} ${G_LIBSUPCXX_C_SOURCES}