pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Remove gcc{6,7,8}snapshot.



Module Name:	pkgsrc-wip
Committed By:	Maya Rashish <maya%NetBSD.org@localhost>
Pushed By:	coypu
Date:		Mon Dec 16 21:08:40 2019 +0200
Changeset:	49b245494e494adbd3569f640b35d66526ebdb2c

Removed Files:
	gcc6snapshot/DESCR
	gcc6snapshot/Makefile
	gcc6snapshot/PLIST.java
	gcc6snapshot/TODO
	gcc6snapshot/buildlink3.mk
	gcc6snapshot/distinfo
	gcc6snapshot/options.mk
	gcc6snapshot/patches/patch-gcc_Makefile.in
	gcc6snapshot/patches/patch-gcc_config.gcc
	gcc6snapshot/patches/patch-gcc_config_netbsd-protos.h
	gcc6snapshot/patches/patch-gcc_config_netbsd-stdint.h
	gcc6snapshot/patches/patch-gcc_config_netbsd.c
	gcc6snapshot/patches/patch-gcc_config_netbsd.h
	gcc6snapshot/patches/patch-gcc_config_t-netbsd
	gcc6snapshot/patches/patch-gcc_config_x-netbsd
	gcc6snapshot/patches/patch-gcc_configure
	gcc6snapshot/patches/patch-gcc_ggc-common.c
	gcc6snapshot/patches/patch-gcc_lto_lto.c
	gcc6snapshot/patches/patch-gcc_system.h
	gcc6snapshot/patches/patch-libcilkrts_configure
	gcc6snapshot/patches/patch-libcilkrts_runtime_os-unix.c
	gcc6snapshot/patches/patch-libdecnumber_decNumber.c
	gcc6snapshot/patches/patch-libffi_configure
	gcc6snapshot/patches/patch-libffi_testsuite_libffi.call_float2.c
	gcc6snapshot/patches/patch-libgcc_crtstuff.c
	gcc6snapshot/patches/patch-libgcc_unwind-dw2-fde-dip.c
	gcc6snapshot/patches/patch-libgfortran_configure
	gcc6snapshot/patches/patch-libgo_Makefile.in
	gcc6snapshot/patches/patch-libjava_boehm.cc
	gcc6snapshot/patches/patch-libjava_configure
	gcc6snapshot/patches/patch-libjava_contrib_rebuild-gcj-db.in
	gcc6snapshot/patches/patch-libsanitizer_configure.tgt
	gcc6snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h
	gcc6snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc
	gcc6snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h
	gcc6snapshot/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h
	gcc6snapshot/patches/x.tree
	gcc6snapshot/test_summary.log
	gcc6snapshot/version.mk
	gcc7snapshot/DESCR
	gcc7snapshot/Makefile
	gcc7snapshot/PLIST.java
	gcc7snapshot/TODO
	gcc7snapshot/buildlink3.mk
	gcc7snapshot/distinfo
	gcc7snapshot/options.mk
	gcc7snapshot/patches/patch-contrib_download__prerequisites
	gcc7snapshot/patches/patch-gcc_Makefile.in
	gcc7snapshot/patches/patch-gcc_config.gcc
	gcc7snapshot/patches/patch-gcc_config_arm_arm.h
	gcc7snapshot/patches/patch-gcc_config_netbsd-protos.h
	gcc7snapshot/patches/patch-gcc_config_netbsd.c
	gcc7snapshot/patches/patch-gcc_config_netbsd.h
	gcc7snapshot/patches/patch-gcc_config_t-netbsd
	gcc7snapshot/patches/patch-gcc_config_x-netbsd
	gcc7snapshot/patches/patch-gcc_configure
	gcc7snapshot/patches/patch-gcc_ggc-common.c
	gcc7snapshot/patches/patch-gcc_lto_lto.c
	gcc7snapshot/patches/patch-gcc_system.h
	gcc7snapshot/patches/patch-isl_configure
	gcc7snapshot/patches/patch-libcilkrts_configure
	gcc7snapshot/patches/patch-libcilkrts_runtime_os-unix.c
	gcc7snapshot/patches/patch-libdecnumber_decNumber.c
	gcc7snapshot/patches/patch-libffi_configure
	gcc7snapshot/patches/patch-libffi_testsuite_libffi.call_float2.c
	gcc7snapshot/patches/patch-libgcc_crtstuff.c
	gcc7snapshot/patches/patch-libgfortran_configure
	gcc7snapshot/patches/patch-libgo_Makefile.in
	gcc7snapshot/patches/patch-libsanitizer_configure.tgt
	gcc7snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h
	gcc7snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc
	gcc7snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h
	gcc7snapshot/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h
	gcc7snapshot/test_summary.log.gz
	gcc7snapshot/version.mk
	gcc8snapshot/DESCR
	gcc8snapshot/Makefile
	gcc8snapshot/buildlink3.mk
	gcc8snapshot/distinfo
	gcc8snapshot/options.mk
	gcc8snapshot/patches/patch-contrib_download__prerequisites
	gcc8snapshot/patches/patch-gcc_Makefile.in
	gcc8snapshot/patches/patch-gcc_config.gcc
	gcc8snapshot/patches/patch-gcc_config_arm_arm.h
	gcc8snapshot/patches/patch-gcc_config_netbsd-protos.h
	gcc8snapshot/patches/patch-gcc_config_t-netbsd
	gcc8snapshot/patches/patch-gcc_config_x-netbsd
	gcc8snapshot/patches/patch-gcc_configure
	gcc8snapshot/patches/patch-gcc_ggc-common.c
	gcc8snapshot/patches/patch-gcc_lto_lto.c
	gcc8snapshot/patches/patch-isl_configure
	gcc8snapshot/patches/patch-libffi_configure
	gcc8snapshot/patches/patch-libffi_testsuite_libffi.call_float2.c
	gcc8snapshot/patches/patch-libgcc_config.host
	gcc8snapshot/patches/patch-libgcc_crtstuff.c
	gcc8snapshot/patches/patch-libgfortran_io_io.h
	gcc8snapshot/patches/patch-libsanitizer_configure.tgt
	gcc8snapshot/patches/patch-libsanitizer_sanitizer__common_Makefile.am
	gcc8snapshot/patches/patch-libsanitizer_sanitizer__common_Makefile.in
	gcc8snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h
	gcc8snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc
	gcc8snapshot/version.mk

Log Message:
Remove gcc{6,7,8}snapshot.

I don't think anyone is actively developing using these packages.
They point at some branch, and those branches see very few changes.

I personally find it easier to develop with the latest git, it's
easier to start with a blank slate and find out the reason for each
patch.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=49b245494e494adbd3569f640b35d66526ebdb2c

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

diffstat:
 gcc6snapshot/DESCR                                 |   6 -
 gcc6snapshot/Makefile                              | 184 -------
 gcc6snapshot/PLIST.java                            |  42 --
 gcc6snapshot/TODO                                  |  47 --
 gcc6snapshot/buildlink3.mk                         |  31 --
 gcc6snapshot/distinfo                              |  39 --
 gcc6snapshot/options.mk                            | 181 -------
 gcc6snapshot/patches/patch-gcc_Makefile.in         |  15 -
 gcc6snapshot/patches/patch-gcc_config.gcc          |  39 --
 .../patches/patch-gcc_config_netbsd-protos.h       |  34 --
 .../patches/patch-gcc_config_netbsd-stdint.h       |  63 ---
 gcc6snapshot/patches/patch-gcc_config_netbsd.c     | 102 ----
 gcc6snapshot/patches/patch-gcc_config_netbsd.h     |  43 --
 gcc6snapshot/patches/patch-gcc_config_t-netbsd     |  28 -
 gcc6snapshot/patches/patch-gcc_config_x-netbsd     |  12 -
 gcc6snapshot/patches/patch-gcc_configure           |  13 -
 gcc6snapshot/patches/patch-gcc_ggc-common.c        |  71 ---
 gcc6snapshot/patches/patch-gcc_lto_lto.c           |  19 -
 gcc6snapshot/patches/patch-gcc_system.h            |  27 -
 gcc6snapshot/patches/patch-libcilkrts_configure    |  13 -
 .../patches/patch-libcilkrts_runtime_os-unix.c     |  33 --
 .../patches/patch-libdecnumber_decNumber.c         |  13 -
 gcc6snapshot/patches/patch-libffi_configure        |  13 -
 .../patch-libffi_testsuite_libffi.call_float2.c    |  13 -
 gcc6snapshot/patches/patch-libgcc_crtstuff.c       |  14 -
 .../patches/patch-libgcc_unwind-dw2-fde-dip.c      |  13 -
 gcc6snapshot/patches/patch-libgfortran_configure   |  13 -
 gcc6snapshot/patches/patch-libgo_Makefile.in       |  17 -
 gcc6snapshot/patches/patch-libjava_boehm.cc        |  22 -
 gcc6snapshot/patches/patch-libjava_configure       |  17 -
 .../patch-libjava_contrib_rebuild-gcj-db.in        |  29 --
 .../patches/patch-libsanitizer_configure.tgt       |  13 -
 ...libstdc++-v3_config_os_bsd_netbsd_ctype__base.h |  37 --
 ..._config_os_bsd_netbsd_ctype__configure__char.cc |  57 --
 ...bstdc++-v3_config_os_bsd_netbsd_ctype__inline.h |  13 -
 .../patch-libstdc++-v3_libsupc++_unwind-cxx.h      |  12 -
 gcc6snapshot/patches/x.tree                        |  29 --
 gcc6snapshot/test_summary.log                      | 576 ---------------------
 gcc6snapshot/version.mk                            |   2 -
 gcc7snapshot/DESCR                                 |   3 -
 gcc7snapshot/Makefile                              | 179 -------
 gcc7snapshot/PLIST.java                            |  42 --
 gcc7snapshot/TODO                                  |  47 --
 gcc7snapshot/buildlink3.mk                         |  31 --
 gcc7snapshot/distinfo                              |  37 --
 gcc7snapshot/options.mk                            | 132 -----
 .../patches/patch-contrib_download__prerequisites  |  15 -
 gcc7snapshot/patches/patch-gcc_Makefile.in         |  15 -
 gcc7snapshot/patches/patch-gcc_config.gcc          |  34 --
 gcc7snapshot/patches/patch-gcc_config_arm_arm.h    |  20 -
 .../patches/patch-gcc_config_netbsd-protos.h       |  34 --
 gcc7snapshot/patches/patch-gcc_config_netbsd.c     | 104 ----
 gcc7snapshot/patches/patch-gcc_config_netbsd.h     |  43 --
 gcc7snapshot/patches/patch-gcc_config_t-netbsd     |  28 -
 gcc7snapshot/patches/patch-gcc_config_x-netbsd     |  12 -
 gcc7snapshot/patches/patch-gcc_configure           |  13 -
 gcc7snapshot/patches/patch-gcc_ggc-common.c        |  71 ---
 gcc7snapshot/patches/patch-gcc_lto_lto.c           |  19 -
 gcc7snapshot/patches/patch-gcc_system.h            |  27 -
 gcc7snapshot/patches/patch-isl_configure           |  24 -
 gcc7snapshot/patches/patch-libcilkrts_configure    |  13 -
 .../patches/patch-libcilkrts_runtime_os-unix.c     |  40 --
 .../patches/patch-libdecnumber_decNumber.c         |  13 -
 gcc7snapshot/patches/patch-libffi_configure        |  13 -
 .../patch-libffi_testsuite_libffi.call_float2.c    |  13 -
 gcc7snapshot/patches/patch-libgcc_crtstuff.c       |  13 -
 gcc7snapshot/patches/patch-libgfortran_configure   |  13 -
 gcc7snapshot/patches/patch-libgo_Makefile.in       |  17 -
 .../patches/patch-libsanitizer_configure.tgt       |  13 -
 ...libstdc++-v3_config_os_bsd_netbsd_ctype__base.h |  37 --
 ..._config_os_bsd_netbsd_ctype__configure__char.cc |  58 ---
 ...bstdc++-v3_config_os_bsd_netbsd_ctype__inline.h |  13 -
 .../patch-libstdc++-v3_libsupc++_unwind-cxx.h      |  12 -
 gcc7snapshot/test_summary.log.gz                   | Bin 15321 -> 0 bytes
 gcc7snapshot/version.mk                            |   2 -
 gcc8snapshot/DESCR                                 |   4 -
 gcc8snapshot/Makefile                              | 179 -------
 gcc8snapshot/buildlink3.mk                         |  31 --
 gcc8snapshot/distinfo                              |  31 --
 gcc8snapshot/options.mk                            | 131 -----
 .../patches/patch-contrib_download__prerequisites  |  15 -
 gcc8snapshot/patches/patch-gcc_Makefile.in         |  15 -
 gcc8snapshot/patches/patch-gcc_config.gcc          |  29 --
 gcc8snapshot/patches/patch-gcc_config_arm_arm.h    |  20 -
 .../patches/patch-gcc_config_netbsd-protos.h       |  34 --
 gcc8snapshot/patches/patch-gcc_config_t-netbsd     |  28 -
 gcc8snapshot/patches/patch-gcc_config_x-netbsd     |  12 -
 gcc8snapshot/patches/patch-gcc_configure           |  13 -
 gcc8snapshot/patches/patch-gcc_ggc-common.c        |  71 ---
 gcc8snapshot/patches/patch-gcc_lto_lto.c           |  19 -
 gcc8snapshot/patches/patch-isl_configure           |  24 -
 gcc8snapshot/patches/patch-libffi_configure        |  13 -
 .../patch-libffi_testsuite_libffi.call_float2.c    |  13 -
 gcc8snapshot/patches/patch-libgcc_config.host      |  19 -
 gcc8snapshot/patches/patch-libgcc_crtstuff.c       |  13 -
 gcc8snapshot/patches/patch-libgfortran_io_io.h     |  18 -
 .../patches/patch-libsanitizer_configure.tgt       |  19 -
 ...atch-libsanitizer_sanitizer__common_Makefile.am |  17 -
 ...atch-libsanitizer_sanitizer__common_Makefile.in |  28 -
 ...libstdc++-v3_config_os_bsd_netbsd_ctype__base.h |  54 --
 ..._config_os_bsd_netbsd_ctype__configure__char.cc |  81 ---
 gcc8snapshot/version.mk                            |   2 -
 102 files changed, 4078 deletions(-)

diffs:
diff --git a/gcc6snapshot/DESCR b/gcc6snapshot/DESCR
deleted file mode 100644
index 746d1793a9..0000000000
--- a/gcc6snapshot/DESCR
+++ /dev/null
@@ -1,6 +0,0 @@
-The GNU Compiler Collection (GCC) includes front ends for C, C++, Objective-C,
-Fortran, Java, and Go, as well as libraries for these languages (libstdc++,
-libgcj,...). This package provides the development version of veersion 6.x.
-
-On NetBSD a working cabsl function must be present in libm to build gfortran.
-This has been added to NetBSD7 on 2014/10/13.
diff --git a/gcc6snapshot/Makefile b/gcc6snapshot/Makefile
deleted file mode 100644
index eee31a05c8..0000000000
--- a/gcc6snapshot/Makefile
+++ /dev/null
@@ -1,184 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2014/12/10 06:10:46 keckhardt Exp $
-
-GCC_PKGNAME=		gcc6snapshot
-.include		"version.mk"
-
-DISTNAME=	gcc-${GCC6S_DIST_VERSION}
-PKGNAME=	${GCC_PKGNAME}-${GCC6S_DIST_VERSION}
-## When bumping the PKGREVISION of this package the PKGREVISION of
-## lang/gcc6-libs needs to be bump to be at least 1 more than the
-## PKGREVISION of this package!
-CATEGORIES=	lang
-MASTER_SITES=	${MASTER_SITE_GNU:=gcc/snapshots/${GCC6S-DIST_VERSION}/}
-MASTER_SITES+=	ftp://ftp.fu-berlin.de/unix/languages/gcc/snapshots/${GCC6S_DIST_VERSION}/
-EXTRACT_SUFX=	.tar.bz2
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	http://gcc.gnu.org/
-COMMENT=	The GNU Compiler Collection (GCC) - 6.0 Release Series
-LICENSE=	gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
-
-DISTFILES=		${DEFAULT_DISTFILES}
-EXTRACT_ONLY=		${DEFAULT_DISTFILES}
-
-NOT_FOR_PLATFORM=	Interix-*-*
-
-USE_LANGUAGES=		c c++
-USE_TOOLS+=		gmake makeinfo sed:run tar:build
-USE_TOOLS.NetBSD+=	gsed
-
-GNU_CONFIGURE=		yes
-## Build outside ${WRKSRC}
-OBJDIR=			../build
-CONFIGURE_DIRS=		${OBJDIR}
-CONFIGURE_SCRIPT=	../${DISTNAME}/configure
-GCC_SUBPREFIX=		${GCC_PKGNAME}
-GCC_PREFIX=		${PREFIX}/${GCC_SUBPREFIX}
-GNU_CONFIGURE_PREFIX=	${GCC_PREFIX}
-INFO_FILES=		yes
-
-UNLIMIT_RESOURCES+=	datasize
-UNLIMIT_RESOURCES+=	stacksize
-
-SUBST_CLASSES+=		vars
-SUBST_MESSAGE.vars=	Setting target machine name path in ${SUBST_FILES.vars}
-SUBST_STAGE.vars=	pre-configure
-SUBST_FILES.vars=	gcc/Makefile.in
-SUBST_VARS.vars=	GCC_TARGET_MACHINE
-
-
-.include "../../mk/bsd.prefs.mk"
-
-LANGS=			c
-
-# In some cases LINKER_RPATH_FLAG needs a trailing space.
-LINKER_RPATH_FLAG:=	${LINKER_RPATH_FLAG:S/-rpath/& /}
-
-## The Library rpath to use in end programs.
-LDFLAGS_FOR_TARGET=	${LDFLAGS:M${COMPILER_RPATH_FLAG}*:N*/usr/lib*}
-
-# The "-static-libstdc++ -static-libgcc" flags are normally added to the
-# boot-ldflags by configure but because we are supply the boot-ldflags
-# we mash supply them.
-BOOT_LDFLAGS=		-static-libstdc++ -static-libgcc ${LDFLAGS_FOR_TARGET}
-# Needed on Darwin when LDFLAGS point to a SDK
-BOOT_LDFLAGS+=		${LDFLAGS:M-Wl,-syslibroot*}
-# GCC does not understand this option; remove it, or stage build will fail
-BUILDLINK_TRANSFORM+=	rm:-stdlib=libc++
-
-.include "options.mk"
-
-## For graphite support.
-.if !empty(PKG_OPTIONS:Mgcc-graphite)
-
-post-extract:
-	${TAR} -jxf ${DISTDIR}/${ISL14}.tar.bz2 -C ${WRKSRC}
-	${MV} ${WRKSRC}/${ISL14} ${WRKSRC}/isl
-.endif
-
-## For target librarys and libjava programs.
-CONFIGURE_ENV+=		LDFLAGS_FOR_TARGET=${LDFLAGS_FOR_TARGET:Q}
-
-CONFIGURE_ARGS+=	--enable-languages=${LANGS:Q}
-CONFIGURE_ARGS+=	--enable-shared
-CONFIGURE_ARGS+=	--enable-long-long
-CONFIGURE_ARGS+=	--with-local-prefix=${GCC_PREFIX:Q}
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-*)
-# on NetBSD, use the native SSP code in libc
-CONFIGURE_ARGS+=	--disable-libssp
-.else
-CONFIGURE_ARGS+=	--enable-libssp
-.endif
-CONFIGURE_ARGS+=	--enable-threads=posix
-CONFIGURE_ARGS+=	--with-boot-ldflags=${BOOT_LDFLAGS:Q}
-.if ${OPSYS} == "NetBSD"
-CONFIGURE_ARGS+=	--with-gnu-ld --with-ld=/usr/bin/ld
-CONFIGURE_ARGS+=	--with-gnu-as --with-as=/usr/bin/as
-MAKE_ENV+=		ac_cv_func_clock_gettime=yes
-MAKE_ENV+=		ac_cv_func_gethostbyname_r=no
-MAKE_ENV+=		ac_cv_func_freelocale=no
-MAKE_ENV+=		ac_cv_func_newlocale=no
-MAKE_ENV+=		ac_cv_func_uselocale=no
-.endif
-.if ${OPSYS} == "DragonFly"
-CONFIGURE_ARGS+=	--disable-bootstrap
-.endif
-
-
-
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || !empty(MACHINE_PLATFORM:MLinux-*-i386)
-CONFIGURE_ARGS+=	--with-arch=i486 --with-tune=i486
-.endif
-
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) || !empty(MACHINE_PLATFORM:MLinux-*-x86_64)
-CONFIGURE_ARGS+=	--with-arch=nocona --with-tune=nocona --with-fpmath=sse
-.endif
-
-.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
-CONFIGURE_ARGS+=	--with-dwarf2
-.endif
-
-
-# ${WRKSRC}/fixincludes/ looks for sed and compiles the path to sed into
-# a binary so we need to make sure we give it the installed sed and not
-# the tool wrapped one.
-MAKE_ENV+=		ac_cv_path_SED=${TOOLS_SED}
-MAKE_ENV+=		lt_cv_path_SED=${TOOLS_SED}
-
-# Determine whether to use binutils
-.if ${OPSYS} == "SunOS"
-.  if exists(/usr/sfw/bin/gobjdump)
-CONFIGURE_ENV+=		OBJDUMP=/usr/sfw/bin/gobjdump
-.  endif
-.  if exists(/usr/bin/ld)
-CONFIGURE_ARGS+=	--without-gnu-ld --with-ld=/usr/bin/ld
-.  else
-CONFIGURE_ARGS+=	--without-gnu-ld --with-ld=/usr/ccs/bin/ld
-.  endif
-.  if exists(/usr/sfw/bin/gas)
-CONFIGURE_ARGS+=	--with-gnu-as --with-as=/usr/sfw/bin/gas
-.  elif exists(/usr/ccs/bin/as)
-CONFIGURE_ARGS+=	--without-gnu-as --with-as=/usr/ccs/bin/as
-.  else
-BUILDLINK_DEPMETHOD.binutils=	full
-.    include "../../devel/binutils/buildlink3.mk"
-CONFIGURE_ARGS+=	--with-gnu-as --with-as=${PREFIX}/bin/gas
-.  endif
-.endif
-
-pre-configure:
-	${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
-
-TEST_TARGET=	-k check || ${TRUE}
-pre-test:
-	${RUN} 							\
-	if runtest --version >/dev/null 2>/dev/null ; then	\
-		: ;						\
-	else							\
-	  ${ECHO} "ERROR: Please install devel/dejagnu in order to run the test suite." ; \
-	  exit 1 ;						\
-	fi
-post-test:
-	${RUN} cd ${WRKSRC} && cd ${OBJDIR} &&		\
-	${SHELL} ${WRKSRC}/contrib/test_summary >${WRKDIR}/test_summary.log
-	@${INFO_MSG} "Test summary are available in ${WRKDIR}/test_summary.log"
-
-post-install:
-	${TEST} -f ${DESTDIR}${GCC_PREFIX}/bin/cc || \
-		( cd ${DESTDIR}${GCC_PREFIX}/bin ; ${LN} -f gcc cc )
-.if !empty(PKG_OPTIONS:Mgcc-java)
-	${RM} -f ${DESTDIR}${JAVA_HOME}/bin/javadoc
-	${RM} -f ${DESTDIR}${JAVA_HOME}/jre/lib/${JAVA_ARCH}/libjawt.so
-.endif
-.if !empty(MACHINE_PLATFORM:MSunOS-*-*86*) && ${OS_VERSION} != "5.11"
-	${SH} files/values.c ${DESTDIR}${GCC_PREFIX}/bin/gcc -m32 || ${TRUE}
-	${SH} files/values.c ${DESTDIR}${GCC_PREFIX}/bin/gcc -m64 || ${TRUE}
-.endif
-
-GENERATE_PLIST+= \
-	cd ${DESTDIR}${PREFIX} && 					\
-	${FIND} ${GCC_SUBPREFIX} \( -type f -o -type l \) -print | ${SORT} ;
-
-.include "../../mk/dlopen.buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/gcc6snapshot/PLIST.java b/gcc6snapshot/PLIST.java
deleted file mode 100644
index 13e22b0694..0000000000
--- a/gcc6snapshot/PLIST.java
+++ /dev/null
@@ -1,42 +0,0 @@
-@comment $NetBSD: PLIST.java,v 1.1 2014/10/19 10:50:56 keckhardt Exp $
-bin/${JAVA_NAME}-appletviewer
-bin/${JAVA_NAME}-jar
-bin/${JAVA_NAME}-jarsigner
-bin/${JAVA_NAME}-java
-bin/${JAVA_NAME}-javah
-bin/${JAVA_NAME}-keytool
-bin/${JAVA_NAME}-native2ascii
-bin/${JAVA_NAME}-orbd
-bin/${JAVA_NAME}-rmic
-bin/${JAVA_NAME}-rmid
-bin/${JAVA_NAME}-rmiregistry
-bin/${JAVA_NAME}-serialver
-bin/${JAVA_NAME}-tnameserv
-java/${JAVA_NAME}/bin/appletviewer
-java/${JAVA_NAME}/bin/jar
-java/${JAVA_NAME}/bin/jarsigner
-java/${JAVA_NAME}/bin/java
-java/${JAVA_NAME}/bin/javah
-java/${JAVA_NAME}/bin/keytool
-java/${JAVA_NAME}/bin/native2ascii
-java/${JAVA_NAME}/bin/orbd
-java/${JAVA_NAME}/bin/rmic
-java/${JAVA_NAME}/bin/rmid
-java/${JAVA_NAME}/bin/rmiregistry
-java/${JAVA_NAME}/bin/serialver
-java/${JAVA_NAME}/bin/tnameserv
-java/${JAVA_NAME}/include/jawt.h
-java/${JAVA_NAME}/include/jni.h
-java/${JAVA_NAME}/include/linux/jawt_md.h
-java/${JAVA_NAME}/include/linux/jni_md.h
-java/${JAVA_NAME}/jre/bin/java
-java/${JAVA_NAME}/jre/bin/keytool
-java/${JAVA_NAME}/jre/bin/orbd
-java/${JAVA_NAME}/jre/bin/rmid
-java/${JAVA_NAME}/jre/bin/rmiregistry
-java/${JAVA_NAME}/jre/bin/tnameserv
-java/${JAVA_NAME}/jre/lib/${JAVA_ARCH}/client/libjvm.so
-java/${JAVA_NAME}/jre/lib/${JAVA_ARCH}/server/libjvm.so
-java/${JAVA_NAME}/jre/lib/rt.jar
-java/${JAVA_NAME}/jre/lib/security/java.security
-java/${JAVA_NAME}/lib/tools.jar
diff --git a/gcc6snapshot/TODO b/gcc6snapshot/TODO
deleted file mode 100644
index f33a7f2444..0000000000
--- a/gcc6snapshot/TODO
+++ /dev/null
@@ -1,47 +0,0 @@
-TODO
-====
-
-
-I won't work on gcc any longer after gcc6 has been released in about 
-April 2016. So please step up as maintainer of gcc6/gcc7 for NetBSD.
-
-0) This package aims to keep the latest gcc usable on NetBSD, although
-any work on gcc should happen upstream as far as possible. But it is 
-hopeless without enough NetBSD developers working on it upstream. I have sent
-some patches for NetBSD to GCC a few month ago but there is no progress yet:
-
-PR 64271, the minimal patch set to bootstrap, extracted from pkgsrc.
-Jonathan Wakely is working on the libstdc++ patches involved.
-Without acceptance of patches for PR 64271, no other patches
-will be accepted upstream. 
-
-PR 39570, this bug causes all gfortran run tests to fail. I have developed
-the necessary patches and sent them upstream. For gcc50snapshot it means
-replacing a short patch by a bunch of complex patches, but they are gcc
-conforming and can be reused for other patches as well.
-
-PR 48244, for iso_c_binding support in gfortran. The patches are
-there but it is delayed by PR 64271.
-
-
-1) On NetBSD a working cabsl function must be present in libm to build gfortran.
-This has been added to NetBSD7 on 2014/10/13. Before this date it was defined
-in complex.h but missing from libm.
-
-2) Unless NetBSD gets proper support for C99, the number of test failures
-will stay high. The dozens of missing or inaccurate long double functions
-causes a misconception of NetBSD being an obscure platform, causing other
-projects like gcc or R to abandon support for NetBSD. And the race goes on,
-now we need support for C11 functions like aligned_alloc and the plethora
-of thread functions in our libc/libm.
- 
-3) This package and the lang/gccXY need a cleanup or a complete new start. I
-think that SUBST_VARS could handle the platform dependencies in a much cleaner
-way.
-
-4) Patches from lang/gcc5 should be integrated as far as possible, especially
-patches for other platforms. Right now I just look at it from time to time.
-
-Have fun,
-
-Kai-Uwe Eckhardt
diff --git a/gcc6snapshot/buildlink3.mk b/gcc6snapshot/buildlink3.mk
deleted file mode 100644
index a662c13b75..0000000000
--- a/gcc6snapshot/buildlink3.mk
+++ /dev/null
@@ -1,31 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.1 2014/10/19 10:6:56 keckhardt Exp $
-
-BUILDLINK_TREE+=	gcc6snapshot
-
-.if !defined(GCC6_BUILDLINK3_MK)
-GCC6SNAPSHOT_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.gcc6snapshot+=	gcc6>=${_GCC_REQD}
-BUILDLINK_ABI_DEPENDS.gcc6snapshot+=	gcc6>=6.0
-BUILDLINK_PKGSRCDIR.gcc6snapshot=	../../wip/gcc6snapshot
-BUILDLINK_DEPMETHOD.gcc6snapshot?=	build
-
-BUILDLINK_FILES.gcc6snapshot=		#empty
-BUILDLINK_AUTO_VARS.gcc6snapshot=	no
-
-# Packages that link against shared libraries need a full dependency.
-#.if defined(_USE_GCC_SHLIB)
-#DEPENDS+=	{gcc6, gcc6-libs}>=${_GCC_REQD}:../../lang/gcc6-libs
-#ABI_DEPENDS+=	{gcc6,gcc6-libs}>=6.0:../../lang/gcc6-libs
-#.endif
-
-pkgbase := gcc6snapshot
-.include "../../mk/pkg-build-options.mk"
-.if !empty(PKG_BUILD_OPTIONS.gcc6snapshot:Mgcc-java)
-.include "../../devel/zlib/buildlink3.mk"
-.endif
-
-.include "../../mk/dlopen.buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-.endif # GCC6SNAPSHOT_BUILDLINK3_MK
-BUILDLINK_TREE+=	-gcc6snapshot
diff --git a/gcc6snapshot/distinfo b/gcc6snapshot/distinfo
deleted file mode 100644
index be62056326..0000000000
--- a/gcc6snapshot/distinfo
+++ /dev/null
@@ -1,39 +0,0 @@
-$NetBSD: distinfo,v 1.23 2015/05/06 05:25:00 keckhardt Exp $
-
-SHA1 (gcc-6-20160908.tar.bz2) = 7cc96ea766f967979b529ae0d0cb60db92d8bf99
-RMD160 (gcc-6-20160908.tar.bz2) = 1a52d7e161e17b016b9a322eda6805a931dfa4ec
-SHA512 (gcc-6-20160908.tar.bz2) = e280d86bfe623ffd2fe288df1bbb88839d2ff008b713c7dedcd02f8b027df7cbaeb1394d2b1877bbd412b5ed66d32f4ea3ad3138d50cbfd2dc096f8ebaad7470
-Size (gcc-6-20160908.tar.bz2) = 95586793 bytes
-SHA1 (isl-0.14.tar.bz2) = b09e25df265c97ed54002cd811d227a9a26c5f9c
-RMD160 (isl-0.14.tar.bz2) = 4c69d026b51561bc1948cb7db79331b78a9d2c39
-SHA512 (isl-0.14.tar.bz2) = 117c0c6f31d91a9284a8f54a748df6494ca2ac21507a45611e911403e9610579b9323ce624aea1de0b8089b3194e59d4364f01bdb71ddcf8f6c24c749d11c4b7
-Size (isl-0.14.tar.bz2) = 1399896 bytes
-SHA1 (patch-gcc_Makefile.in) = ce366a091960d335ecb022918e2f7bfc4e3fcccf
-SHA1 (patch-gcc_config.gcc) = 84fedf863c853c40bf81884f5db3617200f0d31d
-SHA1 (patch-gcc_config_netbsd-protos.h) = 6d28864b4ccc8c1a63fe28e43601b84b63a00633
-SHA1 (patch-gcc_config_netbsd-stdint.h) = 025fc883101a187e84ed4c0772406720d645d550
-SHA1 (patch-gcc_config_netbsd.c) = 3c09521e1803633a3643cf396a03f1f433ec869b
-SHA1 (patch-gcc_config_netbsd.h) = 81891a83bb17b99fdb2c9381b8e8a1767391c695
-SHA1 (patch-gcc_config_t-netbsd) = 802ad5706aa7ca9629f8e237f08fbb1569d28846
-SHA1 (patch-gcc_config_x-netbsd) = 6dc3d78e26df62054ea29f98ca51592858e671e3
-SHA1 (patch-gcc_configure) = 15fb7af267b79965f83bc64ce8aad1279b0ea52d
-SHA1 (patch-gcc_ggc-common.c) = a5d2dba635859f5d680c3f80d7c30b42461c752b
-SHA1 (patch-gcc_lto_lto.c) = 825b632e2a7ff5777d4fbfdcf6f0ea3f64c4742b
-SHA1 (patch-gcc_system.h) = 4c959a6b1c4d524cbdf44cfb80f0e5758ec20783
-SHA1 (patch-libcilkrts_configure) = 0d88069173cba34158f5b6b91d2d12ca81b0300c
-SHA1 (patch-libcilkrts_runtime_os-unix.c) = 653c5e3486d09bddae6a384edc2a3b3f2c95f74b
-SHA1 (patch-libdecnumber_decNumber.c) = cec90e49c829bfc6ba1ec605d2fac7daaad62762
-SHA1 (patch-libffi_configure) = bcfbfe8abddc378e2de4a39ad0669583b37e0292
-SHA1 (patch-libffi_testsuite_libffi.call_float2.c) = 6321dde308579448c27c2b6e1e30633699dd145f
-SHA1 (patch-libgcc_crtstuff.c) = d22dd1fb4a79aed2e7c2864f0bb00bcc338b3ab8
-SHA1 (patch-libgcc_unwind-dw2-fde-dip.c) = 9c5e1823226521d11900b4d3b92c050d3941a1f6
-SHA1 (patch-libgfortran_configure) = 869a60fd08edecf18a42732dcbf226bad1309394
-SHA1 (patch-libgo_Makefile.in) = 612987541f745c7be6835ce7fb7119884db294c3
-SHA1 (patch-libjava_boehm.cc) = bf5564261b02523927685340f59ce8faf7f84ace
-SHA1 (patch-libjava_configure) = 48ea2baffe87e09dda8133d286bd9b1bfe4c3f8a
-SHA1 (patch-libjava_contrib_rebuild-gcj-db.in) = bb01d738fc7db05046ae37e8ade32574de1d8297
-SHA1 (patch-libsanitizer_configure.tgt) = 0aff54104734b2cb21090e33f9304738946ea5a0
-SHA1 (patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h) = 014d442c885b9c51d1a4af05205279c274a9559d
-SHA1 (patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc) = b63c2682336c9b6f0e0d7b900d6f40ad6e7a5ec4
-SHA1 (patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h) = 626fc1f9c035ac5cef30a92d525af4e778835ebf
-SHA1 (patch-libstdc++-v3_libsupc++_unwind-cxx.h) = 9784bfa4323f8498b36565d0fea28fce69ffdbb1
diff --git a/gcc6snapshot/options.mk b/gcc6snapshot/options.mk
deleted file mode 100644
index df81c6ef14..0000000000
--- a/gcc6snapshot/options.mk
+++ /dev/null
@@ -1,181 +0,0 @@
-# $NetBSD: options.mk,v 1.2 2014/12/10 06:10:46 keckhardt Exp $
-
-PKG_OPTIONS_VAR=	PKG_OPTIONS.${GCC_PKGNAME}
-PKG_SUPPORTED_OPTIONS=	nls gcc-inplace-math gcc-c++ gcc-fortran \
-			gcc-go gcc-objc gcc-objc++ gcc-graphite gcc-java
-PKG_SUGGESTED_OPTIONS=	gcc-c++ gcc-fortran gcc-objc gcc-objc++ \
-			gcc-graphite gcc-inplace-math
-
-.if ${OPSYS} == "NetBSD"
-PKG_SUGGESTED_OPTIONS+=	nls
-.elif ${OPSYS} == "Linux"
-PKG_SUGGESTED_OPTIONS+=	nls
-.elif ${OPSYS} == "DragonFly"
-PKG_SUGGESTED_OPTIONS+=	nls
-.elif ${OPSYS} == "SunOS"
-PKG_SUGGESTED_OPTIONS+=	gcc-inplace-math
-.else
-.endif
-
-###
-### Determine if multilib is avalible.
-###
-MULTILIB_SUPPORTED?=	unknown
-.if !empty(MACHINE_PLATFORM:MLinux-*-x86_64)
-.  if exists(/usr/include/gnu/stubs-64.h) && \
-     !exists(/usr/include/gnu/stubs-32.h)
-MULTILIB_SUPPORTED=	No
-.  else
-MULTILIB_SUPPORTED=	Yes
-.  endif
-.endif
-.if !empty(MULTILIB_SUPPORTED:M[Yy][Ee][Ss])
-PKG_SUPPORTED_OPTIONS+=	gcc-multilib
-PKG_SUGGESTED_OPTIONS+=	gcc-multilib
-.endif
-
-.include "../../mk/bsd.options.mk"
-
-###
-### Native Language Support
-###
-.if !empty(PKG_OPTIONS:Mnls)
-USE_TOOLS+=		msgfmt
-CONFIGURE_ARGS+=	--enable-nls
-CONFIGURE_ARGS+=	--with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
-MAKE_ENV+=		ICONVPREFIX=${BUILDLINK_PREFIX.iconv}
-.include "../../converters/libiconv/buildlink3.mk"
-.include "../../devel/gettext-lib/buildlink3.mk"
-.else
-CONFIGURE_ARGS+=	--disable-nls
-.endif
-
-###
-### Multilib Support
-###
-.if (!empty(MULTILIB_SUPPORTED:M[Yy][Ee][Ss]) && \
-      empty(PKG_OPTIONS:Mgcc-multilib) ) || \
-    !empty(MULTILIB_SUPPORTED:M[Nn][Oo])
-CONFIGURE_ARGS+=	--disable-multilib
-.endif
-
-###
-### Build math libraries in place
-###
-.if !empty(PKG_OPTIONS:Mgcc-inplace-math)
-.  include "../../devel/gmp/inplace.mk"
-.  include "../../math/mpcomplex/inplace.mk"
-.  include "../../math/mpfr/inplace.mk"
-.else
-CONFIGURE_ARGS+=	--with-gmp=${BUILDLINK_PREFIX.gmp}
-CONFIGURE_ARGS+=	--with-mpc=${BUILDLINK_PREFIX.mpcomplex}
-CONFIGURE_ARGS+=	--with-mpfr=${BUILDLINK_PREFIX.mpfr}
-LIBS.SunOS+=		-lgmp
-.  include "../../devel/gmp/buildlink3.mk"
-.  include "../../math/mpcomplex/buildlink3.mk"
-.  include "../../math/mpfr/buildlink3.mk"
-.endif
-
-
-###
-### Graphite Support
-###
-.if !empty(PKG_OPTIONS:Mgcc-graphite)
-ISL14=		isl-0.14
-SITES.${ISL14}.tar.bz2= ${MASTER_SITE_GNU:=gcc/infrastructure/}
-DISTFILES+=	${ISL14}.tar.bz2
-.endif
-
-###
-### Optional languages
-### Ada could be added although there is a bootstrapping issue.  See
-### ../gcc34-ada for guidance
-###
-
-.if !empty(PKG_OPTIONS:Mgcc-objc++)
-.  if empty(PKG_OPTIONS:Mgcc-c++)
-PKG_OPTIONS+=		gcc-c++
-.  endif
-.  if empty(PKG_OPTIONS:Mgcc-objc)
-PKG_OPTIONS+=		gcc-objc
-.  endif
-LANGS+=			obj-c++
-.endif
-
-.if !empty(PKG_OPTIONS:Mgcc-objc)
-LANGS+=			objc
-.endif
-
-.if !empty(PKG_OPTIONS:Mgcc-java)
-.  if empty(PKG_OPTIONS:Mgcc-c++)
-PKG_OPTIONS+=		gcc-c++
-.  endif
-
-LANGS+=			java
-
-# Add the  Eclipse Java compiler for to parse `.java' source files.
-ECJ_JAR=		ecj-4.5.jar
-SITES.${ECJ_JAR}=	ftp://sourceware.org/pub/java/
-DISTFILES+=		${ECJ_JAR}
-CONFIGURE_ARGS+=	--with-ecj-jar=${DISTDIR}/${ECJ_JAR:Q}
-
-JAVA_NAME=		${GCC_PKGNAME}
-JAVA_HOME=		${PREFIX}/java/${JAVA_NAME}
-JAVA_WRAPPERS=		appletviewer jar jarsigner java javah keytool \
-			native2ascii orbd rmic rmid rmiregistry serialver \
-			tnameserv
-
-JAVA_ARCH=		${MACHINE_ARCH:S/x86_64/amd64/}
-
-PLIST_SRC+=		PLIST.java
-PLIST_SUBST+=		JAVA_NAME=${JAVA_NAME}
-PLIST_SUBST+=		JAVA_ARCH=${JAVA_ARCH:Q}
-
-# Create a JPackage compatible SDK environment.
-CONFIGURE_ARGS+=	--enable-java-home
-CONFIGURE_ARGS+=	--with-os-directory=${LOWER_OPSYS}
-CONFIGURE_ARGS+=	--with-arch-directory=${JAVA_ARCH:Q}
-CONFIGURE_ARGS+=	--with-jvm-root-dir=${JAVA_HOME}
-CONFIGURE_ARGS+=	--with-java-home=${JAVA_HOME}
-
-REPLACE_PYTHON=		libjava/contrib/aot-compile.in
-
-USE_TOOLS+=		unzip zip:run gmake:run
-CONFIGURE_ARGS+=	--with-system-zlib
-
-# libjava/contrib/aotcompile.py.in stores the path to a 'make' program so
-# we need to make sure we give it the installed 'make' and not the tool
-# wrapped one.
-CONFIGURE_ENV+=		PKGSRC_MAKE=${TOOLS_PATH.gmake}
-MAKE_ENV+=		PKGSRC_MAKE=${TOOLS_PATH.gmake}
-
-# fastjar-0.93 from pkgsrc/archivers/fastjar seems to trigger a build
-# failure (seen on NetBSD-5.0/i386) when building java.  So in case
-# the fastjar package is installed, make sure the configure script
-# doesn't pick it up.
-CONFIGURE_ENV+=		JAR=no
-MAKE_ENV+=		JAR=no
-MAKE_ENV+=		ac_cv_prog_JAR=no
-
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../lang/python/application.mk"
-.include "../../mk/java-env.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Mgcc-go)
-LANGS+=			go
-.endif
-
-.if !empty(PKG_OPTIONS:Mgcc-fortran)
-LANGS+=			fortran
-.endif
-
-.if !empty(PKG_OPTIONS:Mgcc-c++)
-LANGS+=			c++
-USE_TOOLS+=		perl
-CONFIGURE_ARGS+=	--enable-__cxa_atexit
-CONFIGURE_ARGS+=	--with-gxx-include-dir=${GCC_PREFIX}/include/c++/
-.else
-CONFIGURE_ARGS+=	--disable-build-with-cxx
-CONFIGURE_ARGS+=	--disable-build-poststage1-with-cxx
-.endif
diff --git a/gcc6snapshot/patches/patch-gcc_Makefile.in b/gcc6snapshot/patches/patch-gcc_Makefile.in
deleted file mode 100644
index 1f714e95b2..0000000000
--- a/gcc6snapshot/patches/patch-gcc_Makefile.in
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-gcc_Makefile.in,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
-Add gcc libdir to a programs rpath so that _this gcc's_ support libraries
-are found.
-
---- gcc/Makefile.in.orig	2013-03-05 09:46:34.000000000 +0000
-+++ gcc/Makefile.in
-@@ -2027,6 +2027,7 @@ prefix.o: prefix.c $(CONFIG_H) $(SYSTEM_
- # Language-independent files.
- 
- DRIVER_DEFINES = \
-+  -DLINK_LIBGCC_SPEC="\"%D $(LINKER_RPATH_FLAG) $(prefix)/@GCC_TARGET_MACHINE@/lib/%M $(LINKER_RPATH_FLAG) $(libdir)/%M \"" \
-   -DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \
-   -DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \
-   -DSTANDARD_LIBEXEC_PREFIX=\"$(libexecdir)/gcc/\" \
diff --git a/gcc6snapshot/patches/patch-gcc_config.gcc b/gcc6snapshot/patches/patch-gcc_config.gcc
deleted file mode 100644
index babfdea118..0000000000
--- a/gcc6snapshot/patches/patch-gcc_config.gcc
+++ /dev/null
@@ -1,39 +0,0 @@
-$NetBSD: patch-gcc_config.gcc,v 1.2 2014/12/17 21:51:02 keckhardt Exp $
-
---- gcc/config.gcc.orig	2014-11-21 16:04:20.000000000 +0000
-+++ gcc/config.gcc
-@@ -745,10 +745,16 @@ case ${target} in
-   target_has_targetcm=yes
-   ;;
- *-*-netbsd*)
--  tmake_file="t-slibgcc"
-+  use_gcc_stdint=wrap
-+  tmake_file="t-slibgcc t-netbsd"
-   gas=yes
-   gnu_ld=yes
- 
-+  # cabs/cabsf are renamed to __c99_cabs/cabsf
-+  tm_p_file="${tm_p_file} netbsd-protos.h"
-+  target_gtfiles="${target_gtfiles} \$(srcdir)/config/netbsd.c"
-+  extra_objs="${extra_objs} netbsd.o"
-+
-   # NetBSD 2.0 and later get POSIX threads enabled by default.
-   # Allow them to be explicitly enabled on any other version.
-   case ${enable_threads} in
-@@ -1372,12 +1378,14 @@ x86_64-*-freebsd*)
- 	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h"
- 	;;
- i[34567]86-*-netbsdelf*)
--	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h"
-+	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h netbsd-stdint.h"
- 	extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
-+	tmake_file="${tmake_file} i386/t-crtstuff"
- 	;;
- x86_64-*-netbsd*)
--	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/x86-64.h i386/netbsd64.h"
-+	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/x86-64.h i386/netbsd64.h netbsd-stdint.h"
- 	extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
-+	tmake_file="${tmake_file} i386/t-crtstuff"
- 	;;
- i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
- 	tm_file="i386/i386.h i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h openbsd-oldgas.h openbsd.h i386/openbsd.h"
diff --git a/gcc6snapshot/patches/patch-gcc_config_netbsd-protos.h b/gcc6snapshot/patches/patch-gcc_config_netbsd-protos.h
deleted file mode 100644
index 6045c337be..0000000000
--- a/gcc6snapshot/patches/patch-gcc_config_netbsd-protos.h
+++ /dev/null
@@ -1,34 +0,0 @@
-$NetBSD: patch-gcc_config_netbsd-protos.h,v 1.1 2014/12/17 21:51:02 keckhardt Exp $
-
---- /dev/null	2014-12-15 07:13:57.000000000 +0000
-+++ gcc/config/netbsd-protos.h
-@@ -0,0 +1,29 @@
-+/* Prototypes.
-+   Copyright (C) 2001-2014 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
-+<http://www.gnu.org/licenses/>.  */
-+
-+#ifndef _NETBSD_PROTOS_H_
-+#define _NETBSD_PROTOS_H_
-+
-+double __c99_cabs (double complex);
-+float __c99_cabsf (float complex);
-+long double __c99_cabsl (long double complex);
-+
-+void netbsd_patch_builtins (void);
-+
-+#endif /* _NETBSD_PROTOS_H_ */
diff --git a/gcc6snapshot/patches/patch-gcc_config_netbsd-stdint.h b/gcc6snapshot/patches/patch-gcc_config_netbsd-stdint.h
deleted file mode 100644
index 94ee6409ba..0000000000
--- a/gcc6snapshot/patches/patch-gcc_config_netbsd-stdint.h
+++ /dev/null
@@ -1,63 +0,0 @@
-$NetBSD: patch-gcc_config_netbsd-stdint.h,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
-Copy gcc/config/freebsd-stdint.h to gcc/config/netbsd-stdint.h.
-
---- gcc/config/netbsd-stdint.h.orig	2012-04-02 09:19:19.577200540 +0000
-+++ gcc/config/netbsd-stdint.h
-@@ -0,0 +1,56 @@
-+/* Definitions for <stdint.h> types for NetBSD systems.
-+   Copyright (C) 2009 Free Software Foundation, Inc.
-+   Contributed by Gerald Pfeifer <gerald%pfeifer.com@localhost>.
-+
-+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.
-+
-+Under Section 7 of GPL version 3, you are granted additional
-+permissions described in the GCC Runtime Library Exception, version
-+3.1, as published by the Free Software Foundation.
-+
-+You should have received a copy of the GNU General Public License and
-+a copy of the GCC Runtime Library Exception along with this program;
-+see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
-+<http://www.gnu.org/licenses/>.  */
-+
-+#define SIG_ATOMIC_TYPE   "int"
-+
-+#define INT8_TYPE         "signed char"
-+#define INT16_TYPE        "short int"
-+#define INT32_TYPE        "int"
-+#define INT64_TYPE        (LONG_TYPE_SIZE == 64 ? "long int" : "long long int")
-+#define UINT8_TYPE        "unsigned char"
-+#define UINT16_TYPE       "short unsigned int"
-+#define UINT32_TYPE       "unsigned int"
-+#define UINT64_TYPE       (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int")
-+
-+#define INT_LEAST8_TYPE   "signed char"
-+#define INT_LEAST16_TYPE  "short int"
-+#define INT_LEAST32_TYPE  "int"
-+#define INT_LEAST64_TYPE  (LONG_TYPE_SIZE == 64 ? "long int" : "long long int")
-+#define UINT_LEAST8_TYPE  "unsigned char"
-+#define UINT_LEAST16_TYPE "short unsigned int"
-+#define UINT_LEAST32_TYPE "unsigned int"
-+#define UINT_LEAST64_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int")
-+
-+#define INT_FAST8_TYPE    "int"
-+#define INT_FAST16_TYPE   "int"
-+#define INT_FAST32_TYPE   "int"
-+#define INT_FAST64_TYPE   (LONG_TYPE_SIZE == 64 ? "long int" : "long long int")
-+#define UINT_FAST8_TYPE   "unsigned int"
-+#define UINT_FAST16_TYPE  "unsigned int"
-+#define UINT_FAST32_TYPE  "unsigned int"
-+#define UINT_FAST64_TYPE  (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int")
-+
-+#define INTPTR_TYPE       (LONG_TYPE_SIZE == 64 ? "long int" : "int")
-+#define UINTPTR_TYPE      (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "unsigned int")
diff --git a/gcc6snapshot/patches/patch-gcc_config_netbsd.c b/gcc6snapshot/patches/patch-gcc_config_netbsd.c
deleted file mode 100644
index a7b7ad9941..0000000000
--- a/gcc6snapshot/patches/patch-gcc_config_netbsd.c
+++ /dev/null
@@ -1,102 +0,0 @@
-$NetBSD$
-
---- gcc/config/netbsd.c.orig	2015-10-06 16:35:05.000000000 +0000
-+++ gcc/config/netbsd.c
-@@ -0,0 +1,97 @@
-+/* Functions for generic NetBSD as target machine for GNU C compiler.
-+   Copyright (C) 1989-2014 Free Software Foundation, Inc.
-+   Contributed by Apple Computer 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
-+<http://www.gnu.org/licenses/>.  */
-+
-+
-+#include "config.h"
-+#include "system.h"
-+#include "coretypes.h"
-+#include "backend.h"
-+#include "cfghooks.h"
-+#include "tree.h"
-+#include "gimple.h"
-+#include "rtl.h"
-+#include "df.h"
-+#include "regs.h"
-+#include "insn-config.h"
-+#include "conditions.h"
-+#include "insn-flags.h"
-+#include "output.h"
-+#include "insn-attr.h"
-+#include "flags.h"
-+#include "alias.h"
-+#include "fold-const.h"
-+#include "stringpool.h"
-+#include "varasm.h"
-+#include "stor-layout.h"
-+#include "expmed.h"
-+#include "dojump.h"
-+#include "explow.h"
-+#include "calls.h"
-+#include "emit-rtl.h"
-+#include "stmt.h"
-+#include "expr.h"
-+#include "reload.h"
-+#include "langhooks.h"
-+#include "target.h"
-+#include "tm_p.h"
-+#include "diagnostic-core.h"
-+#include "toplev.h"
-+#include "cfgrtl.h"
-+#include "cfganal.h"
-+#include "lcm.h"
-+#include "cfgbuild.h"
-+#include "cfgcleanup.h"
-+#include "debug.h"
-+#include "internal-fn.h"
-+#include "gimple-fold.h"
-+#include "tree-eh.h"
-+#include "gimplify.h"
-+#include "cgraph.h"
-+#include "alloc-pool.h"
-+#include "lto-streamer.h"
-+#include "lto-section-names.h"
-+
-+static void
-+netbsd_patch_builtin (enum built_in_function fncode)
-+{
-+  tree fn = builtin_decl_explicit (fncode);
-+  tree sym;
-+  char *newname;
-+
-+  if (!fn)
-+    return;
-+
-+  sym = DECL_ASSEMBLER_NAME (fn);
-+  newname = ACONCAT (("__c99_", IDENTIFIER_POINTER (sym), NULL));
-+
-+  set_user_assembler_name (fn, newname);
-+
-+  fn = builtin_decl_implicit (fncode);
-+  if (fn)
-+    set_user_assembler_name (fn, newname);
-+}
-+
-+void
-+netbsd_patch_builtins (void)
-+{
-+  netbsd_patch_builtin (BUILT_IN_CABSF);
-+  netbsd_patch_builtin (BUILT_IN_CABS);
-+  netbsd_patch_builtin (BUILT_IN_CABSL);
-+}
diff --git a/gcc6snapshot/patches/patch-gcc_config_netbsd.h b/gcc6snapshot/patches/patch-gcc_config_netbsd.h
deleted file mode 100644
index 9103e22ded..0000000000
--- a/gcc6snapshot/patches/patch-gcc_config_netbsd.h
+++ /dev/null
@@ -1,43 +0,0 @@
-$NetBSD: patch-gcc_config_netbsd.h,v 1.1 2016/09/12 22:13:54 maya Exp $
-
-when using shared, link against libc
-another unexplained change`
-
---- gcc/config/netbsd.h.orig	2014-01-02 22:23:26.000000000 +0000
-+++ gcc/config/netbsd.h
-@@ -17,6 +17,9 @@ You should have received a copy of the G
- along with GCC; see the file COPYING3.  If not see
- <http://www.gnu.org/licenses/>.  */
- 
-+
-+#include "netbsd-protos.h"
-+
- /* TARGET_OS_CPP_BUILTINS() common to all NetBSD targets.  */
- #define NETBSD_OS_CPP_BUILTINS_COMMON()		\
-   do						\
-@@ -96,6 +99,7 @@ along with GCC; see the file COPYING3.  
-        %{!pg:-lposix}}		\
-      %{p:-lposix_p}		\
-      %{pg:-lposix_p}}		\
-+   %{shared:-lc}		\
-    %{!shared:			\
-      %{!symbolic:		\
-        %{!p:			\
-@@ -109,6 +113,7 @@ along with GCC; see the file COPYING3.  
-        %{!pg:-lposix}}		\
-      %{p:-lposix_p}		\
-      %{pg:-lposix_p}}		\
-+   %{shared:-lc}		\
-    %{!shared:			\
-      %{!symbolic:		\
-        %{!p:			\
-@@ -175,3 +180,9 @@ along with GCC; see the file COPYING3.  
- 
- #undef WINT_TYPE
- #define WINT_TYPE "int"
-+
-+#undef SUBTARGET_INIT_BUILTINS
-+#define SUBTARGET_INIT_BUILTINS			\
-+do {						\
-+  netbsd_patch_builtins ();			\
-+} while(0)
diff --git a/gcc6snapshot/patches/patch-gcc_config_t-netbsd b/gcc6snapshot/patches/patch-gcc_config_t-netbsd
deleted file mode 100644
index 43d3a7500d..0000000000
--- a/gcc6snapshot/patches/patch-gcc_config_t-netbsd
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-gcc_config_t-netbsd,v 1.1 2014/12/17 21:51:02 keckhardt Exp $
-
---- /dev/null	2014-12-16 20:23:05.000000000 +0000
-+++ gcc/config/t-netbsd
-@@ -0,0 +1,23 @@
-+# Copyright (C) 2002-2014 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
-+# <http://www.gnu.org/licenses/>.
-+
-+
-+netbsd.o: $(srcdir)/config/netbsd.c
-+	$(COMPILE) $<
-+	$(POSTCOMPILE)
-+
diff --git a/gcc6snapshot/patches/patch-gcc_config_x-netbsd b/gcc6snapshot/patches/patch-gcc_config_x-netbsd
deleted file mode 100644
index bbd84a19c3..0000000000
--- a/gcc6snapshot/patches/patch-gcc_config_x-netbsd
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-gcc_config_x-netbsd,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
-Add host hooks for NetBSD - needed for working precompiled headers.
-http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58397
-
---- /dev/null	2013-09-11 09:12:57.000000000 +0200
-+++ gcc/config/x-netbsd	2013-09-10 18:57:27.000000000 +0200
-@@ -0,0 +1,4 @@
-+host-netbsd.o : $(srcdir)/config/host-netbsd.c $(CONFIG_H) $(SYSTEM_H) \
-+  coretypes.h hosthooks.h hosthooks-def.h $(HOOKS_H)
-+	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
-+		$(srcdir)/config/host-netbsd.c
diff --git a/gcc6snapshot/patches/patch-gcc_configure b/gcc6snapshot/patches/patch-gcc_configure
deleted file mode 100644
index ed169d10b9..0000000000
--- a/gcc6snapshot/patches/patch-gcc_configure
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- gcc/configure.orig	2015-09-30 23:06:11.000000000 +0000
-+++ gcc/configure
-@@ -28321,7 +28321,7 @@ case "$target" in
-       gcc_cv_target_dl_iterate_phdr=no
-     fi
-     ;;
--  *-*-dragonfly* | *-*-freebsd*)
-+  *-*-dragonfly* | *-*-freebsd* | *-*-netbsd* )
-     if grep dl_iterate_phdr $target_header_dir/sys/link_elf.h > /dev/null 2>&1; then
-       gcc_cv_target_dl_iterate_phdr=yes
-     else
diff --git a/gcc6snapshot/patches/patch-gcc_ggc-common.c b/gcc6snapshot/patches/patch-gcc_ggc-common.c
deleted file mode 100644
index aad88bdb98..0000000000
--- a/gcc6snapshot/patches/patch-gcc_ggc-common.c
+++ /dev/null
@@ -1,71 +0,0 @@
-$NetBSD: patch-gcc_ggc-common.c,v 1.3 2015/02/05 15:55:39 keckhardt Exp $
-
---- gcc/ggc-common.c.orig	2014-12-10 03:45:40.000000000 +0000
-+++ gcc/ggc-common.c
-@@ -603,6 +603,8 @@ gt_pch_restore (FILE *f)
-   size_t i;
-   struct mmap_info mmi;
-   int result;
-+  struct line_maps * old_line_table = line_table;
-+  location_t old_input_loc = input_location;
- 
-   /* Delete any deletable objects.  This makes ggc_pch_read much
-      faster, as it can be sure that no GCable objects remain other
-@@ -616,32 +618,50 @@ gt_pch_restore (FILE *f)
-   /* Read in all the scalar variables.  */
-   for (rt = gt_pch_scalar_rtab; *rt; rt++)
-     for (rti = *rt; rti->base != NULL; rti++)
--      if (fread (rti->base, rti->stride, 1, f) != 1)
-+      if (fread (rti->base, rti->stride, 1, f) != 1) {
-+        line_table = old_line_table;
-+        input_location = old_input_loc;
- 	fatal_error (input_location, "can%'t read PCH file: %m");
-+      }
- 
-   /* Read in all the global pointers, in 6 easy loops.  */
-   for (rt = gt_ggc_rtab; *rt; rt++)
-     for (rti = *rt; rti->base != NULL; rti++)
-       for (i = 0; i < rti->nelt; i++)
- 	if (fread ((char *)rti->base + rti->stride * i,
--		   sizeof (void *), 1, f) != 1)
-+		   sizeof (void *), 1, f) != 1) {
-+          line_table = old_line_table;
-+          input_location = old_input_loc;
- 	  fatal_error (input_location, "can%'t read PCH file: %m");
-+        }
- 
--  if (fread (&mmi, sizeof (mmi), 1, f) != 1)
-+  if (fread (&mmi, sizeof (mmi), 1, f) != 1) {
-+    line_table = old_line_table;
-+    input_location = old_input_loc;
-     fatal_error (input_location, "can%'t read PCH file: %m");
-+  }
- 
-   result = host_hooks.gt_pch_use_address (mmi.preferred_base, mmi.size,
- 					  fileno (f), mmi.offset);
--  if (result < 0)
-+  if (result < 0) {
-+    line_table = old_line_table;
-+    input_location = old_input_loc;
-     fatal_error (input_location, "had to relocate PCH");
-+  }
-   if (result == 0)
-     {
-       if (fseek (f, mmi.offset, SEEK_SET) != 0
--	  || fread (mmi.preferred_base, mmi.size, 1, f) != 1)
-+	  || fread (mmi.preferred_base, mmi.size, 1, f) != 1) {
-+        line_table = old_line_table;
-+        input_location = old_input_loc;
- 	fatal_error (input_location, "can%'t read PCH file: %m");
-+      }
-     }
--  else if (fseek (f, mmi.offset + mmi.size, SEEK_SET) != 0)
--    fatal_error (input_location, "can%'t read PCH file: %m");
-+  else if (fseek (f, mmi.offset + mmi.size, SEEK_SET) != 0) {
-+        line_table = old_line_table;
-+        input_location = old_input_loc;
-+        fatal_error (input_location, "can%'t read PCH file: %m");
-+  }
- 
-   ggc_pch_read (f, mmi.preferred_base);
- 
diff --git a/gcc6snapshot/patches/patch-gcc_lto_lto.c b/gcc6snapshot/patches/patch-gcc_lto_lto.c
deleted file mode 100644
index c546e299b0..0000000000
--- a/gcc6snapshot/patches/patch-gcc_lto_lto.c
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-gcc_lto_lto.c,v 1.2 2015/02/05 15:55:39 keckhardt Exp $
-
---- gcc/lto/lto.c.orig	2015-01-30 16:15:00.000000000 +0000
-+++ gcc/lto/lto.c
-@@ -2495,7 +2495,13 @@ wait_for_child ()
- #ifndef WCONTINUED
- #define WCONTINUED 0
- #endif
--      int w = waitpid (0, &status, WUNTRACED | WCONTINUED);
-+
-+#if defined(__NetBSD__)
-+      int w = waitpid(0, &status, WUNTRACED | WALLSIG);
-+#else
-+      int w = waitpid(0, &status, WUNTRACED | WCONTINUED);
-+#endif
-+ 
-       if (w == -1)
- 	fatal_error (input_location, "waitpid failed");
- 
diff --git a/gcc6snapshot/patches/patch-gcc_system.h b/gcc6snapshot/patches/patch-gcc_system.h
deleted file mode 100644
index 77574b3034..0000000000
--- a/gcc6snapshot/patches/patch-gcc_system.h
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-gcc_system.h,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- gcc/system.h.orig	2013-04-29 18:37:29.000000000 +0000
-+++ gcc/system.h
-@@ -72,18 +72,22 @@ along with GCC; see the file COPYING3.  
- 
- #if defined HAVE_DECL_PUTC_UNLOCKED && HAVE_DECL_PUTC_UNLOCKED
- 
-+# if !defined(__NetBSD__)
- # ifdef HAVE_PUTC_UNLOCKED
- #  undef putc
- #  define putc(C, Stream) putc_unlocked (C, Stream)
- # endif
-+# endif
- # ifdef HAVE_PUTCHAR_UNLOCKED
- #  undef putchar
- #  define putchar(C) putchar_unlocked (C)
- # endif
-+# if !defined(__NetBSD__)
- # ifdef HAVE_GETC_UNLOCKED
- #  undef getc
- #  define getc(Stream) getc_unlocked (Stream)
- # endif
-+# endif
- # ifdef HAVE_GETCHAR_UNLOCKED
- #  undef getchar
- #  define getchar() getchar_unlocked ()
diff --git a/gcc6snapshot/patches/patch-libcilkrts_configure b/gcc6snapshot/patches/patch-libcilkrts_configure
deleted file mode 100644
index e3136545a3..0000000000
--- a/gcc6snapshot/patches/patch-libcilkrts_configure
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-libcilkrts_configure,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- libcilkrts/configure.orig	2014-08-12 11:06:44.000000000 +0000
-+++ libcilkrts/configure
-@@ -14519,7 +14519,7 @@ esac
- CFLAGS="$save_CFLAGS"
- 
- if test $enable_shared = yes; then
--  link_cilkrts="-lcilkrts %{static: $LIBS}"
-+  link_cilkrts="-rpath ${PREFIX}/gcc6snapshot/lib --as-needed -lgcc_s -lcilkrts %{static $LIBS}"
- else
-   link_cilkrts="-lcilkrts $LIBS"
- fi
diff --git a/gcc6snapshot/patches/patch-libcilkrts_runtime_os-unix.c b/gcc6snapshot/patches/patch-libcilkrts_runtime_os-unix.c
deleted file mode 100644
index 143b5e7e02..0000000000
--- a/gcc6snapshot/patches/patch-libcilkrts_runtime_os-unix.c
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-libcilkrts_runtime_os-unix.c,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- libcilkrts/runtime/os-unix.c.orig	2014-05-21 11:08:58.000000000 +0000
-+++ libcilkrts/runtime/os-unix.c
-@@ -56,7 +56,9 @@
-     // Uses sysconf(_SC_NPROCESSORS_ONLN) in verbose output
- #elif defined  __DragonFly__
- // No additional include files
--#elif defined  __FreeBSD__
-+#elif defined  __FreeBSD__ 
-+// No additional include files
-+#elif defined  __NetBSD__ 
- // No additional include files
- #elif defined __CYGWIN__
- // Cygwin on Windows - no additional include files
-@@ -376,7 +378,7 @@ COMMON_SYSDEP int __cilkrts_hardware_cpu
-     assert((unsigned)count == count);
- 
-     return count;
--#elif defined  __FreeBSD__ || defined __CYGWIN__ || defined __DragonFly__
-+#elif defined  __FreeBSD__ || defined __CYGWIN__ || defined __DragonFly__ || defined __NetBSD__
-     int ncores = sysconf(_SC_NPROCESSORS_ONLN);
- 
-     return ncores;
-@@ -400,7 +402,7 @@ COMMON_SYSDEP void __cilkrts_sleep(void)
- 
- COMMON_SYSDEP void __cilkrts_yield(void)
- {
--#if __APPLE__ || __FreeBSD__ || __VXWORKS__
-+#if __APPLE__ || __FreeBSD__ || __NetBSD__ || __VXWORKS__
-     // On MacOS, call sched_yield to yield quantum.  I'm not sure why we
-     // don't do this on Linux also.
-     sched_yield();
diff --git a/gcc6snapshot/patches/patch-libdecnumber_decNumber.c b/gcc6snapshot/patches/patch-libdecnumber_decNumber.c
deleted file mode 100644
index 377fc3ca23..0000000000
--- a/gcc6snapshot/patches/patch-libdecnumber_decNumber.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-libdecnumber_decNumber.c,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- libdecnumber/decNumber.c.orig	2013-08-14 08:42:04.000000000 +0000
-+++ libdecnumber/decNumber.c
-@@ -770,7 +770,7 @@ decNumber * decNumberAbs(decNumber *res,
- decNumber * decNumberAdd(decNumber *res, const decNumber *lhs,
- 			 const decNumber *rhs, decContext *set) {
-   uInt status=0;			/* accumulator */
--  decAddOp(res, lhs, rhs, set, 0, &status);
-+  decAddOp(res, lhs, rhs, set, (uByte)0, &status);
-   if (status!=0) decStatus(res, status, set);
-   #if DECCHECK
-   decCheckInexact(res, set);
diff --git a/gcc6snapshot/patches/patch-libffi_configure b/gcc6snapshot/patches/patch-libffi_configure
deleted file mode 100644
index a3bb46b12f..0000000000
--- a/gcc6snapshot/patches/patch-libffi_configure
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-libffi_configure,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- libffi/configure.orig	2013-06-01 17:03:49.000000000 +0000
-+++ libffi/configure
-@@ -12689,7 +12689,7 @@ case "$target" in
- $as_echo "#define FFI_EXEC_TRAMPOLINE_TABLE 1" >>confdefs.h
- 
-      ;;
--     *-apple-darwin1* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
-+     *-apple-darwin1* | *-*-freebsd* | *-*-kfreebsd* | *-*-netbsd* | *-*-openbsd* | *-pc-solaris*)
- 
- $as_echo "#define FFI_MMAP_EXEC_WRIT 1" >>confdefs.h
- 
diff --git a/gcc6snapshot/patches/patch-libffi_testsuite_libffi.call_float2.c b/gcc6snapshot/patches/patch-libffi_testsuite_libffi.call_float2.c
deleted file mode 100644
index db84fc70a1..0000000000
--- a/gcc6snapshot/patches/patch-libffi_testsuite_libffi.call_float2.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-libffi_testsuite_libffi.call_float2.c,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- libffi/testsuite/libffi.call/float2.c.orig	2013-06-01 17:08:18.000000000 +0000
-+++ libffi/testsuite/libffi.call/float2.c
-@@ -45,7 +45,7 @@ int main (void)
-   /* This is ifdef'd out for now. long double support under SunOS/gcc
-      is pretty much non-existent.  You'll get the odd bus error in library
-      routines like printf().  */
--  printf ("%Lf, %Lf, %Lf, %Lf\n", ld, ldblit(f), ld - ldblit(f), LDBL_EPSILON);
-+  printf ("%Lf, %Lf, %Lf, %Lf\n", (long double)ld, (long double)ldblit(f), (long double)(ld - ldblit(f)), (long double)LDBL_EPSILON);
- #endif
- 
-   /* These are not always the same!! Check for a reasonable delta */
diff --git a/gcc6snapshot/patches/patch-libgcc_crtstuff.c b/gcc6snapshot/patches/patch-libgcc_crtstuff.c
deleted file mode 100644
index 123b2af309..0000000000
--- a/gcc6snapshot/patches/patch-libgcc_crtstuff.c
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-libgcc_crtstuff.c,v 1.3 2014/11/04 09:09:28 keckhardt Exp $
-
---- libgcc/crtstuff.c.orig	2014-09-22 00:49:01.000000000 +0000
-+++ libgcc/crtstuff.c
-@@ -81,7 +81,8 @@ call_ ## FUNC (void)					\
- #endif
- 
- #if defined(TARGET_DL_ITERATE_PHDR) && \
--   (defined(__DragonFly__) || defined(__FreeBSD__))
-+   (defined(__DragonFly__) || defined(__FreeBSD__) || \
-+   defined(__NetBSD__) || defined(__OpenBSD__))
- #define BSD_DL_ITERATE_PHDR_AVAILABLE
- #endif
-  
diff --git a/gcc6snapshot/patches/patch-libgcc_unwind-dw2-fde-dip.c b/gcc6snapshot/patches/patch-libgcc_unwind-dw2-fde-dip.c
deleted file mode 100644
index a1b767104c..0000000000
--- a/gcc6snapshot/patches/patch-libgcc_unwind-dw2-fde-dip.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-libgcc_unwind-dw2-fde-dip.c,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- libgcc/unwind-dw2-fde-dip.c.orig	2014-05-21 11:08:58.000000000 +0000
-+++ libgcc/unwind-dw2-fde-dip.c
-@@ -65,7 +65,7 @@
- #endif
- 
- #if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \
--    && defined(__OpenBSD__)
-+    && defined(__OpenBSD__) || defined(__NetBSD__)
- # define ElfW(type) Elf_##type
- # define USE_PT_GNU_EH_FRAME
- #endif
diff --git a/gcc6snapshot/patches/patch-libgfortran_configure b/gcc6snapshot/patches/patch-libgfortran_configure
deleted file mode 100644
index 34902c2b17..0000000000
--- a/gcc6snapshot/patches/patch-libgfortran_configure
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- libgfortran/configure.orig	2015-10-04 22:33:03.000000000 +0000
-+++ libgfortran/configure
-@@ -25992,7 +25992,7 @@ $as_echo "#define SUPPORTS_WEAK 1" >>con
- 
-   fi
-   case "$host" in
--    *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
-+    *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* | *-*-netbsd* )
- 
- $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
- 
diff --git a/gcc6snapshot/patches/patch-libgo_Makefile.in b/gcc6snapshot/patches/patch-libgo_Makefile.in
deleted file mode 100644
index 8f19c25313..0000000000
--- a/gcc6snapshot/patches/patch-libgo_Makefile.in
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-libgo_Makefile.in,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
-proc.c will not compile with inline-functions (implied by -O3) 
-so add -fno-inline-functions to it's cflags.
-
-
---- libgo/Makefile.in.orig	2012-08-06 14:34:27.000000000 +0000
-+++ libgo/Makefile.in
-@@ -3051,7 +3051,7 @@ print.lo: runtime/print.c
- @am__fastdepCC_FALSE@	$(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o print.lo `test -f 'runtime/print.c' || echo '$(srcdir)/'`runtime/print.c
- 
- proc.lo: runtime/proc.c
--@am__fastdepCC_TRUE@	$(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT proc.lo -MD -MP -MF $(DEPDIR)/proc.Tpo -c -o proc.lo `test -f 'runtime/proc.c' || echo '$(srcdir)/'`runtime/proc.c
-+@am__fastdepCC_TRUE@	$(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) -fno-inline-functions $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT proc.lo -MD -MP -MF $(DEPDIR)/proc.Tpo -c -o proc.lo `test -f 'runtime/proc.c' || echo '$(srcdir)/'`runtime/proc.c
- @am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/proc.Tpo $(DEPDIR)/proc.Plo
- @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='runtime/proc.c' object='proc.lo' libtool=yes @AMDEPBACKSLASH@
- @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
diff --git a/gcc6snapshot/patches/patch-libjava_boehm.cc b/gcc6snapshot/patches/patch-libjava_boehm.cc
deleted file mode 100644
index 9dc4adef40..0000000000
--- a/gcc6snapshot/patches/patch-libjava_boehm.cc
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-libjava_boehm.cc,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- libjava/boehm.cc.orig	2014-05-20 18:02:20.000000000 +0000
-+++ libjava/boehm.cc
-@@ -748,7 +748,7 @@ _Jv_GCAttachThread ()
-   // only actually works if pthread_getattr_np is defined.
-   // FIXME: until gc7 it is simpler to disable this on solaris.
- #if defined(HAVE_PTHREAD_GETATTR_NP) && !defined(GC_SOLARIS_THREADS) \
--    && !defined(GC_WIN32_THREADS)
-+    && !defined(__NetBSD__) && !defined(GC_WIN32_THREADS)
-   GC_register_my_thread ();
- #endif
- }
-@@ -757,7 +757,7 @@ void
- _Jv_GCDetachThread ()
- {
- #if defined(HAVE_PTHREAD_GETATTR_NP) && !defined(GC_SOLARIS_THREADS) \
--    && !defined(GC_WIN32_THREADS)
-+    && !defined(__NetBSD__) && !defined(GC_WIN32_THREADS)
-   GC_unregister_my_thread ();
- #endif
- }
diff --git a/gcc6snapshot/patches/patch-libjava_configure b/gcc6snapshot/patches/patch-libjava_configure
deleted file mode 100644
index dc84aa6363..0000000000
--- a/gcc6snapshot/patches/patch-libjava_configure
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-libjava_configure,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
-Avoid a reference to the wrapped make in the pkgsrc work directory from
-showing up in an installed file.
-See: libjava/contrib/aotcompile.py.in
-
---- libjava/configure.orig	2012-03-22 07:37:39.000000000 +0000
-+++ libjava/configure
-@@ -24692,7 +24692,7 @@ $as_echo "Python modules dir: ${python_m
- 
- 
- # needed for aot-compile-rpm
--MAKE=`which make`
-+MAKE=${PKGSRC_MAKE}
- 
- 
- # Check whether --enable-aot-compile-rpm was given.
diff --git a/gcc6snapshot/patches/patch-libjava_contrib_rebuild-gcj-db.in b/gcc6snapshot/patches/patch-libjava_contrib_rebuild-gcj-db.in
deleted file mode 100644
index fd2d06dd39..0000000000
--- a/gcc6snapshot/patches/patch-libjava_contrib_rebuild-gcj-db.in
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD: patch-libjava_contrib_rebuild-gcj-db.in,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
-No need to use bash for this small script.
-
-Also -print0 is not portable to solaris and perhaps others.
-
---- libjava/contrib/rebuild-gcj-db.in.orig	2008-07-02 13:17:54.000000000 +0000
-+++ libjava/contrib/rebuild-gcj-db.in
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!/bin/sh
- # rebuild-gcj-db
- 
- ## Copyright (C) 2000, 2002, 2003, 2008 Free Software Foundation
-@@ -16,12 +16,12 @@ for i in `@prefix@/bin/gcc --print-multi
-    base=@prefix@/lib/$dirname
-    dbLocation=`@prefix@/bin/gcj-dbtool -p $base`
-    libdir=$base/gcj
--   if ! test -d $libdir; then
-+   if test ! -d $libdir; then
-       # No shared libraries here.
-       continue
-    fi
-    dirname $dbLocation | xargs mkdir -p
-    @prefix@/bin/gcj-dbtool -n $dbLocation 64
--   find $libdir -follow -name '*.db' -print0 | \
-+   find $libdir -follow -name '*.db' -print | @AWK@ '{printf("%s%c", $1, 0);}'|\
-       @prefix@/bin/gcj-dbtool -0 -m $dbLocation $dbLocation
- done
diff --git a/gcc6snapshot/patches/patch-libsanitizer_configure.tgt b/gcc6snapshot/patches/patch-libsanitizer_configure.tgt
deleted file mode 100644
index 6825fc8fb4..0000000000
--- a/gcc6snapshot/patches/patch-libsanitizer_configure.tgt
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- libsanitizer/configure.tgt.orig	2015-11-23 09:07:18.000000000 +0000
-+++ libsanitizer/configure.tgt
-@@ -41,7 +41,7 @@ case "${target}" in
- 		TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_aarch64.lo
- 	fi
- 	;;
--  x86_64-*-darwin[1]* | i?86-*-darwin[1]*)
-+  x86_64-*-darwin[1][1-9]* | i?86-*-darwin[1][1-9]*)
- 	TSAN_SUPPORTED=no
- 	;;
-   *)
diff --git a/gcc6snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h b/gcc6snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h
deleted file mode 100644
index ee8c1b0581..0000000000
--- a/gcc6snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h
+++ /dev/null
@@ -1,37 +0,0 @@
-$NetBSD: patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- libstdc++-v3/config/os/bsd/netbsd/ctype_base.h.orig	2013-02-03 17:54:05.000000000 +0000
-+++ libstdc++-v3/config/os/bsd/netbsd/ctype_base.h
-@@ -43,9 +43,22 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
- 
-     // NB: Offsets into ctype<char>::_M_table force a particular size
-     // on the mask type. Because of this, we don't use an enum.
--    typedef unsigned char      	mask;
- 
--#ifndef _CTYPE_U
-+#if defined(_CTYPE_BL)
-+    typedef unsigned short      mask;
-+    static const mask upper     = _CTYPE_U;
-+    static const mask lower     = _CTYPE_L;
-+    static const mask alpha     = _CTYPE_A;
-+    static const mask digit     = _CTYPE_D;
-+    static const mask xdigit    = _CTYPE_X;
-+    static const mask space     = _CTYPE_S;
-+    static const mask print     = _CTYPE_R;
-+    static const mask graph     = _CTYPE_G;
-+    static const mask cntrl     = _CTYPE_C;
-+    static const mask punct     = _CTYPE_P;
-+    static const mask alnum     = _CTYPE_A | _CTYPE_D;
-+#elif !defined(_CTYPE_U)
-+    typedef unsigned char      	mask;
-     static const mask upper    	= _U;
-     static const mask lower 	= _L;
-     static const mask alpha 	= _U | _L;
-@@ -58,6 +71,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
-     static const mask punct 	= _P;
-     static const mask alnum 	= _U | _L | _N;
- #else
-+    typedef unsigned char      	mask;
-     static const mask upper    	= _CTYPE_U;
-     static const mask lower 	= _CTYPE_L;
-     static const mask alpha 	= _CTYPE_U | _CTYPE_L;
diff --git a/gcc6snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc b/gcc6snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc
deleted file mode 100644
index 0f95500b31..0000000000
--- a/gcc6snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc
+++ /dev/null
@@ -1,57 +0,0 @@
-$NetBSD: patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- libstdc++-v3/config/os/bsd/netbsd/ctype_configure_char.cc.orig	2013-02-03 17:54:05.000000000 +0000
-+++ libstdc++-v3/config/os/bsd/netbsd/ctype_configure_char.cc
-@@ -38,11 +38,17 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
- 
- // Information as gleaned from /usr/include/ctype.h
- 
-+#ifndef _CTYPE_BL
-   extern "C" const u_int8_t _C_ctype_[];
-+#endif
- 
-   const ctype_base::mask*
-   ctype<char>::classic_table() throw()
--  { return _C_ctype_ + 1; }
-+#ifdef _CTYPE_BL
-+  { return _C_ctype_tab_ + 1; }
-+#else
-+   { return _C_ctype_ + 1; }
-+#endif
- 
-   ctype<char>::ctype(__c_locale, const mask* __table, bool __del, 
- 		     size_t __refs) 
-@@ -69,14 +75,14 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
- 
-   char
-   ctype<char>::do_toupper(char __c) const
--  { return ::toupper((int) __c); }
-+  { return ::toupper((int)(unsigned char) __c); }
- 
-   const char*
-   ctype<char>::do_toupper(char* __low, const char* __high) const
-   {
-     while (__low < __high)
-       {
--	*__low = ::toupper((int) *__low);
-+	*__low = ::toupper((int)(unsigned char) *__low);
- 	++__low;
-       }
-     return __high;
-@@ -84,14 +90,14 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
- 
-   char
-   ctype<char>::do_tolower(char __c) const
--  { return ::tolower((int) __c); }
-+  { return ::tolower((int)(unsigned char) __c); }
- 
-   const char* 
-   ctype<char>::do_tolower(char* __low, const char* __high) const
-   {
-     while (__low < __high)
-       {
--	*__low = ::tolower((int) *__low);
-+	*__low = ::tolower((int)(unsigned char) *__low);
- 	++__low;
-       }
-     return __high;
diff --git a/gcc6snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h b/gcc6snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h
deleted file mode 100644
index c1b963cdb0..0000000000
--- a/gcc6snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- libstdc++-v3/config/os/bsd/netbsd/ctype_inline.h.orig	2013-02-03 17:54:05.000000000 +0000
-+++ libstdc++-v3/config/os/bsd/netbsd/ctype_inline.h
-@@ -48,7 +48,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
-   is(const char* __low, const char* __high, mask* __vec) const
-   {
-     while (__low < __high)
--      *__vec++ = _M_table[*__low++];
-+      *__vec++ = _M_table[(unsigned char)*__low++];
-     return __high;
-   }
- 
diff --git a/gcc6snapshot/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h b/gcc6snapshot/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h
deleted file mode 100644
index 0d735528fa..0000000000
--- a/gcc6snapshot/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-libstdc++-v3_libsupc++_unwind-cxx.h,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- libstdc++-v3/libsupc++/unwind-cxx.h.orig	2013-03-19 17:04:44.000000000 +0000
-+++ libstdc++-v3/libsupc++/unwind-cxx.h
-@@ -38,6 +38,7 @@
- #include <cxxabi.h>
- 
- #ifdef _GLIBCXX_HAVE_SYS_SDT_H
-+#include <cstdlib>
- #include <sys/sdt.h>
- /* We only want to use stap probes starting with v3.  Earlier versions
-    added too much startup cost.  */
diff --git a/gcc6snapshot/patches/x.tree b/gcc6snapshot/patches/x.tree
deleted file mode 100644
index ecba213a5c..0000000000
--- a/gcc6snapshot/patches/x.tree
+++ /dev/null
@@ -1,29 +0,0 @@
-patch-gcc_Makefile.in
-patch-gcc_config.gcc
-patch-gcc_config_netbsd-protos.h
-patch-gcc_config_netbsd-stdint.h
-patch-gcc_config_netbsd.c
-patch-gcc_config_netbsd.h
-patch-gcc_config_t-netbsd
-patch-gcc_config_x-netbsd
-patch-gcc_configure
-patch-gcc_ggc-common.c
-patch-gcc_lto_lto.c
-patch-gcc_system.h
-patch-libcilkrts_configure
-patch-libcilkrts_runtime_os-unix.c
-patch-libdecnumber_decNumber.c
-patch-libffi_configure
-patch-libffi_testsuite_libffi.call_float2.c
-patch-libgcc_crtstuff.c
-patch-libgcc_unwind-dw2-fde-dip.c
-patch-libgfortran_configure
-patch-libgo_Makefile.in
-patch-libjava_boehm.cc
-patch-libjava_configure
-patch-libjava_contrib_rebuild-gcj-db.in
-patch-libsanitizer_configure.tgt
-patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h
-patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc
-patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h
-patch-libstdc++-v3_libsupc++_unwind-cxx.h
diff --git a/gcc6snapshot/test_summary.log b/gcc6snapshot/test_summary.log
deleted file mode 100644
index b4b5337dec..0000000000
--- a/gcc6snapshot/test_summary.log
+++ /dev/null
@@ -1,576 +0,0 @@
-cat <<'EOF' |
-LAST_UPDATED: Obtained from SVN: trunk revision 234171
-
-Native configuration is x86_64--netbsd
-
-		=== g++ tests ===
-
-
-Running target unix
-FAIL: g++.dg/cdce3.C  -std=gnu++98 (test for excess errors)
-UNRESOLVED: g++.dg/cdce3.C  -std=gnu++98 compilation failed to produce executable
-FAIL: g++.dg/cdce3.C  -std=gnu++11 (test for excess errors)
-UNRESOLVED: g++.dg/cdce3.C  -std=gnu++11 compilation failed to produce executable
-FAIL: g++.dg/cdce3.C  -std=gnu++14 (test for excess errors)
-UNRESOLVED: g++.dg/cdce3.C  -std=gnu++14 compilation failed to produce executable
-FAIL: g++.dg/guality/pr55665.C   -O2  line 23 p == 40
-FAIL: g++.dg/guality/pr55665.C   -O3 -g  line 23 p == 40
-FAIL: g++.dg/vect/pr68145.cc  -std=c++98  scan-tree-dump vect "vectorized 1 loops"
-FAIL: g++.dg/vect/pr68145.cc  -std=c++11  scan-tree-dump vect "vectorized 1 loops"
-FAIL: g++.dg/vect/pr68145.cc  -std=c++14  scan-tree-dump vect "vectorized 1 loops"
-FAIL: g++.old-deja/g++.eh/badalloc1.C  -std=c++98 execution test
-FAIL: g++.old-deja/g++.eh/badalloc1.C  -std=c++11 execution test
-FAIL: g++.old-deja/g++.eh/badalloc1.C  -std=c++14 execution test
-
-		=== g++ Summary ===
-
-# of expected passes		95714
-# of unexpected failures	11
-# of expected failures		293
-# of unresolved testcases	3
-# of unsupported tests		3648
-/usr/pkgsrc/wip/gcc6snapshot/work/build/gcc/testsuite/g++/../../xg++  version 6.0.0 20160313 (experimental) (GCC) 
-
-		=== gcc tests ===
-
-
-Running target unix
-FAIL: gcc.dg/binop-xor1.c scan-tree-dump-times optimized "\\\\^" 1
-FAIL: gcc.dg/binop-xor3.c scan-tree-dump-times optimized "\\\\^" 1
-FAIL: gcc.dg/builtins-58.c scan-assembler-not pow\\\\M
-FAIL: gcc.dg/builtins-59.c scan-tree-dump gimple "__builtin_cexpi"
-FAIL: gcc.dg/builtins-59.c scan-tree-dump-not gimple "sincos"
-FAIL: gcc.dg/builtins-61.c scan-tree-dump optimized "cexpi"
-FAIL: gcc.dg/builtins-61.c scan-tree-dump optimized "sin"
-FAIL: gcc.dg/builtins-61.c scan-tree-dump optimized "cos"
-FAIL: gcc.dg/builtins-61.c scan-tree-dump optimized "return 0.0"
-FAIL: gcc.dg/builtins-62.c scan-tree-dump-times optimized "cexpi" 3
-FAIL: gcc.dg/builtins-65.c (test for excess errors)
-FAIL: gcc.dg/ifcvt-1.c scan-rtl-dump ce1 "3 true changes made"
-FAIL: gcc.dg/ifcvt-3.c scan-rtl-dump ce1 "3 true changes made"
-FAIL: gcc.dg/ifcvt-4.c scan-rtl-dump ce1 "2 true changes made"
-FAIL: gcc.dg/ira-loop-pressure.c scan-rtl-dump loop2_invariant "Decided to move invariant"
-FAIL: gcc.dg/pr68435.c scan-rtl-dump ce1 "2 true changes made"
-UNRESOLVED: gcc.dg/superblock.c scan-rtl-dump-times sched2 "ADVANCING TO" 2
-FAIL: gcc.dg/utf-array-short-wchar.c  (test for errors, line 39)
-FAIL: gcc.dg/utf-array-short-wchar.c  (test for errors, line 41)
-FAIL: gcc.dg/utf-array-short-wchar.c (test for excess errors)
-XPASS: gcc.dg/guality/example.c   -O0  execution test
-XPASS: gcc.dg/guality/example.c   -O1  execution test
-XPASS: gcc.dg/guality/example.c   -O2  execution test
-XPASS: gcc.dg/guality/example.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  execution test
-XPASS: gcc.dg/guality/guality.c   -O0  execution test
-XPASS: gcc.dg/guality/guality.c   -O1  execution test
-XPASS: gcc.dg/guality/guality.c   -O2  execution test
-XPASS: gcc.dg/guality/guality.c   -O3 -g  execution test
-XPASS: gcc.dg/guality/guality.c   -Os  execution test
-XPASS: gcc.dg/guality/guality.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  execution test
-XPASS: gcc.dg/guality/guality.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  execution test
-XPASS: gcc.dg/guality/inline-params.c   -O2  execution test
-XPASS: gcc.dg/guality/inline-params.c   -O3 -g  execution test
-XPASS: gcc.dg/guality/inline-params.c   -Os  execution test
-XPASS: gcc.dg/guality/inline-params.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  execution test
-XPASS: gcc.dg/guality/pr41353-1.c   -O0  line 28 j == 28 + 37
-XPASS: gcc.dg/guality/pr41353-1.c   -O1  line 28 j == 28 + 37
-XPASS: gcc.dg/guality/pr41353-1.c   -O2  line 28 j == 28 + 37
-XPASS: gcc.dg/guality/pr41353-1.c   -O3 -g  line 28 j == 28 + 37
-XPASS: gcc.dg/guality/pr41353-1.c   -Os  line 28 j == 28 + 37
-XPASS: gcc.dg/guality/pr41353-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 28 j == 28 + 37
-XPASS: gcc.dg/guality/pr41353-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 28 j == 28 + 37
-FAIL: gcc.dg/guality/pr41616-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  execution test
-FAIL: gcc.dg/guality/pr45882.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 16 d == 112
-FAIL: gcc.dg/guality/pr45882.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 16 e == 142
-FAIL: gcc.dg/guality/pr54200.c   -Os  line 20 z == 3
-FAIL: gcc.dg/guality/pr54519-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 20 y == 25
-FAIL: gcc.dg/guality/pr54519-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 20 z == 6
-FAIL: gcc.dg/guality/pr54519-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 23 y == 117
-FAIL: gcc.dg/guality/pr54519-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 23 z == 8
-FAIL: gcc.dg/guality/pr54519-2.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 17 y == 25
-FAIL: gcc.dg/guality/pr54519-2.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 17 y == 25
-FAIL: gcc.dg/guality/pr54519-3.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 20 y == 25
-FAIL: gcc.dg/guality/pr54519-3.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 20 z == 6
-FAIL: gcc.dg/guality/pr54519-3.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 23 y == 117
-FAIL: gcc.dg/guality/pr54519-3.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 23 z == 8
-FAIL: gcc.dg/guality/pr54519-3.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 20 y == 25
-FAIL: gcc.dg/guality/pr54519-3.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 20 z == 6
-FAIL: gcc.dg/guality/pr54519-3.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 23 y == 117
-FAIL: gcc.dg/guality/pr54519-3.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 23 z == 8
-FAIL: gcc.dg/guality/pr54519-4.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 17 y == 25
-FAIL: gcc.dg/guality/pr54519-4.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 17 y == 25
-FAIL: gcc.dg/guality/pr54519-5.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 17 y == 25
-FAIL: gcc.dg/guality/pr54519-5.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 17 y == 25
-FAIL: gcc.dg/guality/pr54693-2.c   -O2  line 21 z == 30 - 3 * i
-FAIL: gcc.dg/guality/pr54693-2.c   -O3 -g  line 21 z == 30 - 3 * i
-FAIL: gcc.dg/guality/pr54693-2.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 21 z == 30 - 3 * i
-FAIL: gcc.dg/guality/pr54693-2.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 21 z == 30 - 3 * i
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 14 arg1 == 1
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 14 arg2 == 2
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 14 arg3 == 3
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 14 arg4 == 4
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 14 arg5 == 5
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 14 arg6 == 6
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 16 arg1 == 1
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 16 arg2 == 2
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 16 arg3 == 3
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 16 arg4 == 4
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 16 arg5 == 5
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 16 arg6 == 6
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 14 arg1 == 1
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 14 arg2 == 2
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 14 arg3 == 3
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 14 arg4 == 4
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 14 arg5 == 5
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 14 arg6 == 6
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 16 arg1 == 1
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 16 arg2 == 2
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 16 arg3 == 3
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 16 arg4 == 4
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 16 arg5 == 5
-FAIL: gcc.dg/guality/pr68860-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 16 arg6 == 6
-FAIL: gcc.dg/guality/vla-1.c   -O1  line 17 sizeof (a) == 6
-FAIL: gcc.dg/guality/vla-1.c   -O2  line 17 sizeof (a) == 6
-FAIL: gcc.dg/guality/vla-1.c   -O3 -g  line 17 sizeof (a) == 6
-FAIL: gcc.dg/guality/vla-1.c   -Os  line 17 sizeof (a) == 6
-FAIL: gcc.dg/guality/vla-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  line 17 sizeof (a) == 6
-FAIL: gcc.dg/guality/vla-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  line 17 sizeof (a) == 6
-FAIL: gcc.dg/ipa/iinline-attr.c scan-ipa-dump inline "hooray[^\\\\n]*inline copy in test"
-FAIL: gcc.dg/lto/pr60449 c_lto_pr60449_0.o-c_lto_pr60449_1.o link, -O0 -flto -flto-partition=none -fuse-linker-plugin
-UNRESOLVED: gcc.dg/lto/pr60449 c_lto_pr60449_0.o-c_lto_pr60449_1.o execute -O0 -flto -flto-partition=none -fuse-linker-plugin
-FAIL: gcc.dg/lto/pr60449 c_lto_pr60449_0.o-c_lto_pr60449_1.o link, -O2 -flto -flto-partition=none -fuse-linker-plugin -fno-fat-lto-objects 
-UNRESOLVED: gcc.dg/lto/pr60449 c_lto_pr60449_0.o-c_lto_pr60449_1.o execute -O2 -flto -flto-partition=none -fuse-linker-plugin -fno-fat-lto-objects 
-FAIL: gcc.dg/lto/pr60449 c_lto_pr60449_0.o-c_lto_pr60449_1.o link, -O0 -flto -flto-partition=1to1 -fno-use-linker-plugin 
-UNRESOLVED: gcc.dg/lto/pr60449 c_lto_pr60449_0.o-c_lto_pr60449_1.o execute -O0 -flto -flto-partition=1to1 -fno-use-linker-plugin 
-FAIL: gcc.dg/lto/pr60449 c_lto_pr60449_0.o-c_lto_pr60449_1.o link, -O2 -flto -flto-partition=1to1 -fno-use-linker-plugin 
-UNRESOLVED: gcc.dg/lto/pr60449 c_lto_pr60449_0.o-c_lto_pr60449_1.o execute -O2 -flto -flto-partition=1to1 -fno-use-linker-plugin 
-FAIL: gcc.dg/lto/pr60449 c_lto_pr60449_0.o-c_lto_pr60449_1.o link, -O0 -flto -fuse-linker-plugin -fno-fat-lto-objects 
-UNRESOLVED: gcc.dg/lto/pr60449 c_lto_pr60449_0.o-c_lto_pr60449_1.o execute -O0 -flto -fuse-linker-plugin -fno-fat-lto-objects 
-FAIL: gcc.dg/lto/pr60449 c_lto_pr60449_0.o-c_lto_pr60449_1.o link, -O2 -flto -fuse-linker-plugin
-UNRESOLVED: gcc.dg/lto/pr60449 c_lto_pr60449_0.o-c_lto_pr60449_1.o execute -O2 -flto -fuse-linker-plugin
-FAIL: gcc.dg/torture/builtin-convert-1.c   -O1  (test for excess errors)
-FAIL: gcc.dg/torture/builtin-convert-1.c   -O2  (test for excess errors)
-FAIL: gcc.dg/torture/builtin-convert-1.c   -O3 -g  (test for excess errors)
-FAIL: gcc.dg/torture/builtin-convert-1.c   -Os  (test for excess errors)
-FAIL: gcc.dg/torture/builtin-convert-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
-FAIL: gcc.dg/torture/builtin-convert-2.c   -O1  (test for excess errors)
-FAIL: gcc.dg/torture/builtin-convert-2.c   -O2  (test for excess errors)
-FAIL: gcc.dg/torture/builtin-convert-2.c   -O3 -g  (test for excess errors)
-FAIL: gcc.dg/torture/builtin-convert-2.c   -Os  (test for excess errors)
-FAIL: gcc.dg/torture/builtin-convert-2.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
-FAIL: gcc.dg/torture/builtin-math-7.c   -O0  execution test
-FAIL: gcc.dg/torture/builtin-math-7.c   -O1  execution test
-FAIL: gcc.dg/torture/builtin-math-7.c   -O2  execution test
-FAIL: gcc.dg/torture/builtin-math-7.c   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
-FAIL: gcc.dg/torture/builtin-math-7.c   -O3 -g  execution test
-FAIL: gcc.dg/torture/builtin-math-7.c   -Os  execution test
-FAIL: gcc.dg/torture/builtin-math-7.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  execution test
-FAIL: gcc.dg/torture/builtin-math-7.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  execution test
-FAIL: gcc.dg/torture/float128-cmp-invalid.c   -O0  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-cmp-invalid.c   -O0  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-cmp-invalid.c   -O1  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-cmp-invalid.c   -O1  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-cmp-invalid.c   -O2  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-cmp-invalid.c   -O2  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-cmp-invalid.c   -O3 -g  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-cmp-invalid.c   -O3 -g  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-cmp-invalid.c   -Os  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-cmp-invalid.c   -Os  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-cmp-invalid.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-cmp-invalid.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-cmp-invalid.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-cmp-invalid.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-div-underflow.c   -O0  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-div-underflow.c   -O0  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-div-underflow.c   -O1  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-div-underflow.c   -O1  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-div-underflow.c   -O2  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-div-underflow.c   -O2  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-div-underflow.c   -O3 -g  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-div-underflow.c   -O3 -g  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-div-underflow.c   -Os  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-div-underflow.c   -Os  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-div-underflow.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-div-underflow.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-div-underflow.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-div-underflow.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-extend-nan.c   -O0  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-extend-nan.c   -O0  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-extend-nan.c   -O1  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-extend-nan.c   -O1  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-extend-nan.c   -O2  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-extend-nan.c   -O2  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-extend-nan.c   -O3 -g  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-extend-nan.c   -O3 -g  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-extend-nan.c   -Os  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-extend-nan.c   -Os  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-extend-nan.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-extend-nan.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-extend-nan.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-extend-nan.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-mul-underflow.c   -O0  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-mul-underflow.c   -O0  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-mul-underflow.c   -O1  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-mul-underflow.c   -O1  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-mul-underflow.c   -O2  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-mul-underflow.c   -O2  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-mul-underflow.c   -O3 -g  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-mul-underflow.c   -O3 -g  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-mul-underflow.c   -Os  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-mul-underflow.c   -Os  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-mul-underflow.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-mul-underflow.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-mul-underflow.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-mul-underflow.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-truncdf-underflow.c   -O0  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-truncdf-underflow.c   -O0  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-truncdf-underflow.c   -O1  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-truncdf-underflow.c   -O1  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-truncdf-underflow.c   -O2  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-truncdf-underflow.c   -O2  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-truncdf-underflow.c   -O3 -g  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-truncdf-underflow.c   -O3 -g  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-truncdf-underflow.c   -Os  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-truncdf-underflow.c   -Os  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-truncdf-underflow.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-truncdf-underflow.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-truncdf-underflow.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-truncdf-underflow.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-truncsf-underflow.c   -O0  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-truncsf-underflow.c   -O0  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-truncsf-underflow.c   -O1  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-truncsf-underflow.c   -O1  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-truncsf-underflow.c   -O2  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-truncsf-underflow.c   -O2  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-truncsf-underflow.c   -O3 -g  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-truncsf-underflow.c   -O3 -g  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-truncsf-underflow.c   -Os  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-truncsf-underflow.c   -Os  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-truncsf-underflow.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-truncsf-underflow.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  compilation failed to produce executable
-FAIL: gcc.dg/torture/float128-truncsf-underflow.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/float128-truncsf-underflow.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode-2.c   -O0  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode-2.c   -O0  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode-2.c   -O1  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode-2.c   -O1  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode-2.c   -O2  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode-2.c   -O2  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode-2.c   -O3 -g  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode-2.c   -O3 -g  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode-2.c   -Os  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode-2.c   -Os  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode-2.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode-2.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode-2.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode-2.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode-3.c   -O0  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode-3.c   -O0  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode-3.c   -O1  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode-3.c   -O1  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode-3.c   -O2  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode-3.c   -O2  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode-3.c   -O3 -g  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode-3.c   -O3 -g  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode-3.c   -Os  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode-3.c   -Os  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode-3.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode-3.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode-3.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode-3.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode.c   -O0  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode.c   -O0  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode.c   -O1  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode.c   -O1  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode.c   -O2  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode.c   -O2  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode.c   -O3 -g  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode.c   -O3 -g  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode.c   -Os  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode.c   -Os  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128-timode.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128-timode.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128.c   -O0  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128.c   -O0  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128.c   -O1  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128.c   -O1  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128.c   -O2  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128.c   -O2  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128.c   -O3 -g  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128.c   -O3 -g  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128.c   -Os  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128.c   -Os  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  compilation failed to produce executable
-FAIL: gcc.dg/torture/fp-int-convert-float128.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
-UNRESOLVED: gcc.dg/torture/fp-int-convert-float128.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  compilation failed to produce executable
-FAIL: gcc.dg/torture/pr68264.c   -O0  execution test
-FAIL: gcc.dg/torture/pr68264.c   -O1  execution test
-FAIL: gcc.dg/torture/pr68264.c   -O2  execution test
-FAIL: gcc.dg/torture/pr68264.c   -O3 -g  execution test
-FAIL: gcc.dg/torture/pr68264.c   -Os  execution test
-FAIL: gcc.dg/torture/pr68264.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  execution test
-FAIL: gcc.dg/torture/pr68264.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  execution test
-FAIL: gcc.dg/tree-ssa/foldaddr-1.c scan-tree-dump-times original "return 0" 1
-FAIL: gcc.dg/tree-ssa/forwprop-28.c scan-tree-dump-times forwprop1 "simplified to if \\\\([^ ]* <" 4
-FAIL: gcc.dg/tree-ssa/pr69196-1.c scan-tree-dump vrp1 "FSM did not thread around loop and would copy too many statements"
-FAIL: gcc.dg/tree-ssa/ssa-dom-thread-4.c scan-tree-dump-times dom2 "Threaded" 3
-FAIL: gcc.dg/tree-ssa/ssa-thread-11.c scan-tree-dump-not vrp2 "IRREDUCIBLE_LOOP"
-FAIL: gcc.dg/tree-ssa/ssa-thread-11.c scan-tree-dump vrp2 "FSM"
-FAIL: gcc.dg/tree-ssa/vrp47.c scan-tree-dump-times vrp1 "[xy][^ ]* !=" 0
-FAIL: gcc.dg/tree-ssa/vrp47.c scan-tree-dump-times vrp1 "x[^ ]* [|] y" 1
-FAIL: gcc.dg/tree-ssa/vrp87.c scan-tree-dump fre1 "Replaced a_elt_[0-9]+ != 0B with 1"
-FAIL: gcc.dg/tree-ssa/vrp87.c scan-tree-dump fre1 "Replaced _[0-9]+ & _[0-9]+ with _[0-9]+"
-FAIL: gcc.misc-tests/godump-1.c scan-file (?n)^var _i8_v1 _int8_t\$
-FAIL: gcc.misc-tests/godump-1.c scan-file (?n)^var _i16_v1 _int16_t\$
-FAIL: gcc.misc-tests/godump-1.c scan-file (?n)^var _i32_v1 _int32_t\$
-FAIL: gcc.misc-tests/godump-1.c scan-file (?n)^var _i64_v1 _int64_t\$
-FAIL: gcc.misc-tests/godump-1.c scan-file (?n)^var _ui8_v1 _uint8_t\$
-FAIL: gcc.misc-tests/godump-1.c scan-file (?n)^var _iu16_v1 _uint16_t\$
-FAIL: gcc.misc-tests/godump-1.c scan-file (?n)^var _iu32_v1 _uint32_t\$
-FAIL: gcc.misc-tests/godump-1.c scan-file (?n)^var _iu64_v1 _uint64_t\$
-FAIL: gcc.target/i386/avx256-unaligned-store-2.c scan-assembler vmovups.*\\\\*movv16qi_internal/3
-FAIL: gcc.target/i386/avx512f-ceil-sfix-vec-2.c scan-assembler-times vrndscalepd[^\\n]*zmm[0-9](?:\\n|[ \\\\t]+#) 2
-FAIL: gcc.target/i386/avx512f-ceil-sfix-vec-2.c scan-assembler-times vcvttpd2dq[^\\n]*zmm[0-9].{7}(?:\\n|[ \\\\t]+#) 2
-FAIL: gcc.target/i386/avx512f-floor-sfix-vec-2.c scan-assembler-times vrndscalepd[^\\n]*zmm[0-9](?:\\n|[ \\\\t]+#) 2
-FAIL: gcc.target/i386/avx512f-floor-sfix-vec-2.c scan-assembler-times vcvttpd2dq[^\\n]*zmm[0-9].{7}(?:\\n|[ \\\\t]+#) 2
-FAIL: gcc.target/i386/float128-1.c (test for excess errors)
-UNRESOLVED: gcc.target/i386/float128-1.c compilation failed to produce executable
-FAIL: gcc.target/i386/float128-2.c (test for excess errors)
-UNRESOLVED: gcc.target/i386/float128-2.c compilation failed to produce executable
-FAIL: gcc.target/i386/iinline-attr-2.c scan-assembler p2align
-FAIL: gcc.target/i386/long-double-128-8.c (test for excess errors)
-UNRESOLVED: gcc.target/i386/long-double-128-8.c compilation failed to produce executable
-FAIL: gcc.target/i386/long-double-128-9.c (test for excess errors)
-UNRESOLVED: gcc.target/i386/long-double-128-9.c compilation failed to produce executable
-FAIL: gcc.target/i386/pr63618.c (test for excess errors)
-UNRESOLVED: gcc.target/i386/pr63618.c compilation failed to produce executable
-
-		=== gcc Summary ===
-
-# of expected passes		107704
-# of unexpected failures	206
-# of unexpected successes	22
-# of expected failures		320
-# of unresolved testcases	82
-# of unsupported tests		2666
-/usr/pkgsrc/wip/gcc6snapshot/work/build/gcc/xgcc  version 6.0.0 20160313 (experimental) (GCC) 
-
-		=== gfortran tests ===
-
-
-Running target unix
-FAIL: gfortran.dg/default_format_2.f90   -O0  execution test
-FAIL: gfortran.dg/default_format_2.f90   -O1  execution test
-FAIL: gfortran.dg/default_format_2.f90   -O2  execution test
-FAIL: gfortran.dg/default_format_2.f90   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
-FAIL: gfortran.dg/default_format_2.f90   -O3 -g  execution test
-FAIL: gfortran.dg/default_format_2.f90   -Os  execution test
-FAIL: gfortran.dg/default_format_denormal_2.f90   -O0  execution test
-FAIL: gfortran.dg/default_format_denormal_2.f90   -O1  execution test
-FAIL: gfortran.dg/default_format_denormal_2.f90   -O2  execution test
-FAIL: gfortran.dg/default_format_denormal_2.f90   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
-FAIL: gfortran.dg/default_format_denormal_2.f90   -O3 -g  execution test
-FAIL: gfortran.dg/default_format_denormal_2.f90   -Os  execution test
-FAIL: gfortran.dg/erf_3.F90   -O0  execution test
-FAIL: gfortran.dg/erf_3.F90   -O1  execution test
-FAIL: gfortran.dg/erf_3.F90   -O2  execution test
-FAIL: gfortran.dg/erf_3.F90   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
-FAIL: gfortran.dg/erf_3.F90   -O3 -g  execution test
-FAIL: gfortran.dg/erf_3.F90   -Os  execution test
-FAIL: gfortran.dg/nint_2.f90   -O0  execution test
-FAIL: gfortran.dg/read_dir.f90   -O0  execution test
-FAIL: gfortran.dg/read_dir.f90   -O1  execution test
-FAIL: gfortran.dg/read_dir.f90   -O2  execution test
-FAIL: gfortran.dg/read_dir.f90   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
-FAIL: gfortran.dg/read_dir.f90   -O3 -g  execution test
-FAIL: gfortran.dg/read_dir.f90   -Os  execution test
-
-		=== gfortran Summary ===
-
-# of expected passes		41946
-# of unexpected failures	25
-# of expected failures		71
-# of unsupported tests		91
-/usr/pkgsrc/wip/gcc6snapshot/work/build/gcc/testsuite/gfortran/../../gfortran  version 6.0.0 20160313 (experimental) (GCC) 
-
-		=== obj-c++ tests ===
-
-
-Running target unix
-
-		=== obj-c++ Summary ===
-
-# of expected passes		1446
-# of expected failures		10
-# of unsupported tests		77
-/usr/pkgsrc/wip/gcc6snapshot/work/build/gcc/testsuite/obj-c++/../../xg++  version 6.0.0 20160313 (experimental) (GCC) 
-
-		=== objc tests ===
-
-
-Running target unix
-FAIL: objc.dg/proto-lossage-4.m -fgnu-runtime  (test for warnings, line 27)
-FAIL: objc.dg/proto-lossage-4.m -fgnu-runtime  (test for warnings, line 28)
-FAIL: objc.dg/proto-lossage-4.m -fgnu-runtime (test for excess errors)
-
-		=== objc Summary ===
-
-# of expected passes		2780
-# of unexpected failures	3
-# of expected failures		6
-# of unsupported tests		68
-/usr/pkgsrc/wip/gcc6snapshot/work/build/gcc/xgcc  version 6.0.0 20160313 (experimental) (GCC) 
-
-		=== libatomic tests ===
-
-
-Running target unix
-
-		=== libatomic Summary ===
-
-# of expected passes		54
-		=== libgomp tests ===
-
-
-Running target unix
-FAIL: libgomp.fortran/pr25162.f   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
-FAIL: libgomp.fortran/pr25162.f   -O3 -g  execution test
-FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/loop-dim-default.c -DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 (test for excess errors)
-UNRESOLVED: libgomp.oacc-c/../libgomp.oacc-c-c++-common/loop-dim-default.c -DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 compilation failed to produce executable
-FAIL: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/loop-dim-default.c -DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 (test for excess errors)
-UNRESOLVED: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/loop-dim-default.c -DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 compilation failed to produce executable
-
-		=== libgomp Summary ===
-
-# of expected passes		4887
-# of unexpected failures	4
-# of unresolved testcases	2
-# of unsupported tests		262
-		=== libitm tests ===
-
-
-Running target unix
-FAIL: libitm.c/clone-1.c execution test
-
-		=== libitm Summary ===
-
-# of expected passes		41
-# of unexpected failures	1
-# of expected failures		3
-# of unsupported tests		1
-		=== libstdc++ tests ===
-
-
-Running target unix
-WARNING: program timed out.
-FAIL: 20_util/hash/chi2_q_uniform_random.cc execution test
-FAIL: 22_locale/ctype_base/11844.cc execution test
-FAIL: 26_numerics/complex/13450.cc execution test
-FAIL: 28_regex/traits/char/isctype.cc execution test
-FAIL: 28_regex/traits/wchar_t/isctype.cc execution test
-FAIL: 30_threads/async/42819.cc execution test
-FAIL: 30_threads/async/49668.cc execution test
-FAIL: 30_threads/async/54297.cc execution test
-FAIL: 30_threads/async/any.cc execution test
-FAIL: 30_threads/async/async.cc execution test
-FAIL: 30_threads/async/sync.cc execution test
-FAIL: 30_threads/call_once/39909.cc execution test
-FAIL: 30_threads/call_once/49668.cc execution test
-FAIL: 30_threads/call_once/call_once1.cc execution test
-FAIL: 30_threads/future/members/45133.cc execution test
-FAIL: 30_threads/future/members/get.cc execution test
-FAIL: 30_threads/future/members/get2.cc execution test
-FAIL: 30_threads/future/members/share.cc execution test
-FAIL: 30_threads/future/members/valid.cc execution test
-FAIL: 30_threads/future/members/wait.cc execution test
-FAIL: 30_threads/future/members/wait_for.cc execution test
-FAIL: 30_threads/future/members/wait_until.cc execution test
-FAIL: 30_threads/packaged_task/49668.cc execution test
-FAIL: 30_threads/packaged_task/cons/3.cc execution test
-FAIL: 30_threads/packaged_task/cons/alloc.cc execution test
-FAIL: 30_threads/packaged_task/members/at_thread_exit.cc execution test
-FAIL: 30_threads/packaged_task/members/get_future.cc execution test
-FAIL: 30_threads/packaged_task/members/invoke.cc execution test
-FAIL: 30_threads/packaged_task/members/invoke2.cc execution test
-FAIL: 30_threads/packaged_task/members/invoke3.cc execution test
-FAIL: 30_threads/packaged_task/members/invoke4.cc execution test
-FAIL: 30_threads/packaged_task/members/invoke5.cc execution test
-FAIL: 30_threads/packaged_task/members/reset2.cc execution test
-FAIL: 30_threads/promise/60966.cc execution test
-FAIL: 30_threads/promise/cons/alloc.cc execution test
-FAIL: 30_threads/promise/cons/move.cc execution test
-FAIL: 30_threads/promise/cons/move_assign.cc execution test
-FAIL: 30_threads/promise/members/at_thread_exit.cc execution test
-FAIL: 30_threads/promise/members/get_future.cc execution test
-FAIL: 30_threads/promise/members/set_exception.cc execution test
-FAIL: 30_threads/promise/members/set_exception2.cc execution test
-FAIL: 30_threads/promise/members/set_value.cc execution test
-FAIL: 30_threads/promise/members/set_value2.cc execution test
-FAIL: 30_threads/promise/members/set_value3.cc execution test
-FAIL: 30_threads/promise/members/swap.cc execution test
-FAIL: 30_threads/shared_future/members/get.cc execution test
-FAIL: 30_threads/shared_future/members/get2.cc execution test
-FAIL: 30_threads/shared_future/members/valid.cc execution test
-FAIL: 30_threads/shared_future/members/wait.cc execution test
-FAIL: 30_threads/shared_future/members/wait_for.cc execution test
-FAIL: 30_threads/shared_future/members/wait_until.cc execution test
-FAIL: experimental/filesystem/iterators/directory_iterator.cc execution test
-FAIL: experimental/filesystem/iterators/recursive_directory_iterator.cc execution test
-FAIL: special_functions/07_cyl_bessel_i/check_nan.cc (test for excess errors)
-UNRESOLVED: special_functions/07_cyl_bessel_i/check_nan.cc compilation failed to produce executable
-FAIL: special_functions/08_cyl_bessel_j/check_nan.cc (test for excess errors)
-UNRESOLVED: special_functions/08_cyl_bessel_j/check_nan.cc compilation failed to produce executable
-FAIL: special_functions/09_cyl_bessel_k/check_nan.cc (test for excess errors)
-UNRESOLVED: special_functions/09_cyl_bessel_k/check_nan.cc compilation failed to produce executable
-FAIL: special_functions/10_cyl_neumann/check_nan.cc (test for excess errors)
-UNRESOLVED: special_functions/10_cyl_neumann/check_nan.cc compilation failed to produce executable
-FAIL: special_functions/18_riemann_zeta/check_nan.cc (test for excess errors)
-UNRESOLVED: special_functions/18_riemann_zeta/check_nan.cc compilation failed to produce executable
-FAIL: special_functions/20_sph_legendre/check_nan.cc (test for excess errors)
-UNRESOLVED: special_functions/20_sph_legendre/check_nan.cc compilation failed to produce executable
-FAIL: tr1/5_numerical_facilities/special_functions/08_cyl_bessel_i/check_nan.cc (test for excess errors)
-UNRESOLVED: tr1/5_numerical_facilities/special_functions/08_cyl_bessel_i/check_nan.cc compilation failed to produce executable
-FAIL: tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_nan.cc (test for excess errors)
-UNRESOLVED: tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_nan.cc compilation failed to produce executable
-FAIL: tr1/5_numerical_facilities/special_functions/10_cyl_bessel_k/check_nan.cc (test for excess errors)
-UNRESOLVED: tr1/5_numerical_facilities/special_functions/10_cyl_bessel_k/check_nan.cc compilation failed to produce executable
-FAIL: tr1/5_numerical_facilities/special_functions/11_cyl_neumann/check_nan.cc (test for excess errors)
-UNRESOLVED: tr1/5_numerical_facilities/special_functions/11_cyl_neumann/check_nan.cc compilation failed to produce executable
-FAIL: tr1/5_numerical_facilities/special_functions/20_riemann_zeta/check_nan.cc (test for excess errors)
-UNRESOLVED: tr1/5_numerical_facilities/special_functions/20_riemann_zeta/check_nan.cc compilation failed to produce executable
-FAIL: tr1/5_numerical_facilities/special_functions/22_sph_legendre/check_nan.cc (test for excess errors)
-UNRESOLVED: tr1/5_numerical_facilities/special_functions/22_sph_legendre/check_nan.cc compilation failed to produce executable
-
-		=== libstdc++ Summary ===
-
-# of expected passes		9982
-# of unexpected failures	65
-# of expected failures		67
-# of unresolved testcases	12
-# of unsupported tests		614
-
-Compiler version: 6.0.0 20160313 (experimental) (GCC) 
-Platform: x86_64--netbsd
-configure flags: --enable-nls --with-libiconv-prefix=/usr --enable-__cxa_atexit --with-gxx-include-dir=/usr/pkg/gcc6snapshot/include/c++/ --enable-languages='c obj-c++ objc fortran c++' --enable-shared --enable-long-long --with-local-prefix=/usr/pkg/gcc6snapshot --enable-libssp --enable-threads=posix --with-boot-ldflags='-static-libstdc++ -static-libgcc -Wl,-R/usr/pkg/lib ' --with-gnu-ld --with-ld=/usr/bin/ld --with-gnu-as --with-as=/usr/bin/as --with-arch=nocona --with-tune=nocona --with-fpmath=sse --prefix=/usr/pkg/gcc6snapshot --build=x86_64--netbsd --host=x86_64--netbsd --infodir=/usr/pkg/gcc6snapshot/info --mandir=/usr/pkg/gcc6snapshot/man
-EOF
-Mail -s "Results for 6.0.0 20160313 (experimental) (GCC) testsuite on x86_64--netbsd" gcc-testresults%gcc.gnu.org@localhost &&
-mv /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/g++/g++.sum /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/g++/g++.sum.sent &&
-mv /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/gcc/gcc.sum /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/gcc/gcc.sum.sent &&
-mv /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/gfortran/gfortran.sum /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/gfortran/gfortran.sum.sent &&
-mv /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/obj-c++/obj-c++.sum /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/obj-c++/obj-c++.sum.sent &&
-mv /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/objc/objc.sum /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/objc/objc.sum.sent &&
-mv /usr/pkgsrc/wip/gcc6snapshot/work/build/./x86_64--netbsd/libatomic/testsuite/libatomic.sum /usr/pkgsrc/wip/gcc6snapshot/work/build/./x86_64--netbsd/libatomic/testsuite/libatomic.sum.sent &&
-mv /usr/pkgsrc/wip/gcc6snapshot/work/build/./x86_64--netbsd/libgomp/testsuite/libgomp.sum /usr/pkgsrc/wip/gcc6snapshot/work/build/./x86_64--netbsd/libgomp/testsuite/libgomp.sum.sent &&
-mv /usr/pkgsrc/wip/gcc6snapshot/work/build/./x86_64--netbsd/libitm/testsuite/libitm.sum /usr/pkgsrc/wip/gcc6snapshot/work/build/./x86_64--netbsd/libitm/testsuite/libitm.sum.sent &&
-mv /usr/pkgsrc/wip/gcc6snapshot/work/build/./x86_64--netbsd/libstdc++-v3/testsuite/libstdc++.sum /usr/pkgsrc/wip/gcc6snapshot/work/build/./x86_64--netbsd/libstdc++-v3/testsuite/libstdc++.sum.sent &&
-mv /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/g++/g++.log /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/g++/g++.log.sent &&
-mv /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/gcc/gcc.log /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/gcc/gcc.log.sent &&
-mv /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/gfortran/gfortran.log /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/gfortran/gfortran.log.sent &&
-mv /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/obj-c++/obj-c++.log /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/obj-c++/obj-c++.log.sent &&
-mv /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/objc/objc.log /usr/pkgsrc/wip/gcc6snapshot/work/build/./gcc/testsuite/objc/objc.log.sent &&
-mv /usr/pkgsrc/wip/gcc6snapshot/work/build/./x86_64--netbsd/libatomic/testsuite/libatomic.log /usr/pkgsrc/wip/gcc6snapshot/work/build/./x86_64--netbsd/libatomic/testsuite/libatomic.log.sent &&
-mv /usr/pkgsrc/wip/gcc6snapshot/work/build/./x86_64--netbsd/libgomp/testsuite/libgomp.log /usr/pkgsrc/wip/gcc6snapshot/work/build/./x86_64--netbsd/libgomp/testsuite/libgomp.log.sent &&
-mv /usr/pkgsrc/wip/gcc6snapshot/work/build/./x86_64--netbsd/libitm/testsuite/libitm.log /usr/pkgsrc/wip/gcc6snapshot/work/build/./x86_64--netbsd/libitm/testsuite/libitm.log.sent &&
-mv /usr/pkgsrc/wip/gcc6snapshot/work/build/./x86_64--netbsd/libstdc++-v3/testsuite/libstdc++.log /usr/pkgsrc/wip/gcc6snapshot/work/build/./x86_64--netbsd/libstdc++-v3/testsuite/libstdc++.log.sent &&
-true
diff --git a/gcc6snapshot/version.mk b/gcc6snapshot/version.mk
deleted file mode 100644
index 549a8fe8a6..0000000000
--- a/gcc6snapshot/version.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-# $NetBSD: version.mk,v 1.21 2015/05/06 05:25:00 keckhardt Exp $
-GCC6S_DIST_VERSION:=	6-20160908
diff --git a/gcc7snapshot/DESCR b/gcc7snapshot/DESCR
deleted file mode 100644
index ce00d3efcf..0000000000
--- a/gcc7snapshot/DESCR
+++ /dev/null
@@ -1,3 +0,0 @@
-The GNU Compiler Collection (GCC) includes front ends for C, C++, Objective-C,
-Fortran, Java, and Go, as well as libraries for these languages (libstdc++,
-libgcj,...). This package provides the development version of version 7.x.
diff --git a/gcc7snapshot/Makefile b/gcc7snapshot/Makefile
deleted file mode 100644
index 4752dc5f85..0000000000
--- a/gcc7snapshot/Makefile
+++ /dev/null
@@ -1,179 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2014/12/10 06:10:46 keckhardt Exp $
-
-GCC_PKGNAME=		gcc7snapshot
-.include		"version.mk"
-
-DISTNAME=	gcc-${GCC7S_DIST_VERSION}
-PKGNAME=	${GCC_PKGNAME}-${GCC7S_DIST_VERSION}
-## When bumping the PKGREVISION of this package the PKGREVISION of
-## lang/gcc7-libs needs to be bump to be at least 1 more than the
-## PKGREVISION of this package!
-CATEGORIES=	lang
-#MASTER_SITES=	${MASTER_SITE_GNU:=gcc/snapshots/${GCC7S_DIST_VERSION}/}
-MASTER_SITES+=	ftp://ftp.fu-berlin.de/unix/languages/gcc/snapshots/${GCC7S_DIST_VERSION}/
-EXTRACT_SUFX=	.tar.bz2
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	http://gcc.gnu.org/
-COMMENT=	The GNU Compiler Collection (GCC) - 7.0 Release Series
-LICENSE=	gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
-
-DISTFILES=		${DEFAULT_DISTFILES}
-EXTRACT_ONLY=		${DEFAULT_DISTFILES}
-
-NOT_FOR_PLATFORM=	Interix-*-*
-
-USE_LANGUAGES=		c c++
-USE_TOOLS+=		gmake makeinfo sed:run tar:build
-USE_TOOLS.NetBSD+=	gsed
-
-GNU_CONFIGURE=		yes
-## Build outside ${WRKSRC}
-OBJDIR=			../build
-CONFIGURE_DIRS=		${OBJDIR}
-CONFIGURE_SCRIPT=	../${DISTNAME}/configure
-GCC_SUBPREFIX=		${GCC_PKGNAME}
-GCC_PREFIX=		${PREFIX}/${GCC_SUBPREFIX}
-GNU_CONFIGURE_PREFIX=	${GCC_PREFIX}
-INFO_FILES=		yes
-
-UNLIMIT_RESOURCES+=	datasize
-UNLIMIT_RESOURCES+=	stacksize
-
-SUBST_CLASSES+=		vars
-SUBST_MESSAGE.vars=	Setting target machine name path in ${SUBST_FILES.vars}
-SUBST_STAGE.vars=	pre-configure
-SUBST_FILES.vars=	gcc/Makefile.in
-SUBST_VARS.vars=	GCC_TARGET_MACHINE
-
-
-.include "../../mk/bsd.prefs.mk"
-
-LANGS=			c
-
-# In some cases LINKER_RPATH_FLAG needs a trailing space.
-LINKER_RPATH_FLAG:=	${LINKER_RPATH_FLAG:S/-rpath/& /}
-
-## The Library rpath to use in end programs.
-LDFLAGS_FOR_TARGET=	${LDFLAGS:M${COMPILER_RPATH_FLAG}*:N*/usr/lib*}
-
-# The "-static-libstdc++ -static-libgcc" flags are normally added to the
-# boot-ldflags by configure but because we are supply the boot-ldflags
-# we mash supply them.
-BOOT_LDFLAGS=		-static-libstdc++ -static-libgcc ${LDFLAGS_FOR_TARGET}
-# Needed on Darwin when LDFLAGS point to a SDK
-BOOT_LDFLAGS+=		${LDFLAGS:M-Wl,-syslibroot*}
-# GCC does not understand this option; remove it, or stage build will fail
-BUILDLINK_TRANSFORM+=	rm:-stdlib=libc++
-
-.include "options.mk"
-
-## For graphite support.
-.if !empty(PKG_OPTIONS:Mgcc-graphite)
-
-post-extract:
-	${TAR} -jxf ${DISTDIR}/${ISL16}.tar.bz2 -C ${WRKSRC}
-	${MV} ${WRKSRC}/${ISL16} ${WRKSRC}/isl
-.endif
-
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-*)
-# on NetBSD, use the native SSP code in libc
-CONFIGURE_ARGS+=	--disable-libssp
-.else
-CONFIGURE_ARGS+=	--enable-libssp
-.endif
-
-## For target librarys and libjava programs.
-CONFIGURE_ENV+=		LDFLAGS_FOR_TARGET=${LDFLAGS_FOR_TARGET:Q}
-
-CONFIGURE_ARGS+=	--enable-languages=${LANGS:Q}
-CONFIGURE_ARGS+=	--enable-shared
-CONFIGURE_ARGS+=	--enable-long-long
-CONFIGURE_ARGS+=	--with-local-prefix=${GCC_PREFIX:Q}
-CONFIGURE_ARGS+=	--enable-threads=posix
-CONFIGURE_ARGS+=	--with-boot-ldflags=${BOOT_LDFLAGS:Q}
-.if ${OPSYS} == "NetBSD"
-CONFIGURE_ARGS+=	--with-gnu-ld --with-ld=/usr/bin/ld
-CONFIGURE_ARGS+=	--with-gnu-as --with-as=/usr/bin/as
-MAKE_ENV+=		ac_cv_func_clock_gettime=yes
-MAKE_ENV+=		ac_cv_func_gethostbyname_r=no
-MAKE_ENV+=		ac_cv_func_freelocale=no
-MAKE_ENV+=		ac_cv_func_newlocale=no
-MAKE_ENV+=		ac_cv_func_uselocale=no
-.endif
-.if ${OPSYS} == "DragonFly"
-CONFIGURE_ARGS+=	--disable-bootstrap
-.endif
-
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || !empty(MACHINE_PLATFORM:MLinux-*-i386)
-CONFIGURE_ARGS+=	--with-arch=i486 --with-tune=i486
-.endif
-
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) || !empty(MACHINE_PLATFORM:MLinux-*-x86_64)
-CONFIGURE_ARGS+=	--with-arch=nocona --with-tune=nocona --with-fpmath=sse
-.endif
-
-.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
-CONFIGURE_ARGS+=	--with-dwarf2
-.endif
-
-
-# ${WRKSRC}/fixincludes/ looks for sed and compiles the path to sed into
-# a binary so we need to make sure we give it the installed sed and not
-# the tool wrapped one.
-MAKE_ENV+=		ac_cv_path_SED=${TOOLS_SED}
-MAKE_ENV+=		lt_cv_path_SED=${TOOLS_SED}
-
-# Determine whether to use binutils
-.if ${OPSYS} == "SunOS"
-.  if exists(/usr/sfw/bin/gobjdump)
-CONFIGURE_ENV+=		OBJDUMP=/usr/sfw/bin/gobjdump
-.  endif
-.  if exists(/usr/bin/ld)
-CONFIGURE_ARGS+=	--without-gnu-ld --with-ld=/usr/bin/ld
-.  else
-CONFIGURE_ARGS+=	--without-gnu-ld --with-ld=/usr/ccs/bin/ld
-.  endif
-.  if exists(/usr/sfw/bin/gas)
-CONFIGURE_ARGS+=	--with-gnu-as --with-as=/usr/sfw/bin/gas
-.  elif exists(/usr/ccs/bin/as)
-CONFIGURE_ARGS+=	--without-gnu-as --with-as=/usr/ccs/bin/as
-.  else
-BUILDLINK_DEPMETHOD.binutils=	full
-.    include "../../devel/binutils/buildlink3.mk"
-CONFIGURE_ARGS+=	--with-gnu-as --with-as=${PREFIX}/bin/gas
-.  endif
-.endif
-
-pre-configure:
-	${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
-
-TEST_TARGET=	-k check || ${TRUE}
-pre-test:
-	${RUN} 							\
-	if runtest --version >/dev/null 2>/dev/null ; then	\
-		: ;						\
-	else							\
-	  ${ECHO} "ERROR: Please install devel/dejagnu in order to run the test suite." ; \
-	  exit 1 ;						\
-	fi
-post-test:
-	${RUN} cd ${WRKSRC} && cd ${OBJDIR} &&		\
-	${SHELL} ${WRKSRC}/contrib/test_summary >${WRKDIR}/test_summary.log
-	@${INFO_MSG} "Test summary are available in ${WRKDIR}/test_summary.log"
-
-post-install:
-	${TEST} -f ${DESTDIR}${GCC_PREFIX}/bin/cc || \
-		( cd ${DESTDIR}${GCC_PREFIX}/bin ; ${LN} -f gcc cc )
-.if !empty(MACHINE_PLATFORM:MSunOS-*-*86*) && ${OS_VERSION} != "5.11"
-	${SH} files/values.c ${DESTDIR}${GCC_PREFIX}/bin/gcc -m32 || ${TRUE}
-	${SH} files/values.c ${DESTDIR}${GCC_PREFIX}/bin/gcc -m64 || ${TRUE}
-.endif
-
-GENERATE_PLIST+= \
-	cd ${DESTDIR}${PREFIX} && 					\
-	${FIND} ${GCC_SUBPREFIX} \( -type f -o -type l \) -print | ${SORT} ;
-
-.include "../../mk/dlopen.buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/gcc7snapshot/PLIST.java b/gcc7snapshot/PLIST.java
deleted file mode 100644
index 13e22b0694..0000000000
--- a/gcc7snapshot/PLIST.java
+++ /dev/null
@@ -1,42 +0,0 @@
-@comment $NetBSD: PLIST.java,v 1.1 2014/10/19 10:50:56 keckhardt Exp $
-bin/${JAVA_NAME}-appletviewer
-bin/${JAVA_NAME}-jar
-bin/${JAVA_NAME}-jarsigner
-bin/${JAVA_NAME}-java
-bin/${JAVA_NAME}-javah
-bin/${JAVA_NAME}-keytool
-bin/${JAVA_NAME}-native2ascii
-bin/${JAVA_NAME}-orbd
-bin/${JAVA_NAME}-rmic
-bin/${JAVA_NAME}-rmid
-bin/${JAVA_NAME}-rmiregistry
-bin/${JAVA_NAME}-serialver
-bin/${JAVA_NAME}-tnameserv
-java/${JAVA_NAME}/bin/appletviewer
-java/${JAVA_NAME}/bin/jar
-java/${JAVA_NAME}/bin/jarsigner
-java/${JAVA_NAME}/bin/java
-java/${JAVA_NAME}/bin/javah
-java/${JAVA_NAME}/bin/keytool
-java/${JAVA_NAME}/bin/native2ascii
-java/${JAVA_NAME}/bin/orbd
-java/${JAVA_NAME}/bin/rmic
-java/${JAVA_NAME}/bin/rmid
-java/${JAVA_NAME}/bin/rmiregistry
-java/${JAVA_NAME}/bin/serialver
-java/${JAVA_NAME}/bin/tnameserv
-java/${JAVA_NAME}/include/jawt.h
-java/${JAVA_NAME}/include/jni.h
-java/${JAVA_NAME}/include/linux/jawt_md.h
-java/${JAVA_NAME}/include/linux/jni_md.h
-java/${JAVA_NAME}/jre/bin/java
-java/${JAVA_NAME}/jre/bin/keytool
-java/${JAVA_NAME}/jre/bin/orbd
-java/${JAVA_NAME}/jre/bin/rmid
-java/${JAVA_NAME}/jre/bin/rmiregistry
-java/${JAVA_NAME}/jre/bin/tnameserv
-java/${JAVA_NAME}/jre/lib/${JAVA_ARCH}/client/libjvm.so
-java/${JAVA_NAME}/jre/lib/${JAVA_ARCH}/server/libjvm.so
-java/${JAVA_NAME}/jre/lib/rt.jar
-java/${JAVA_NAME}/jre/lib/security/java.security
-java/${JAVA_NAME}/lib/tools.jar
diff --git a/gcc7snapshot/TODO b/gcc7snapshot/TODO
deleted file mode 100644
index f33a7f2444..0000000000
--- a/gcc7snapshot/TODO
+++ /dev/null
@@ -1,47 +0,0 @@
-TODO
-====
-
-
-I won't work on gcc any longer after gcc6 has been released in about 
-April 2016. So please step up as maintainer of gcc6/gcc7 for NetBSD.
-
-0) This package aims to keep the latest gcc usable on NetBSD, although
-any work on gcc should happen upstream as far as possible. But it is 
-hopeless without enough NetBSD developers working on it upstream. I have sent
-some patches for NetBSD to GCC a few month ago but there is no progress yet:
-
-PR 64271, the minimal patch set to bootstrap, extracted from pkgsrc.
-Jonathan Wakely is working on the libstdc++ patches involved.
-Without acceptance of patches for PR 64271, no other patches
-will be accepted upstream. 
-
-PR 39570, this bug causes all gfortran run tests to fail. I have developed
-the necessary patches and sent them upstream. For gcc50snapshot it means
-replacing a short patch by a bunch of complex patches, but they are gcc
-conforming and can be reused for other patches as well.
-
-PR 48244, for iso_c_binding support in gfortran. The patches are
-there but it is delayed by PR 64271.
-
-
-1) On NetBSD a working cabsl function must be present in libm to build gfortran.
-This has been added to NetBSD7 on 2014/10/13. Before this date it was defined
-in complex.h but missing from libm.
-
-2) Unless NetBSD gets proper support for C99, the number of test failures
-will stay high. The dozens of missing or inaccurate long double functions
-causes a misconception of NetBSD being an obscure platform, causing other
-projects like gcc or R to abandon support for NetBSD. And the race goes on,
-now we need support for C11 functions like aligned_alloc and the plethora
-of thread functions in our libc/libm.
- 
-3) This package and the lang/gccXY need a cleanup or a complete new start. I
-think that SUBST_VARS could handle the platform dependencies in a much cleaner
-way.
-
-4) Patches from lang/gcc5 should be integrated as far as possible, especially
-patches for other platforms. Right now I just look at it from time to time.
-
-Have fun,
-
-Kai-Uwe Eckhardt
diff --git a/gcc7snapshot/buildlink3.mk b/gcc7snapshot/buildlink3.mk
deleted file mode 100644
index bc93ca3864..0000000000
--- a/gcc7snapshot/buildlink3.mk
+++ /dev/null
@@ -1,31 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.1 2014/10/19 10:6:56 keckhardt Exp $
-
-BUILDLINK_TREE+=	gcc7snapshot
-
-.if !defined(GCC7_BUILDLINK3_MK)
-GCC6SNAPSHOT_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.gcc7snapshot+=	gcc6>=${_GCC_REQD}
-BUILDLINK_ABI_DEPENDS.gcc7snapshot+=	gcc6>=7.0
-BUILDLINK_PKGSRCDIR.gcc7snapshot=	../../wip/gcc7snapshot
-BUILDLINK_DEPMETHOD.gcc7snapshot?=	build
-
-BUILDLINK_FILES.gcc7snapshot=		#empty
-BUILDLINK_AUTO_VARS.gcc7snapshot=	no
-
-# Packages that link against shared libraries need a full dependency.
-#.if defined(_USE_GCC_SHLIB)
-#DEPENDS+=	{gcc7, gcc7-libs}>=${_GCC_REQD}:../../lang/gcc7-libs
-#ABI_DEPENDS+=	{gcc7,gcc7-libs}>=7.0:../../lang/gcc7-libs
-#.endif
-
-pkgbase := gcc7snapshot
-.include "../../mk/pkg-build-options.mk"
-.if !empty(PKG_BUILD_OPTIONS.gcc7snapshot:Mgcc-java)
-.include "../../devel/zlib/buildlink3.mk"
-.endif
-
-.include "../../mk/dlopen.buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-.endif # GCC7SNAPSHOT_BUILDLINK3_MK
-BUILDLINK_TREE+=	-gcc7snapshot
diff --git a/gcc7snapshot/distinfo b/gcc7snapshot/distinfo
deleted file mode 100644
index 62d9682548..0000000000
--- a/gcc7snapshot/distinfo
+++ /dev/null
@@ -1,37 +0,0 @@
-$NetBSD: distinfo,v 1.23 2015/05/06 05:25:00 keckhardt Exp $
-
-SHA1 (gcc-7-20170420.tar.bz2) = 6a9c9bc397bf6e8c39edc8af3fbe8da578a4c035
-RMD160 (gcc-7-20170420.tar.bz2) = 58ab8c87a1f78ec12135741844362089f0401e28
-SHA512 (gcc-7-20170420.tar.bz2) = b51581a185fc6c31464435d3836450878f53103dbd78b257f46bf26e8c6545e6f00dbb4e7a00a5c27dc4c437b8a4fc40a240ae3f5df21277b4b0a8f203f03e75
-Size (gcc-7-20170420.tar.bz2) = 79681877 bytes
-SHA1 (isl-0.16.1.tar.bz2) = c5a2b201bf05229647e73203c0bf2d9679d4d21f
-RMD160 (isl-0.16.1.tar.bz2) = 5a99db3fe0d0a1f6bbac1ed4448f2403495c55b2
-SHA512 (isl-0.16.1.tar.bz2) = c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
-Size (isl-0.16.1.tar.bz2) = 1626446 bytes
-SHA1 (patch-contrib_download__prerequisites) = 86c6c16e0e3e3a0bcb38579a8b4004f603fac1ca
-SHA1 (patch-gcc_Makefile.in) = c0f97c75ba1d37eae894141edd58bb36b734f651
-SHA1 (patch-gcc_config.gcc) = fea8288c22bb2c4dd44a5e77c8f92dee8f8f6b18
-SHA1 (patch-gcc_config_arm_arm.h) = 92c8bff1063e153fec4454e6dea5334a42b0dad6
-SHA1 (patch-gcc_config_netbsd-protos.h) = 6d28864b4ccc8c1a63fe28e43601b84b63a00633
-SHA1 (patch-gcc_config_netbsd.c) = 85f786bce881ef2fc348f98ef81fdbc001076183
-SHA1 (patch-gcc_config_netbsd.h) = 81891a83bb17b99fdb2c9381b8e8a1767391c695
-SHA1 (patch-gcc_config_t-netbsd) = 802ad5706aa7ca9629f8e237f08fbb1569d28846
-SHA1 (patch-gcc_config_x-netbsd) = 6dc3d78e26df62054ea29f98ca51592858e671e3
-SHA1 (patch-gcc_configure) = 15fb7af267b79965f83bc64ce8aad1279b0ea52d
-SHA1 (patch-gcc_ggc-common.c) = a5d2dba635859f5d680c3f80d7c30b42461c752b
-SHA1 (patch-gcc_lto_lto.c) = 825b632e2a7ff5777d4fbfdcf6f0ea3f64c4742b
-SHA1 (patch-gcc_system.h) = 4c959a6b1c4d524cbdf44cfb80f0e5758ec20783
-SHA1 (patch-isl_configure) = 36b37778ee13c0b364fb24d5864d6a9e65b29b7d
-SHA1 (patch-libcilkrts_configure) = 0d88069173cba34158f5b6b91d2d12ca81b0300c
-SHA1 (patch-libcilkrts_runtime_os-unix.c) = b25632587d9fbe8ff38377fe34cb16225355b521
-SHA1 (patch-libdecnumber_decNumber.c) = cec90e49c829bfc6ba1ec605d2fac7daaad62762
-SHA1 (patch-libffi_configure) = bcfbfe8abddc378e2de4a39ad0669583b37e0292
-SHA1 (patch-libffi_testsuite_libffi.call_float2.c) = 6321dde308579448c27c2b6e1e30633699dd145f
-SHA1 (patch-libgcc_crtstuff.c) = e3a3b02a26229992851f195b5701cb1b86c29efe
-SHA1 (patch-libgfortran_configure) = 869a60fd08edecf18a42732dcbf226bad1309394
-SHA1 (patch-libgo_Makefile.in) = 612987541f745c7be6835ce7fb7119884db294c3
-SHA1 (patch-libsanitizer_configure.tgt) = 0aff54104734b2cb21090e33f9304738946ea5a0
-SHA1 (patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h) = 014d442c885b9c51d1a4af05205279c274a9559d
-SHA1 (patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc) = 06bba6da02344f76c26eed765a7cb022c035994e
-SHA1 (patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h) = 626fc1f9c035ac5cef30a92d525af4e778835ebf
-SHA1 (patch-libstdc++-v3_libsupc++_unwind-cxx.h) = 9784bfa4323f8498b36565d0fea28fce69ffdbb1
diff --git a/gcc7snapshot/options.mk b/gcc7snapshot/options.mk
deleted file mode 100644
index b03318fb44..0000000000
--- a/gcc7snapshot/options.mk
+++ /dev/null
@@ -1,132 +0,0 @@
-# $NetBSD: options.mk,v 1.2 2014/12/10 06:10:46 keckhardt Exp $
-
-PKG_OPTIONS_VAR=	PKG_OPTIONS.${GCC_PKGNAME}
-PKG_SUPPORTED_OPTIONS=	nls gcc-inplace-math gcc-c++ gcc-fortran \
-			gcc-go gcc-objc gcc-objc++ gcc-graphite
-PKG_SUGGESTED_OPTIONS=	gcc-c++ gcc-fortran gcc-objc gcc-objc++ \
-			gcc-graphite gcc-inplace-math
-
-.if ${OPSYS} == "NetBSD"
-PKG_SUGGESTED_OPTIONS+=	nls
-.elif ${OPSYS} == "Linux"
-PKG_SUGGESTED_OPTIONS+=	nls
-.elif ${OPSYS} == "DragonFly"
-PKG_SUGGESTED_OPTIONS+=	nls
-.elif ${OPSYS} == "SunOS"
-PKG_SUGGESTED_OPTIONS+=	gcc-inplace-math
-.else
-.endif
-
-###
-### Determine if multilib is avalible.
-###
-MULTILIB_SUPPORTED?=	unknown
-.if !empty(MACHINE_PLATFORM:MLinux-*-x86_64)
-.  if exists(/usr/include/gnu/stubs-64.h) && \
-     !exists(/usr/include/gnu/stubs-32.h)
-MULTILIB_SUPPORTED=	No
-.  else
-MULTILIB_SUPPORTED=	Yes
-.  endif
-.endif
-.if !empty(MULTILIB_SUPPORTED:M[Yy][Ee][Ss])
-PKG_SUPPORTED_OPTIONS+=	gcc-multilib
-PKG_SUGGESTED_OPTIONS+=	gcc-multilib
-.endif
-
-.include "../../mk/bsd.options.mk"
-
-###
-### Native Language Support
-###
-.if !empty(PKG_OPTIONS:Mnls)
-USE_TOOLS+=		msgfmt
-CONFIGURE_ARGS+=	--enable-nls
-CONFIGURE_ARGS+=	--with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
-MAKE_ENV+=		ICONVPREFIX=${BUILDLINK_PREFIX.iconv}
-.include "../../converters/libiconv/buildlink3.mk"
-.include "../../devel/gettext-lib/buildlink3.mk"
-.else
-CONFIGURE_ARGS+=	--disable-nls
-.endif
-
-###
-### Multilib Support
-###
-.if (!empty(MULTILIB_SUPPORTED:M[Yy][Ee][Ss]) && \
-      empty(PKG_OPTIONS:Mgcc-multilib) ) || \
-    !empty(MULTILIB_SUPPORTED:M[Nn][Oo])
-CONFIGURE_ARGS+=	--disable-multilib
-.endif
-
-###
-### Build math libraries in place
-###
-.if !empty(PKG_OPTIONS:Mgcc-inplace-math)
-.  include "../../devel/gmp/inplace.mk"
-.  include "../../math/mpcomplex/inplace.mk"
-.  include "../../math/mpfr/inplace.mk"
-.else
-CONFIGURE_ARGS+=	--with-gmp=${BUILDLINK_PREFIX.gmp}
-CONFIGURE_ARGS+=	--with-mpc=${BUILDLINK_PREFIX.mpcomplex}
-CONFIGURE_ARGS+=	--with-mpfr=${BUILDLINK_PREFIX.mpfr}
-LIBS.SunOS+=		-lgmp
-.  include "../../devel/gmp/buildlink3.mk"
-.  include "../../math/mpcomplex/buildlink3.mk"
-.  include "../../math/mpfr/buildlink3.mk"
-.endif
-
-
-###
-### Graphite Support
-###
-.if !empty(PKG_OPTIONS:Mgcc-graphite)
-ISL16=				isl-0.16.1
-SITES.${ISL16}.tar.bz2=	ftp://ftp.fu-berlin.de/unix/languages/gcc/infrastructure/
-#SITES.${ISL16}.tar.bz2=	${MASTER_SITE_GNU:=gcc/infrastructure/}
-DISTFILES+=			${ISL16}.tar.bz2
-.endif
-
-###
-### Optional languages
-### Ada could be added although there is a bootstrapping issue.  See
-### ../gcc34-ada for guidance
-###
-
-.if !empty(PKG_OPTIONS:Mgcc-objc++)
-.  if empty(PKG_OPTIONS:Mgcc-c++)
-PKG_OPTIONS+=		gcc-c++
-.  endif
-.  if empty(PKG_OPTIONS:Mgcc-objc)
-PKG_OPTIONS+=		gcc-objc
-.  endif
-LANGS+=			obj-c++
-.endif
-
-.if !empty(PKG_OPTIONS:Mgcc-objc)
-LANGS+=			objc
-.endif
-
-USE_TOOLS+=		unzip zip:run gmake:run
-CONFIGURE_ARGS+=	--with-system-zlib
-
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../lang/python/application.mk"
-
-.if !empty(PKG_OPTIONS:Mgcc-go)
-LANGS+=			go
-.endif
-
-.if !empty(PKG_OPTIONS:Mgcc-fortran)
-LANGS+=			fortran
-.endif
-
-.if !empty(PKG_OPTIONS:Mgcc-c++)
-LANGS+=			c++
-USE_TOOLS+=		perl
-CONFIGURE_ARGS+=	--enable-__cxa_atexit
-CONFIGURE_ARGS+=	--with-gxx-include-dir=${GCC_PREFIX}/include/c++/
-.else
-CONFIGURE_ARGS+=	--disable-build-with-cxx
-CONFIGURE_ARGS+=	--disable-build-poststage1-with-cxx
-.endif
diff --git a/gcc7snapshot/patches/patch-contrib_download__prerequisites b/gcc7snapshot/patches/patch-contrib_download__prerequisites
deleted file mode 100644
index f317b7d4f6..0000000000
--- a/gcc7snapshot/patches/patch-contrib_download__prerequisites
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD$
-
-Non-portable test
-
---- contrib/download_prerequisites.orig	2017-04-11 16:34:07.000000000 +0000
-+++ contrib/download_prerequisites
-@@ -122,7 +122,7 @@ md5_check() {
-   md5_checksum_output=$(md5 -r "${file_to_check}")
-   # Grab the text before the first space
-   md5_checksum_detected="${md5_checksum_output%% *}"
--  [ "${md5_checksum_expected}" == "${md5_checksum_detected}" ] \
-+  [ "${md5_checksum_expected}" = "${md5_checksum_detected}" ] \
-     || die "Cannot verify integrity of possibly corrupted file ${file_to_check}"
-   echo "${file_to_check}: OK"
- }
diff --git a/gcc7snapshot/patches/patch-gcc_Makefile.in b/gcc7snapshot/patches/patch-gcc_Makefile.in
deleted file mode 100644
index 8b5076271c..0000000000
--- a/gcc7snapshot/patches/patch-gcc_Makefile.in
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-gcc_Makefile.in,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
-Add gcc libdir to a programs rpath so that _this gcc's_ support libraries
-are found.
-
---- gcc/Makefile.in.orig	2017-04-18 18:10:27.000000000 +0000
-+++ gcc/Makefile.in
-@@ -2112,6 +2112,7 @@ prefix.o: $(BASEVER)
- # Language-independent files.
- 
- DRIVER_DEFINES = \
-+  -DLINK_LIBGCC_SPEC="\"%D $(LINKER_RPATH_FLAG) $(prefix)//lib/%M $(LINKER_RPATH_FLAG) $(libdir)/%M \"" \
-   -DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \
-   -DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \
-   -DSTANDARD_LIBEXEC_PREFIX=\"$(libexecdir)/gcc/\" \
diff --git a/gcc7snapshot/patches/patch-gcc_config.gcc b/gcc7snapshot/patches/patch-gcc_config.gcc
deleted file mode 100644
index 944ccd632a..0000000000
--- a/gcc7snapshot/patches/patch-gcc_config.gcc
+++ /dev/null
@@ -1,34 +0,0 @@
-$NetBSD: patch-gcc_config.gcc,v 1.2 2014/12/17 21:51:02 keckhardt Exp $
-
---- gcc/config.gcc.orig	2016-12-10 21:07:10.000000000 +0000
-+++ gcc/config.gcc
-@@ -765,10 +765,15 @@ case ${target} in
-   target_has_targetcm=yes
-   ;;
- *-*-netbsd*)
--  tmake_file="t-slibgcc"
-+  tmake_file="t-slibgcc t-netbsd"
-   gas=yes
-   gnu_ld=yes
-   use_gcc_stdint=wrap
-+  # cabs/cabsf are renamed to __c99_cabs/cabsf
-+  tm_p_file="${tm_p_file} netbsd-protos.h"
-+  target_gtfiles="${target_gtfiles} \$(srcdir)/config/netbsd.c"
-+  extra_objs="${extra_objs} netbsd.o"
-+
- 
-   # NetBSD 2.0 and later get POSIX threads enabled by default.
-   # Allow them to be explicitly enabled on any other version.
-@@ -1460,10 +1465,12 @@ x86_64-*-freebsd*)
- i[34567]86-*-netbsdelf*)
- 	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-stdint.h netbsd-elf.h i386/netbsd-elf.h"
- 	extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
-+	tmake_file="${tmake_file} i386/t-crtstuff"
- 	;;
- x86_64-*-netbsd*)
- 	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-stdint.h netbsd-elf.h i386/x86-64.h i386/netbsd64.h"
- 	extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
-+	tmake_file="${tmake_file} i386/t-crtstuff"
- 	;;
- i[34567]86-*-openbsd*)
- 	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h"
diff --git a/gcc7snapshot/patches/patch-gcc_config_arm_arm.h b/gcc7snapshot/patches/patch-gcc_config_arm_arm.h
deleted file mode 100644
index 037dd64dc5..0000000000
--- a/gcc7snapshot/patches/patch-gcc_config_arm_arm.h
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD$
-
-driver-arm.o is only included for freebsd/arm and linux/arm, and
-it is responsible for the definition of host_detect_local_cpu.
-
-Without it, we get an undefined reference.
-
-GCC bugzilla #77800
-
---- gcc/config/arm/arm.h.orig	2016-12-15 17:51:46.000000000 +0000
-+++ gcc/config/arm/arm.h
-@@ -2231,7 +2231,7 @@ extern const char *arm_target_thumb_only
- 
- /* -mcpu=native handling only makes sense with compiler running on
-    an ARM chip.  */
--#if defined(__arm__)
-+#if defined(__arm__) && (defined(__linux__) || defined(__FreeBSD__))
- extern const char *host_detect_local_cpu (int argc, const char **argv);
- # define EXTRA_SPEC_FUNCTIONS						\
-   { "local_cpu_detect", host_detect_local_cpu },			\
diff --git a/gcc7snapshot/patches/patch-gcc_config_netbsd-protos.h b/gcc7snapshot/patches/patch-gcc_config_netbsd-protos.h
deleted file mode 100644
index 6045c337be..0000000000
--- a/gcc7snapshot/patches/patch-gcc_config_netbsd-protos.h
+++ /dev/null
@@ -1,34 +0,0 @@
-$NetBSD: patch-gcc_config_netbsd-protos.h,v 1.1 2014/12/17 21:51:02 keckhardt Exp $
-
---- /dev/null	2014-12-15 07:13:57.000000000 +0000
-+++ gcc/config/netbsd-protos.h
-@@ -0,0 +1,29 @@
-+/* Prototypes.
-+   Copyright (C) 2001-2014 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
-+<http://www.gnu.org/licenses/>.  */
-+
-+#ifndef _NETBSD_PROTOS_H_
-+#define _NETBSD_PROTOS_H_
-+
-+double __c99_cabs (double complex);
-+float __c99_cabsf (float complex);
-+long double __c99_cabsl (long double complex);
-+
-+void netbsd_patch_builtins (void);
-+
-+#endif /* _NETBSD_PROTOS_H_ */
diff --git a/gcc7snapshot/patches/patch-gcc_config_netbsd.c b/gcc7snapshot/patches/patch-gcc_config_netbsd.c
deleted file mode 100644
index 1a076bd208..0000000000
--- a/gcc7snapshot/patches/patch-gcc_config_netbsd.c
+++ /dev/null
@@ -1,104 +0,0 @@
-$NetBSD$
-
---- gcc/config/netbsd.c.orig	2016-11-04 16:18:21.025368203 +0000
-+++ gcc/config/netbsd.c
-@@ -0,0 +1,99 @@
-+/* Functions for generic NetBSD as target machine for GNU C compiler.
-+   Copyright (C) 1989-2014 Free Software Foundation, Inc.
-+   Contributed by Apple Computer 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
-+<http://www.gnu.org/licenses/>.  */
-+
-+
-+#include "config.h"
-+#include "system.h"
-+#include "coretypes.h"
-+#include "backend.h"
-+#include "target.h"
-+#include "cfghooks.h"
-+#include "tree.h"
-+#include "gimple.h"
-+#include "rtl.h"
-+#include "df.h"
-+#include "memmodel.h"
-+#include "regs.h"
-+#include "insn-config.h"
-+#include "conditions.h"
-+#include "insn-flags.h"
-+#include "output.h"
-+#include "insn-attr.h"
-+#include "flags.h"
-+#include "alias.h"
-+#include "fold-const.h"
-+#include "stringpool.h"
-+#include "varasm.h"
-+#include "stor-layout.h"
-+#include "expmed.h"
-+#include "dojump.h"
-+#include "explow.h"
-+#include "calls.h"
-+#include "emit-rtl.h"
-+#include "stmt.h"
-+#include "expr.h"
-+#include "reload.h"
-+#include "langhooks.h"
-+#include "target.h"
-+#include "tm_p.h"
-+#include "diagnostic-core.h"
-+#include "toplev.h"
-+#include "cfgrtl.h"
-+#include "cfganal.h"
-+#include "lcm.h"
-+#include "cfgbuild.h"
-+#include "cfgcleanup.h"
-+#include "debug.h"
-+#include "internal-fn.h"
-+#include "gimple-fold.h"
-+#include "tree-eh.h"
-+#include "gimplify.h"
-+#include "cgraph.h"
-+#include "alloc-pool.h"
-+#include "lto-streamer.h"
-+#include "lto-section-names.h"
-+
-+static void
-+netbsd_patch_builtin (enum built_in_function fncode)
-+{
-+  tree fn = builtin_decl_explicit (fncode);
-+  tree sym;
-+  char *newname;
-+
-+  if (!fn)
-+    return;
-+
-+  sym = DECL_ASSEMBLER_NAME (fn);
-+  newname = ACONCAT (("__c99_", IDENTIFIER_POINTER (sym), NULL));
-+
-+  set_user_assembler_name (fn, newname);
-+
-+  fn = builtin_decl_implicit (fncode);
-+  if (fn)
-+    set_user_assembler_name (fn, newname);
-+}
-+
-+void
-+netbsd_patch_builtins (void)
-+{
-+  netbsd_patch_builtin (BUILT_IN_CABSF);
-+  netbsd_patch_builtin (BUILT_IN_CABS);
-+  netbsd_patch_builtin (BUILT_IN_CABSL);
-+}
diff --git a/gcc7snapshot/patches/patch-gcc_config_netbsd.h b/gcc7snapshot/patches/patch-gcc_config_netbsd.h
deleted file mode 100644
index 1e84a66c2a..0000000000
--- a/gcc7snapshot/patches/patch-gcc_config_netbsd.h
+++ /dev/null
@@ -1,43 +0,0 @@
-$NetBSD: patch-gcc_config_netbsd.h,v 1.1 2014/12/17 21:51:02 keckhardt Exp $
-
-when using shared, link against libc
-another unexplained change`
-
---- gcc/config/netbsd.h.orig	2014-01-02 22:23:26.000000000 +0000
-+++ gcc/config/netbsd.h
-@@ -17,6 +17,9 @@ You should have received a copy of the G
- along with GCC; see the file COPYING3.  If not see
- <http://www.gnu.org/licenses/>.  */
- 
-+
-+#include "netbsd-protos.h"
-+
- /* TARGET_OS_CPP_BUILTINS() common to all NetBSD targets.  */
- #define NETBSD_OS_CPP_BUILTINS_COMMON()		\
-   do						\
-@@ -96,6 +99,7 @@ along with GCC; see the file COPYING3.  
-        %{!pg:-lposix}}		\
-      %{p:-lposix_p}		\
-      %{pg:-lposix_p}}		\
-+   %{shared:-lc}		\
-    %{!shared:			\
-      %{!symbolic:		\
-        %{!p:			\
-@@ -109,6 +113,7 @@ along with GCC; see the file COPYING3.  
-        %{!pg:-lposix}}		\
-      %{p:-lposix_p}		\
-      %{pg:-lposix_p}}		\
-+   %{shared:-lc}		\
-    %{!shared:			\
-      %{!symbolic:		\
-        %{!p:			\
-@@ -175,3 +180,9 @@ along with GCC; see the file COPYING3.  
- 
- #undef WINT_TYPE
- #define WINT_TYPE "int"
-+
-+#undef SUBTARGET_INIT_BUILTINS
-+#define SUBTARGET_INIT_BUILTINS			\
-+do {						\
-+  netbsd_patch_builtins ();			\
-+} while(0)
diff --git a/gcc7snapshot/patches/patch-gcc_config_t-netbsd b/gcc7snapshot/patches/patch-gcc_config_t-netbsd
deleted file mode 100644
index 43d3a7500d..0000000000
--- a/gcc7snapshot/patches/patch-gcc_config_t-netbsd
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-gcc_config_t-netbsd,v 1.1 2014/12/17 21:51:02 keckhardt Exp $
-
---- /dev/null	2014-12-16 20:23:05.000000000 +0000
-+++ gcc/config/t-netbsd
-@@ -0,0 +1,23 @@
-+# Copyright (C) 2002-2014 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
-+# <http://www.gnu.org/licenses/>.
-+
-+
-+netbsd.o: $(srcdir)/config/netbsd.c
-+	$(COMPILE) $<
-+	$(POSTCOMPILE)
-+
diff --git a/gcc7snapshot/patches/patch-gcc_config_x-netbsd b/gcc7snapshot/patches/patch-gcc_config_x-netbsd
deleted file mode 100644
index bbd84a19c3..0000000000
--- a/gcc7snapshot/patches/patch-gcc_config_x-netbsd
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-gcc_config_x-netbsd,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
-Add host hooks for NetBSD - needed for working precompiled headers.
-http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58397
-
---- /dev/null	2013-09-11 09:12:57.000000000 +0200
-+++ gcc/config/x-netbsd	2013-09-10 18:57:27.000000000 +0200
-@@ -0,0 +1,4 @@
-+host-netbsd.o : $(srcdir)/config/host-netbsd.c $(CONFIG_H) $(SYSTEM_H) \
-+  coretypes.h hosthooks.h hosthooks-def.h $(HOOKS_H)
-+	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
-+		$(srcdir)/config/host-netbsd.c
diff --git a/gcc7snapshot/patches/patch-gcc_configure b/gcc7snapshot/patches/patch-gcc_configure
deleted file mode 100644
index ed169d10b9..0000000000
--- a/gcc7snapshot/patches/patch-gcc_configure
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- gcc/configure.orig	2015-09-30 23:06:11.000000000 +0000
-+++ gcc/configure
-@@ -28321,7 +28321,7 @@ case "$target" in
-       gcc_cv_target_dl_iterate_phdr=no
-     fi
-     ;;
--  *-*-dragonfly* | *-*-freebsd*)
-+  *-*-dragonfly* | *-*-freebsd* | *-*-netbsd* )
-     if grep dl_iterate_phdr $target_header_dir/sys/link_elf.h > /dev/null 2>&1; then
-       gcc_cv_target_dl_iterate_phdr=yes
-     else
diff --git a/gcc7snapshot/patches/patch-gcc_ggc-common.c b/gcc7snapshot/patches/patch-gcc_ggc-common.c
deleted file mode 100644
index aad88bdb98..0000000000
--- a/gcc7snapshot/patches/patch-gcc_ggc-common.c
+++ /dev/null
@@ -1,71 +0,0 @@
-$NetBSD: patch-gcc_ggc-common.c,v 1.3 2015/02/05 15:55:39 keckhardt Exp $
-
---- gcc/ggc-common.c.orig	2014-12-10 03:45:40.000000000 +0000
-+++ gcc/ggc-common.c
-@@ -603,6 +603,8 @@ gt_pch_restore (FILE *f)
-   size_t i;
-   struct mmap_info mmi;
-   int result;
-+  struct line_maps * old_line_table = line_table;
-+  location_t old_input_loc = input_location;
- 
-   /* Delete any deletable objects.  This makes ggc_pch_read much
-      faster, as it can be sure that no GCable objects remain other
-@@ -616,32 +618,50 @@ gt_pch_restore (FILE *f)
-   /* Read in all the scalar variables.  */
-   for (rt = gt_pch_scalar_rtab; *rt; rt++)
-     for (rti = *rt; rti->base != NULL; rti++)
--      if (fread (rti->base, rti->stride, 1, f) != 1)
-+      if (fread (rti->base, rti->stride, 1, f) != 1) {
-+        line_table = old_line_table;
-+        input_location = old_input_loc;
- 	fatal_error (input_location, "can%'t read PCH file: %m");
-+      }
- 
-   /* Read in all the global pointers, in 6 easy loops.  */
-   for (rt = gt_ggc_rtab; *rt; rt++)
-     for (rti = *rt; rti->base != NULL; rti++)
-       for (i = 0; i < rti->nelt; i++)
- 	if (fread ((char *)rti->base + rti->stride * i,
--		   sizeof (void *), 1, f) != 1)
-+		   sizeof (void *), 1, f) != 1) {
-+          line_table = old_line_table;
-+          input_location = old_input_loc;
- 	  fatal_error (input_location, "can%'t read PCH file: %m");
-+        }
- 
--  if (fread (&mmi, sizeof (mmi), 1, f) != 1)
-+  if (fread (&mmi, sizeof (mmi), 1, f) != 1) {
-+    line_table = old_line_table;
-+    input_location = old_input_loc;
-     fatal_error (input_location, "can%'t read PCH file: %m");
-+  }
- 
-   result = host_hooks.gt_pch_use_address (mmi.preferred_base, mmi.size,
- 					  fileno (f), mmi.offset);
--  if (result < 0)
-+  if (result < 0) {
-+    line_table = old_line_table;
-+    input_location = old_input_loc;
-     fatal_error (input_location, "had to relocate PCH");
-+  }
-   if (result == 0)
-     {
-       if (fseek (f, mmi.offset, SEEK_SET) != 0
--	  || fread (mmi.preferred_base, mmi.size, 1, f) != 1)
-+	  || fread (mmi.preferred_base, mmi.size, 1, f) != 1) {
-+        line_table = old_line_table;
-+        input_location = old_input_loc;
- 	fatal_error (input_location, "can%'t read PCH file: %m");
-+      }
-     }
--  else if (fseek (f, mmi.offset + mmi.size, SEEK_SET) != 0)
--    fatal_error (input_location, "can%'t read PCH file: %m");
-+  else if (fseek (f, mmi.offset + mmi.size, SEEK_SET) != 0) {
-+        line_table = old_line_table;
-+        input_location = old_input_loc;
-+        fatal_error (input_location, "can%'t read PCH file: %m");
-+  }
- 
-   ggc_pch_read (f, mmi.preferred_base);
- 
diff --git a/gcc7snapshot/patches/patch-gcc_lto_lto.c b/gcc7snapshot/patches/patch-gcc_lto_lto.c
deleted file mode 100644
index c546e299b0..0000000000
--- a/gcc7snapshot/patches/patch-gcc_lto_lto.c
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-gcc_lto_lto.c,v 1.2 2015/02/05 15:55:39 keckhardt Exp $
-
---- gcc/lto/lto.c.orig	2015-01-30 16:15:00.000000000 +0000
-+++ gcc/lto/lto.c
-@@ -2495,7 +2495,13 @@ wait_for_child ()
- #ifndef WCONTINUED
- #define WCONTINUED 0
- #endif
--      int w = waitpid (0, &status, WUNTRACED | WCONTINUED);
-+
-+#if defined(__NetBSD__)
-+      int w = waitpid(0, &status, WUNTRACED | WALLSIG);
-+#else
-+      int w = waitpid(0, &status, WUNTRACED | WCONTINUED);
-+#endif
-+ 
-       if (w == -1)
- 	fatal_error (input_location, "waitpid failed");
- 
diff --git a/gcc7snapshot/patches/patch-gcc_system.h b/gcc7snapshot/patches/patch-gcc_system.h
deleted file mode 100644
index 77574b3034..0000000000
--- a/gcc7snapshot/patches/patch-gcc_system.h
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-gcc_system.h,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- gcc/system.h.orig	2013-04-29 18:37:29.000000000 +0000
-+++ gcc/system.h
-@@ -72,18 +72,22 @@ along with GCC; see the file COPYING3.  
- 
- #if defined HAVE_DECL_PUTC_UNLOCKED && HAVE_DECL_PUTC_UNLOCKED
- 
-+# if !defined(__NetBSD__)
- # ifdef HAVE_PUTC_UNLOCKED
- #  undef putc
- #  define putc(C, Stream) putc_unlocked (C, Stream)
- # endif
-+# endif
- # ifdef HAVE_PUTCHAR_UNLOCKED
- #  undef putchar
- #  define putchar(C) putchar_unlocked (C)
- # endif
-+# if !defined(__NetBSD__)
- # ifdef HAVE_GETC_UNLOCKED
- #  undef getc
- #  define getc(Stream) getc_unlocked (Stream)
- # endif
-+# endif
- # ifdef HAVE_GETCHAR_UNLOCKED
- #  undef getchar
- #  define getchar() getchar_unlocked ()
diff --git a/gcc7snapshot/patches/patch-isl_configure b/gcc7snapshot/patches/patch-isl_configure
deleted file mode 100644
index 3f904dc92b..0000000000
--- a/gcc7snapshot/patches/patch-isl_configure
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD$
-
-Make test portable
-
---- isl/configure.orig	2016-01-14 17:26:10.000000000 +0000
-+++ isl/configure
-@@ -17561,7 +17561,7 @@ else
- fi
- 
- 
-- if test "x$with_int" == "ximath-32"; then
-+ if test "x$with_int" = "ximath-32"; then
-   SMALL_INT_OPT_TRUE=
-   SMALL_INT_OPT_FALSE='#'
- else
-@@ -17569,7 +17569,7 @@ else
-   SMALL_INT_OPT_FALSE=
- fi
- 
--if test "x$with_int" == "ximath-32"; then :
-+if test "x$with_int" = "ximath-32"; then :
- 
- 
- $as_echo "#define USE_SMALL_INT_OPT /**/" >>confdefs.h
diff --git a/gcc7snapshot/patches/patch-libcilkrts_configure b/gcc7snapshot/patches/patch-libcilkrts_configure
deleted file mode 100644
index e3136545a3..0000000000
--- a/gcc7snapshot/patches/patch-libcilkrts_configure
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-libcilkrts_configure,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- libcilkrts/configure.orig	2014-08-12 11:06:44.000000000 +0000
-+++ libcilkrts/configure
-@@ -14519,7 +14519,7 @@ esac
- CFLAGS="$save_CFLAGS"
- 
- if test $enable_shared = yes; then
--  link_cilkrts="-lcilkrts %{static: $LIBS}"
-+  link_cilkrts="-rpath ${PREFIX}/gcc6snapshot/lib --as-needed -lgcc_s -lcilkrts %{static $LIBS}"
- else
-   link_cilkrts="-lcilkrts $LIBS"
- fi
diff --git a/gcc7snapshot/patches/patch-libcilkrts_runtime_os-unix.c b/gcc7snapshot/patches/patch-libcilkrts_runtime_os-unix.c
deleted file mode 100644
index 7f910027f2..0000000000
--- a/gcc7snapshot/patches/patch-libcilkrts_runtime_os-unix.c
+++ /dev/null
@@ -1,40 +0,0 @@
-$NetBSD: patch-libcilkrts_runtime_os-unix.c,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
-NetBSD doesn't need additional include files too
-NetBSD can also obtain number of online cpus from sysconf
-NetBSD can use sched_yield for sleeping
-
---- libcilkrts/runtime/os-unix.c.orig	2016-12-01 14:48:49.000000000 +0000
-+++ libcilkrts/runtime/os-unix.c
-@@ -73,6 +73,7 @@
- #elif defined __CYGWIN__ || \
-       defined __DragonFly__ || \
-       defined __FreeBSD__ || \
-+      defined __NetBSD__ || \
-       defined __GNU__
- // No additional include files
- 
-@@ -397,6 +398,7 @@ COMMON_SYSDEP int __cilkrts_hardware_cpu
-     defined __CYGWIN__   || \
-     defined __DragonFly__  || \
-     defined __FreeBSD__  || \
-+    defined __NetBSD__ || \
-     (defined(__sun__) && defined(__svr4__))
-     return (int)sysconf(_SC_NPROCESSORS_ONLN);
- #elif defined __MIC__
-@@ -426,6 +428,7 @@ COMMON_SYSDEP void __cilkrts_idle(void)
-     // silencing workers that are not stealing work.
- #if defined(__ANDROID__)  || \
-     defined(__FreeBSD__)  || \
-+    defined(__NetBSD__)   || \
-     defined(__VXWORKS__)  || \
-     (defined(__sun__) && defined(__svr4__))
-     sched_yield();
-@@ -456,6 +459,7 @@ COMMON_SYSDEP void __cilkrts_yield(void)
-     defined(__APPLE__)    || \
-     defined(__CYGWIN__)   || \
-     defined(__FreeBSD__)  || \
-+    defined(__NetBSD__)   || \
-     defined(__VXWORKS__)  || \
-     (defined(__sun__) && defined(__svr4__))
-     // Call sched_yield to yield quantum.  I'm not sure why we
diff --git a/gcc7snapshot/patches/patch-libdecnumber_decNumber.c b/gcc7snapshot/patches/patch-libdecnumber_decNumber.c
deleted file mode 100644
index 377fc3ca23..0000000000
--- a/gcc7snapshot/patches/patch-libdecnumber_decNumber.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-libdecnumber_decNumber.c,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- libdecnumber/decNumber.c.orig	2013-08-14 08:42:04.000000000 +0000
-+++ libdecnumber/decNumber.c
-@@ -770,7 +770,7 @@ decNumber * decNumberAbs(decNumber *res,
- decNumber * decNumberAdd(decNumber *res, const decNumber *lhs,
- 			 const decNumber *rhs, decContext *set) {
-   uInt status=0;			/* accumulator */
--  decAddOp(res, lhs, rhs, set, 0, &status);
-+  decAddOp(res, lhs, rhs, set, (uByte)0, &status);
-   if (status!=0) decStatus(res, status, set);
-   #if DECCHECK
-   decCheckInexact(res, set);
diff --git a/gcc7snapshot/patches/patch-libffi_configure b/gcc7snapshot/patches/patch-libffi_configure
deleted file mode 100644
index a3bb46b12f..0000000000
--- a/gcc7snapshot/patches/patch-libffi_configure
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-libffi_configure,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- libffi/configure.orig	2013-06-01 17:03:49.000000000 +0000
-+++ libffi/configure
-@@ -12689,7 +12689,7 @@ case "$target" in
- $as_echo "#define FFI_EXEC_TRAMPOLINE_TABLE 1" >>confdefs.h
- 
-      ;;
--     *-apple-darwin1* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
-+     *-apple-darwin1* | *-*-freebsd* | *-*-kfreebsd* | *-*-netbsd* | *-*-openbsd* | *-pc-solaris*)
- 
- $as_echo "#define FFI_MMAP_EXEC_WRIT 1" >>confdefs.h
- 
diff --git a/gcc7snapshot/patches/patch-libffi_testsuite_libffi.call_float2.c b/gcc7snapshot/patches/patch-libffi_testsuite_libffi.call_float2.c
deleted file mode 100644
index db84fc70a1..0000000000
--- a/gcc7snapshot/patches/patch-libffi_testsuite_libffi.call_float2.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-libffi_testsuite_libffi.call_float2.c,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- libffi/testsuite/libffi.call/float2.c.orig	2013-06-01 17:08:18.000000000 +0000
-+++ libffi/testsuite/libffi.call/float2.c
-@@ -45,7 +45,7 @@ int main (void)
-   /* This is ifdef'd out for now. long double support under SunOS/gcc
-      is pretty much non-existent.  You'll get the odd bus error in library
-      routines like printf().  */
--  printf ("%Lf, %Lf, %Lf, %Lf\n", ld, ldblit(f), ld - ldblit(f), LDBL_EPSILON);
-+  printf ("%Lf, %Lf, %Lf, %Lf\n", (long double)ld, (long double)ldblit(f), (long double)(ld - ldblit(f)), (long double)LDBL_EPSILON);
- #endif
- 
-   /* These are not always the same!! Check for a reasonable delta */
diff --git a/gcc7snapshot/patches/patch-libgcc_crtstuff.c b/gcc7snapshot/patches/patch-libgcc_crtstuff.c
deleted file mode 100644
index cb36ae6a01..0000000000
--- a/gcc7snapshot/patches/patch-libgcc_crtstuff.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-libgcc_crtstuff.c,v 1.3 2014/11/04 09:09:28 keckhardt Exp $
-
---- libgcc/crtstuff.c.orig	2017-01-01 12:07:43.000000000 +0000
-+++ libgcc/crtstuff.c
-@@ -81,7 +81,7 @@ call_ ## FUNC (void)					\
- #endif
- 
- #if defined(TARGET_DL_ITERATE_PHDR) && \
--   (defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__))
-+   (defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__))
- #define BSD_DL_ITERATE_PHDR_AVAILABLE
- #endif
-  
diff --git a/gcc7snapshot/patches/patch-libgfortran_configure b/gcc7snapshot/patches/patch-libgfortran_configure
deleted file mode 100644
index 34902c2b17..0000000000
--- a/gcc7snapshot/patches/patch-libgfortran_configure
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- libgfortran/configure.orig	2015-10-04 22:33:03.000000000 +0000
-+++ libgfortran/configure
-@@ -25992,7 +25992,7 @@ $as_echo "#define SUPPORTS_WEAK 1" >>con
- 
-   fi
-   case "$host" in
--    *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
-+    *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* | *-*-netbsd* )
- 
- $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
- 
diff --git a/gcc7snapshot/patches/patch-libgo_Makefile.in b/gcc7snapshot/patches/patch-libgo_Makefile.in
deleted file mode 100644
index 8f19c25313..0000000000
--- a/gcc7snapshot/patches/patch-libgo_Makefile.in
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-libgo_Makefile.in,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
-proc.c will not compile with inline-functions (implied by -O3) 
-so add -fno-inline-functions to it's cflags.
-
-
---- libgo/Makefile.in.orig	2012-08-06 14:34:27.000000000 +0000
-+++ libgo/Makefile.in
-@@ -3051,7 +3051,7 @@ print.lo: runtime/print.c
- @am__fastdepCC_FALSE@	$(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o print.lo `test -f 'runtime/print.c' || echo '$(srcdir)/'`runtime/print.c
- 
- proc.lo: runtime/proc.c
--@am__fastdepCC_TRUE@	$(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT proc.lo -MD -MP -MF $(DEPDIR)/proc.Tpo -c -o proc.lo `test -f 'runtime/proc.c' || echo '$(srcdir)/'`runtime/proc.c
-+@am__fastdepCC_TRUE@	$(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) -fno-inline-functions $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT proc.lo -MD -MP -MF $(DEPDIR)/proc.Tpo -c -o proc.lo `test -f 'runtime/proc.c' || echo '$(srcdir)/'`runtime/proc.c
- @am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/proc.Tpo $(DEPDIR)/proc.Plo
- @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='runtime/proc.c' object='proc.lo' libtool=yes @AMDEPBACKSLASH@
- @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
diff --git a/gcc7snapshot/patches/patch-libsanitizer_configure.tgt b/gcc7snapshot/patches/patch-libsanitizer_configure.tgt
deleted file mode 100644
index 6825fc8fb4..0000000000
--- a/gcc7snapshot/patches/patch-libsanitizer_configure.tgt
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- libsanitizer/configure.tgt.orig	2015-11-23 09:07:18.000000000 +0000
-+++ libsanitizer/configure.tgt
-@@ -41,7 +41,7 @@ case "${target}" in
- 		TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_aarch64.lo
- 	fi
- 	;;
--  x86_64-*-darwin[1]* | i?86-*-darwin[1]*)
-+  x86_64-*-darwin[1][1-9]* | i?86-*-darwin[1][1-9]*)
- 	TSAN_SUPPORTED=no
- 	;;
-   *)
diff --git a/gcc7snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h b/gcc7snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h
deleted file mode 100644
index ee8c1b0581..0000000000
--- a/gcc7snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h
+++ /dev/null
@@ -1,37 +0,0 @@
-$NetBSD: patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- libstdc++-v3/config/os/bsd/netbsd/ctype_base.h.orig	2013-02-03 17:54:05.000000000 +0000
-+++ libstdc++-v3/config/os/bsd/netbsd/ctype_base.h
-@@ -43,9 +43,22 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
- 
-     // NB: Offsets into ctype<char>::_M_table force a particular size
-     // on the mask type. Because of this, we don't use an enum.
--    typedef unsigned char      	mask;
- 
--#ifndef _CTYPE_U
-+#if defined(_CTYPE_BL)
-+    typedef unsigned short      mask;
-+    static const mask upper     = _CTYPE_U;
-+    static const mask lower     = _CTYPE_L;
-+    static const mask alpha     = _CTYPE_A;
-+    static const mask digit     = _CTYPE_D;
-+    static const mask xdigit    = _CTYPE_X;
-+    static const mask space     = _CTYPE_S;
-+    static const mask print     = _CTYPE_R;
-+    static const mask graph     = _CTYPE_G;
-+    static const mask cntrl     = _CTYPE_C;
-+    static const mask punct     = _CTYPE_P;
-+    static const mask alnum     = _CTYPE_A | _CTYPE_D;
-+#elif !defined(_CTYPE_U)
-+    typedef unsigned char      	mask;
-     static const mask upper    	= _U;
-     static const mask lower 	= _L;
-     static const mask alpha 	= _U | _L;
-@@ -58,6 +71,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
-     static const mask punct 	= _P;
-     static const mask alnum 	= _U | _L | _N;
- #else
-+    typedef unsigned char      	mask;
-     static const mask upper    	= _CTYPE_U;
-     static const mask lower 	= _CTYPE_L;
-     static const mask alpha 	= _CTYPE_U | _CTYPE_L;
diff --git a/gcc7snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc b/gcc7snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc
deleted file mode 100644
index 13b07d99ae..0000000000
--- a/gcc7snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc
+++ /dev/null
@@ -1,58 +0,0 @@
-$NetBSD: patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
-https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64271
-
---- libstdc++-v3/config/os/bsd/netbsd/ctype_configure_char.cc.orig	2013-02-03 17:54:05.000000000 +0000
-+++ libstdc++-v3/config/os/bsd/netbsd/ctype_configure_char.cc
-@@ -38,11 +38,17 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
- 
- // Information as gleaned from /usr/include/ctype.h
- 
-+#ifndef _CTYPE_BL
-   extern "C" const u_int8_t _C_ctype_[];
-+#endif
- 
-   const ctype_base::mask*
-   ctype<char>::classic_table() throw()
-+#ifdef _CTYPE_BL
-+  { return _C_ctype_tab_ + 1; }
-+#else
-   { return _C_ctype_ + 1; }
-+#endif
- 
-   ctype<char>::ctype(__c_locale, const mask* __table, bool __del,
- 		     size_t __refs)
-@@ -69,14 +75,14 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
- 
-   char
-   ctype<char>::do_toupper(char __c) const
--  { return ::toupper((int) __c); }
-+  { return ::toupper((int)(unsigned char) __c); }
- 
-   const char*
-   ctype<char>::do_toupper(char* __low, const char* __high) const
-   {
-     while (__low < __high)
-       {
--	*__low = ::toupper((int) *__low);
-+	*__low = ::toupper((int)(unsigned char) *__low);
- 	++__low;
-       }
-     return __high;
-@@ -84,14 +90,14 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
- 
-   char
-   ctype<char>::do_tolower(char __c) const
--  { return ::tolower((int) __c); }
-+  { return ::tolower((int)(unsigned char) __c); }
- 
-   const char*
-   ctype<char>::do_tolower(char* __low, const char* __high) const
-   {
-     while (__low < __high)
-       {
--	*__low = ::tolower((int) *__low);
-+	*__low = ::tolower((int)(unsigned char) *__low);
- 	++__low;
-       }
-     return __high;
diff --git a/gcc7snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h b/gcc7snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h
deleted file mode 100644
index c1b963cdb0..0000000000
--- a/gcc7snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-libstdc++-v3_config_os_bsd_netbsd_ctype__inline.h,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- libstdc++-v3/config/os/bsd/netbsd/ctype_inline.h.orig	2013-02-03 17:54:05.000000000 +0000
-+++ libstdc++-v3/config/os/bsd/netbsd/ctype_inline.h
-@@ -48,7 +48,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
-   is(const char* __low, const char* __high, mask* __vec) const
-   {
-     while (__low < __high)
--      *__vec++ = _M_table[*__low++];
-+      *__vec++ = _M_table[(unsigned char)*__low++];
-     return __high;
-   }
- 
diff --git a/gcc7snapshot/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h b/gcc7snapshot/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h
deleted file mode 100644
index 0d735528fa..0000000000
--- a/gcc7snapshot/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-libstdc++-v3_libsupc++_unwind-cxx.h,v 1.1 2014/10/19 10:50:57 keckhardt Exp $
-
---- libstdc++-v3/libsupc++/unwind-cxx.h.orig	2013-03-19 17:04:44.000000000 +0000
-+++ libstdc++-v3/libsupc++/unwind-cxx.h
-@@ -38,6 +38,7 @@
- #include <cxxabi.h>
- 
- #ifdef _GLIBCXX_HAVE_SYS_SDT_H
-+#include <cstdlib>
- #include <sys/sdt.h>
- /* We only want to use stap probes starting with v3.  Earlier versions
-    added too much startup cost.  */
diff --git a/gcc7snapshot/test_summary.log.gz b/gcc7snapshot/test_summary.log.gz
deleted file mode 100644
index 551279f2fb..0000000000
Binary files a/gcc7snapshot/test_summary.log.gz and /dev/null differ
diff --git a/gcc7snapshot/version.mk b/gcc7snapshot/version.mk
deleted file mode 100644
index c2cb462c03..0000000000
--- a/gcc7snapshot/version.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-# $NetBSD: version.mk,v 1.21 2015/05/06 05:25:00 keckhardt Exp $
-GCC7S_DIST_VERSION:=	7-20170420
diff --git a/gcc8snapshot/DESCR b/gcc8snapshot/DESCR
deleted file mode 100644
index e1291cbc05..0000000000
--- a/gcc8snapshot/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-The GNU Compiler Collection (GCC) includes front ends for C, C++, Objective-C,
-Fortran, and Go.
-
-This package provides the development version of version 8.x.
diff --git a/gcc8snapshot/Makefile b/gcc8snapshot/Makefile
deleted file mode 100644
index 211e4c0548..0000000000
--- a/gcc8snapshot/Makefile
+++ /dev/null
@@ -1,179 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2014/12/10 06:10:46 keckhardt Exp $
-
-GCC_PKGNAME=		gcc8snapshot
-.include		"version.mk"
-
-DISTNAME=	gcc-${GCC8S_DIST_VERSION}
-PKGNAME=	${GCC_PKGNAME}-${GCC8S_DIST_VERSION}
-## When bumping the PKGREVISION of this package the PKGREVISION of
-## lang/gcc7-libs needs to be bump to be at least 1 more than the
-## PKGREVISION of this package!
-CATEGORIES=	lang
-#MASTER_SITES=	${MASTER_SITE_GNU:=gcc/snapshots/${GCC8S_DIST_VERSION}/}
-MASTER_SITES+=	ftp://ftp.fu-berlin.de/unix/languages/gcc/snapshots/${GCC8S_DIST_VERSION}/
-EXTRACT_SUFX=	.tar.xz
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	http://gcc.gnu.org/
-COMMENT=	The GNU Compiler Collection (GCC) - 7.0 Release Series
-LICENSE=	gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
-
-DISTFILES=		${DEFAULT_DISTFILES}
-EXTRACT_ONLY=		${DEFAULT_DISTFILES}
-
-NOT_FOR_PLATFORM=	Interix-*-*
-
-USE_LANGUAGES=		c c++
-USE_TOOLS+=		gmake makeinfo sed:run tar:build
-USE_TOOLS.NetBSD+=	gsed
-
-GNU_CONFIGURE=		yes
-## Build outside ${WRKSRC}
-OBJDIR=			../build
-CONFIGURE_DIRS=		${OBJDIR}
-CONFIGURE_SCRIPT=	../${DISTNAME}/configure
-GCC_SUBPREFIX=		${GCC_PKGNAME}
-GCC_PREFIX=		${PREFIX}/${GCC_SUBPREFIX}
-GNU_CONFIGURE_PREFIX=	${GCC_PREFIX}
-INFO_FILES=		yes
-
-UNLIMIT_RESOURCES+=	datasize
-UNLIMIT_RESOURCES+=	stacksize
-
-SUBST_CLASSES+=		vars
-SUBST_MESSAGE.vars=	Setting target machine name path in ${SUBST_FILES.vars}
-SUBST_STAGE.vars=	pre-configure
-SUBST_FILES.vars=	gcc/Makefile.in
-SUBST_VARS.vars=	GCC_TARGET_MACHINE
-
-
-.include "../../mk/bsd.prefs.mk"
-
-LANGS=			c
-
-# In some cases LINKER_RPATH_FLAG needs a trailing space.
-LINKER_RPATH_FLAG:=	${LINKER_RPATH_FLAG:S/-rpath/& /}
-
-## The Library rpath to use in end programs.
-LDFLAGS_FOR_TARGET=	${LDFLAGS:M${COMPILER_RPATH_FLAG}*:N*/usr/lib*}
-
-# The "-static-libstdc++ -static-libgcc" flags are normally added to the
-# boot-ldflags by configure but because we are supply the boot-ldflags
-# we mash supply them.
-BOOT_LDFLAGS=		-static-libstdc++ -static-libgcc ${LDFLAGS_FOR_TARGET}
-# Needed on Darwin when LDFLAGS point to a SDK
-BOOT_LDFLAGS+=		${LDFLAGS:M-Wl,-syslibroot*}
-# GCC does not understand this option; remove it, or stage build will fail
-BUILDLINK_TRANSFORM+=	rm:-stdlib=libc++
-
-.include "options.mk"
-
-## For graphite support.
-.if !empty(PKG_OPTIONS:Mgcc-graphite)
-
-post-extract:
-	${TAR} -jxf ${DISTDIR}/${ISL16}.tar.bz2 -C ${WRKSRC}
-	${MV} ${WRKSRC}/${ISL16} ${WRKSRC}/isl
-.endif
-
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-*)
-# on NetBSD, use the native SSP code in libc
-CONFIGURE_ARGS+=	--disable-libssp
-.else
-CONFIGURE_ARGS+=	--enable-libssp
-.endif
-
-## For target librarys and libjava programs.
-CONFIGURE_ENV+=		LDFLAGS_FOR_TARGET=${LDFLAGS_FOR_TARGET:Q}
-
-CONFIGURE_ARGS+=	--enable-languages=${LANGS:Q}
-CONFIGURE_ARGS+=	--enable-shared
-CONFIGURE_ARGS+=	--enable-long-long
-CONFIGURE_ARGS+=	--with-local-prefix=${GCC_PREFIX:Q}
-CONFIGURE_ARGS+=	--enable-threads=posix
-CONFIGURE_ARGS+=	--with-boot-ldflags=${BOOT_LDFLAGS:Q}
-.if ${OPSYS} == "NetBSD"
-CONFIGURE_ARGS+=	--with-gnu-ld --with-ld=/usr/bin/ld
-CONFIGURE_ARGS+=	--with-gnu-as --with-as=/usr/bin/as
-MAKE_ENV+=		ac_cv_func_clock_gettime=yes
-MAKE_ENV+=		ac_cv_func_gethostbyname_r=no
-MAKE_ENV+=		ac_cv_func_freelocale=no
-MAKE_ENV+=		ac_cv_func_newlocale=no
-MAKE_ENV+=		ac_cv_func_uselocale=no
-.endif
-.if ${OPSYS} == "DragonFly"
-CONFIGURE_ARGS+=	--disable-bootstrap
-.endif
-
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || !empty(MACHINE_PLATFORM:MLinux-*-i386)
-CONFIGURE_ARGS+=	--with-arch=i486 --with-tune=i486
-.endif
-
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) || !empty(MACHINE_PLATFORM:MLinux-*-x86_64)
-CONFIGURE_ARGS+=	--with-arch=nocona --with-tune=nocona --with-fpmath=sse
-.endif
-
-.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
-CONFIGURE_ARGS+=	--with-dwarf2
-.endif
-
-
-# ${WRKSRC}/fixincludes/ looks for sed and compiles the path to sed into
-# a binary so we need to make sure we give it the installed sed and not
-# the tool wrapped one.
-MAKE_ENV+=		ac_cv_path_SED=${TOOLS_SED}
-MAKE_ENV+=		lt_cv_path_SED=${TOOLS_SED}
-
-# Determine whether to use binutils
-.if ${OPSYS} == "SunOS"
-.  if exists(/usr/sfw/bin/gobjdump)
-CONFIGURE_ENV+=		OBJDUMP=/usr/sfw/bin/gobjdump
-.  endif
-.  if exists(/usr/bin/ld)
-CONFIGURE_ARGS+=	--without-gnu-ld --with-ld=/usr/bin/ld
-.  else
-CONFIGURE_ARGS+=	--without-gnu-ld --with-ld=/usr/ccs/bin/ld
-.  endif
-.  if exists(/usr/sfw/bin/gas)
-CONFIGURE_ARGS+=	--with-gnu-as --with-as=/usr/sfw/bin/gas
-.  elif exists(/usr/ccs/bin/as)
-CONFIGURE_ARGS+=	--without-gnu-as --with-as=/usr/ccs/bin/as
-.  else
-BUILDLINK_DEPMETHOD.binutils=	full
-.    include "../../devel/binutils/buildlink3.mk"
-CONFIGURE_ARGS+=	--with-gnu-as --with-as=${PREFIX}/bin/gas
-.  endif
-.endif
-
-pre-configure:
-	${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
-
-TEST_TARGET=	-j ${MAKE_JOBS} -k check || ${TRUE}
-pre-test:
-	${RUN} 							\
-	if runtest --version >/dev/null 2>/dev/null ; then	\
-		: ;						\
-	else							\
-	  ${ECHO} "ERROR: Please install devel/dejagnu in order to run the test suite." ; \
-	  exit 1 ;						\
-	fi
-post-test:
-	${RUN} cd ${WRKSRC} && cd ${OBJDIR} &&		\
-	${SHELL} ${WRKSRC}/contrib/test_summary >${WRKDIR}/test_summary.log
-	@${INFO_MSG} "Test summary are available in ${WRKDIR}/test_summary.log"
-
-post-install:
-	${TEST} -f ${DESTDIR}${GCC_PREFIX}/bin/cc || \
-		( cd ${DESTDIR}${GCC_PREFIX}/bin ; ${LN} -f gcc cc )
-.if !empty(MACHINE_PLATFORM:MSunOS-*-*86*) && ${OS_VERSION} != "5.11"
-	${SH} files/values.c ${DESTDIR}${GCC_PREFIX}/bin/gcc -m32 || ${TRUE}
-	${SH} files/values.c ${DESTDIR}${GCC_PREFIX}/bin/gcc -m64 || ${TRUE}
-.endif
-
-GENERATE_PLIST+= \
-	cd ${DESTDIR}${PREFIX} && 					\
-	${FIND} ${GCC_SUBPREFIX} \( -type f -o -type l \) -print | ${SORT} ;
-
-.include "../../mk/dlopen.buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/gcc8snapshot/buildlink3.mk b/gcc8snapshot/buildlink3.mk
deleted file mode 100644
index bc93ca3864..0000000000
--- a/gcc8snapshot/buildlink3.mk
+++ /dev/null
@@ -1,31 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.1 2014/10/19 10:6:56 keckhardt Exp $
-
-BUILDLINK_TREE+=	gcc7snapshot
-
-.if !defined(GCC7_BUILDLINK3_MK)
-GCC6SNAPSHOT_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.gcc7snapshot+=	gcc6>=${_GCC_REQD}
-BUILDLINK_ABI_DEPENDS.gcc7snapshot+=	gcc6>=7.0
-BUILDLINK_PKGSRCDIR.gcc7snapshot=	../../wip/gcc7snapshot
-BUILDLINK_DEPMETHOD.gcc7snapshot?=	build
-
-BUILDLINK_FILES.gcc7snapshot=		#empty
-BUILDLINK_AUTO_VARS.gcc7snapshot=	no
-
-# Packages that link against shared libraries need a full dependency.
-#.if defined(_USE_GCC_SHLIB)
-#DEPENDS+=	{gcc7, gcc7-libs}>=${_GCC_REQD}:../../lang/gcc7-libs
-#ABI_DEPENDS+=	{gcc7,gcc7-libs}>=7.0:../../lang/gcc7-libs
-#.endif
-
-pkgbase := gcc7snapshot
-.include "../../mk/pkg-build-options.mk"
-.if !empty(PKG_BUILD_OPTIONS.gcc7snapshot:Mgcc-java)
-.include "../../devel/zlib/buildlink3.mk"
-.endif
-
-.include "../../mk/dlopen.buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-.endif # GCC7SNAPSHOT_BUILDLINK3_MK
-BUILDLINK_TREE+=	-gcc7snapshot
diff --git a/gcc8snapshot/distinfo b/gcc8snapshot/distinfo
deleted file mode 100644
index d4422249d6..0000000000
--- a/gcc8snapshot/distinfo
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: distinfo,v 1.23 2015/05/06 05:25:00 keckhardt Exp $
-
-SHA1 (gcc-8-20180107.tar.xz) = 0a1b721564cc302a90997c8caf3dc8bce7c08eef
-RMD160 (gcc-8-20180107.tar.xz) = 01c6e7d0fee44f1367f298d9a85d047f7dffb35e
-SHA512 (gcc-8-20180107.tar.xz) = 3646cad0a7159ce90b7caa8e1996f54c0a2d39df0872ba61557588671d22da8a3c5c3e50038b3a9b5c3bf7d910feda832cdacede18667a4514a74fd2d00e1a8e
-Size (gcc-8-20180107.tar.xz) = 60588956 bytes
-SHA1 (isl-0.16.1.tar.bz2) = c5a2b201bf05229647e73203c0bf2d9679d4d21f
-RMD160 (isl-0.16.1.tar.bz2) = 5a99db3fe0d0a1f6bbac1ed4448f2403495c55b2
-SHA512 (isl-0.16.1.tar.bz2) = c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
-Size (isl-0.16.1.tar.bz2) = 1626446 bytes
-SHA1 (patch-contrib_download__prerequisites) = 86c6c16e0e3e3a0bcb38579a8b4004f603fac1ca
-SHA1 (patch-gcc_Makefile.in) = c0f97c75ba1d37eae894141edd58bb36b734f651
-SHA1 (patch-gcc_config.gcc) = c57c3668688a96950a706cb9643b40e5631545f9
-SHA1 (patch-gcc_config_arm_arm.h) = cb8c938735ed1500dc39c3535563aeb550827a4c
-SHA1 (patch-gcc_config_netbsd-protos.h) = 6d28864b4ccc8c1a63fe28e43601b84b63a00633
-SHA1 (patch-gcc_config_t-netbsd) = 802ad5706aa7ca9629f8e237f08fbb1569d28846
-SHA1 (patch-gcc_config_x-netbsd) = 6dc3d78e26df62054ea29f98ca51592858e671e3
-SHA1 (patch-gcc_configure) = 15fb7af267b79965f83bc64ce8aad1279b0ea52d
-SHA1 (patch-gcc_ggc-common.c) = a5d2dba635859f5d680c3f80d7c30b42461c752b
-SHA1 (patch-gcc_lto_lto.c) = 7bd85ac8ade76a28c394f6fbe5d495f91824f79f
-SHA1 (patch-isl_configure) = 36b37778ee13c0b364fb24d5864d6a9e65b29b7d
-SHA1 (patch-libffi_configure) = bcfbfe8abddc378e2de4a39ad0669583b37e0292
-SHA1 (patch-libffi_testsuite_libffi.call_float2.c) = 6321dde308579448c27c2b6e1e30633699dd145f
-SHA1 (patch-libgcc_config.host) = bdd4cd27249c8b62793204428d95c977d58f06fb
-SHA1 (patch-libgcc_crtstuff.c) = e3a3b02a26229992851f195b5701cb1b86c29efe
-SHA1 (patch-libgfortran_io_io.h) = d44676239a7f45e42054d24bd5224f43c20055c0
-SHA1 (patch-libsanitizer_configure.tgt) = 0a47782f01631d1c91e28a8735865c8571fbcf7d
-SHA1 (patch-libsanitizer_sanitizer__common_Makefile.am) = 4cf6c4f5189078e8f092bfefc1f57ff32d5319ee
-SHA1 (patch-libsanitizer_sanitizer__common_Makefile.in) = 62382c683e98bd8f2f27bd07ef01bdfadcdf256a
-SHA1 (patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h) = 1b907114f8b3477400fabc7b84ca5c16cd9c2930
-SHA1 (patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc) = d498ce411dfcd57652f87957778fab66dd4ab9a0
diff --git a/gcc8snapshot/options.mk b/gcc8snapshot/options.mk
deleted file mode 100644
index 528c7079ed..0000000000
--- a/gcc8snapshot/options.mk
+++ /dev/null
@@ -1,131 +0,0 @@
-# $NetBSD: options.mk,v 1.2 2014/12/10 06:10:46 keckhardt Exp $
-
-PKG_OPTIONS_VAR=	PKG_OPTIONS.${GCC_PKGNAME}
-PKG_SUPPORTED_OPTIONS=	nls gcc-inplace-math gcc-c++ gcc-fortran \
-			gcc-go gcc-objc gcc-objc++ gcc-graphite
-PKG_SUGGESTED_OPTIONS=	gcc-c++ gcc-fortran gcc-objc gcc-objc++ \
-			gcc-graphite gcc-inplace-math
-
-.if ${OPSYS} == "NetBSD"
-PKG_SUGGESTED_OPTIONS+=	nls
-.elif ${OPSYS} == "Linux"
-PKG_SUGGESTED_OPTIONS+=	nls
-.elif ${OPSYS} == "DragonFly"
-PKG_SUGGESTED_OPTIONS+=	nls
-.elif ${OPSYS} == "SunOS"
-PKG_SUGGESTED_OPTIONS+=	gcc-inplace-math
-.else
-.endif
-
-###
-### Determine if multilib is avalible.
-###
-MULTILIB_SUPPORTED?=	unknown
-.if !empty(MACHINE_PLATFORM:MLinux-*-x86_64)
-.  if exists(/usr/include/gnu/stubs-64.h) && \
-     !exists(/usr/include/gnu/stubs-32.h)
-MULTILIB_SUPPORTED=	No
-.  else
-MULTILIB_SUPPORTED=	Yes
-.  endif
-.endif
-.if !empty(MULTILIB_SUPPORTED:M[Yy][Ee][Ss])
-PKG_SUPPORTED_OPTIONS+=	gcc-multilib
-PKG_SUGGESTED_OPTIONS+=	gcc-multilib
-.endif
-
-.include "../../mk/bsd.options.mk"
-
-###
-### Native Language Support
-###
-.if !empty(PKG_OPTIONS:Mnls)
-USE_TOOLS+=		msgfmt
-CONFIGURE_ARGS+=	--enable-nls
-CONFIGURE_ARGS+=	--with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
-MAKE_ENV+=		ICONVPREFIX=${BUILDLINK_PREFIX.iconv}
-.include "../../converters/libiconv/buildlink3.mk"
-.include "../../devel/gettext-lib/buildlink3.mk"
-.else
-CONFIGURE_ARGS+=	--disable-nls
-.endif
-
-###
-### Multilib Support
-###
-.if (!empty(MULTILIB_SUPPORTED:M[Yy][Ee][Ss]) && \
-      empty(PKG_OPTIONS:Mgcc-multilib) ) || \
-    !empty(MULTILIB_SUPPORTED:M[Nn][Oo])
-CONFIGURE_ARGS+=	--disable-multilib
-.endif
-
-###
-### Build math libraries in place
-###
-.if !empty(PKG_OPTIONS:Mgcc-inplace-math)
-.  include "../../devel/gmp/inplace.mk"
-.  include "../../math/mpcomplex/inplace.mk"
-.  include "../../math/mpfr/inplace.mk"
-.else
-CONFIGURE_ARGS+=	--with-gmp=${BUILDLINK_PREFIX.gmp}
-CONFIGURE_ARGS+=	--with-mpc=${BUILDLINK_PREFIX.mpcomplex}
-CONFIGURE_ARGS+=	--with-mpfr=${BUILDLINK_PREFIX.mpfr}
-LIBS.SunOS+=		-lgmp
-.  include "../../devel/gmp/buildlink3.mk"
-.  include "../../math/mpcomplex/buildlink3.mk"
-.  include "../../math/mpfr/buildlink3.mk"
-.endif
-
-
-###
-### Graphite Support
-###
-.if !empty(PKG_OPTIONS:Mgcc-graphite)
-ISL16=		isl-0.16.1
-SITES.${ISL16}.tar.bz2= ${MASTER_SITE_GNU:=gcc/infrastructure/}
-DISTFILES+=	${ISL16}.tar.bz2
-.endif
-
-###
-### Optional languages
-### Ada could be added although there is a bootstrapping issue.  See
-### ../gcc34-ada for guidance
-###
-
-.if !empty(PKG_OPTIONS:Mgcc-objc++)
-.  if empty(PKG_OPTIONS:Mgcc-c++)
-PKG_OPTIONS+=		gcc-c++
-.  endif
-.  if empty(PKG_OPTIONS:Mgcc-objc)
-PKG_OPTIONS+=		gcc-objc
-.  endif
-LANGS+=			obj-c++
-.endif
-
-.if !empty(PKG_OPTIONS:Mgcc-objc)
-LANGS+=			objc
-.endif
-
-USE_TOOLS+=		unzip zip:run gmake:run
-CONFIGURE_ARGS+=	--with-system-zlib
-
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../lang/python/application.mk"
-
-.if !empty(PKG_OPTIONS:Mgcc-go)
-LANGS+=			go
-.endif
-
-.if !empty(PKG_OPTIONS:Mgcc-fortran)
-LANGS+=			fortran
-.endif
-
-.if !empty(PKG_OPTIONS:Mgcc-c++)
-LANGS+=			c++
-USE_TOOLS+=		perl
-CONFIGURE_ARGS+=	--enable-__cxa_atexit
-CONFIGURE_ARGS+=	--with-gxx-include-dir=${GCC_PREFIX}/include/c++/
-.else
-CONFIGURE_ARGS+=	--disable-build-with-cxx
-CONFIGURE_ARGS+=	--disable-build-poststage1-with-cxx
-.endif
diff --git a/gcc8snapshot/patches/patch-contrib_download__prerequisites b/gcc8snapshot/patches/patch-contrib_download__prerequisites
deleted file mode 100644
index 8caf26d142..0000000000
--- a/gcc8snapshot/patches/patch-contrib_download__prerequisites
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-contrib_download__prerequisites,v 1.1 2017/05/03 00:21:03 maya Exp $
-
-Non-portable test
-
---- contrib/download_prerequisites.orig	2017-04-11 16:34:07.000000000 +0000
-+++ contrib/download_prerequisites
-@@ -122,7 +122,7 @@ md5_check() {
-   md5_checksum_output=$(md5 -r "${file_to_check}")
-   # Grab the text before the first space
-   md5_checksum_detected="${md5_checksum_output%% *}"
--  [ "${md5_checksum_expected}" == "${md5_checksum_detected}" ] \
-+  [ "${md5_checksum_expected}" = "${md5_checksum_detected}" ] \
-     || die "Cannot verify integrity of possibly corrupted file ${file_to_check}"
-   echo "${file_to_check}: OK"
- }
diff --git a/gcc8snapshot/patches/patch-gcc_Makefile.in b/gcc8snapshot/patches/patch-gcc_Makefile.in
deleted file mode 100644
index d52bcf4057..0000000000
--- a/gcc8snapshot/patches/patch-gcc_Makefile.in
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-gcc_Makefile.in,v 1.1 2017/05/03 00:21:03 maya Exp $
-
-Add gcc libdir to a programs rpath so that _this gcc's_ support libraries
-are found.
-
---- gcc/Makefile.in.orig	2017-04-18 18:10:27.000000000 +0000
-+++ gcc/Makefile.in
-@@ -2112,6 +2112,7 @@ prefix.o: $(BASEVER)
- # Language-independent files.
- 
- DRIVER_DEFINES = \
-+  -DLINK_LIBGCC_SPEC="\"%D $(LINKER_RPATH_FLAG) $(prefix)//lib/%M $(LINKER_RPATH_FLAG) $(libdir)/%M \"" \
-   -DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \
-   -DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \
-   -DSTANDARD_LIBEXEC_PREFIX=\"$(libexecdir)/gcc/\" \
diff --git a/gcc8snapshot/patches/patch-gcc_config.gcc b/gcc8snapshot/patches/patch-gcc_config.gcc
deleted file mode 100644
index 19bb6642a5..0000000000
--- a/gcc8snapshot/patches/patch-gcc_config.gcc
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD$
-
---- gcc/config.gcc.orig	2017-10-21 21:09:53.000000000 +0000
-+++ gcc/config.gcc
-@@ -801,6 +801,11 @@ case ${target} in
-   gas=yes
-   gnu_ld=yes
-   use_gcc_stdint=wrap
-+  # cabs/cabsf are renamed to __c99_cabs/cabsf
-+  tm_p_file="${tm_p_file} netbsd-protos.h"
-+  target_gtfiles="${target_gtfiles} \$(srcdir)/config/netbsd.c"
-+  extra_objs="${extra_objs} netbsd.o"
-+  default_gnu_indirect_function=yes
-   case ${enable_threads} in
-     "" | yes | posix) thread_file='posix' ;;
-   esac
-@@ -1498,10 +1503,12 @@ x86_64-*-freebsd*)
- i[34567]86-*-netbsdelf*)
- 	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${nbsd_tm_file} i386/netbsd-elf.h"
- 	extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
-+	tmake_file="${tmake_file} i386/t-crtstuff"
- 	;;
- x86_64-*-netbsd*)
- 	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${nbsd_tm_file} i386/x86-64.h i386/netbsd64.h"
- 	extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
-+	tmake_file="${tmake_file} i386/t-crtstuff"
- 	;;
- i[34567]86-*-openbsd*)
- 	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h"
diff --git a/gcc8snapshot/patches/patch-gcc_config_arm_arm.h b/gcc8snapshot/patches/patch-gcc_config_arm_arm.h
deleted file mode 100644
index cfb85f4e84..0000000000
--- a/gcc8snapshot/patches/patch-gcc_config_arm_arm.h
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-gcc_config_arm_arm.h,v 1.1 2017/05/03 00:21:03 maya Exp $
-
-driver-arm.o is only included for freebsd/arm and linux/arm, and
-it is responsible for the definition of host_detect_local_cpu.
-
-Without it, we get an undefined reference.
-
-GCC bugzilla #77800
-
---- gcc/config/arm/arm.h.orig	2017-06-16 21:04:23.000000000 +0000
-+++ gcc/config/arm/arm.h
-@@ -2245,7 +2245,7 @@ extern const char *arm_target_thumb_only
- 
- /* -mcpu=native handling only makes sense with compiler running on
-    an ARM chip.  */
--#if defined(__arm__)
-+#if defined(__arm__) && (defined(__FreeBSD__) || defined(__linux__))
- extern const char *host_detect_local_cpu (int argc, const char **argv);
- # define MCPU_MTUNE_NATIVE_FUNCTIONS			\
-   { "local_cpu_detect", host_detect_local_cpu },
diff --git a/gcc8snapshot/patches/patch-gcc_config_netbsd-protos.h b/gcc8snapshot/patches/patch-gcc_config_netbsd-protos.h
deleted file mode 100644
index 79c37d87d5..0000000000
--- a/gcc8snapshot/patches/patch-gcc_config_netbsd-protos.h
+++ /dev/null
@@ -1,34 +0,0 @@
-$NetBSD: patch-gcc_config_netbsd-protos.h,v 1.1 2017/05/03 00:21:03 maya Exp $
-
---- /dev/null	2014-12-15 07:13:57.000000000 +0000
-+++ gcc/config/netbsd-protos.h
-@@ -0,0 +1,29 @@
-+/* Prototypes.
-+   Copyright (C) 2001-2014 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
-+<http://www.gnu.org/licenses/>.  */
-+
-+#ifndef _NETBSD_PROTOS_H_
-+#define _NETBSD_PROTOS_H_
-+
-+double __c99_cabs (double complex);
-+float __c99_cabsf (float complex);
-+long double __c99_cabsl (long double complex);
-+
-+void netbsd_patch_builtins (void);
-+
-+#endif /* _NETBSD_PROTOS_H_ */
diff --git a/gcc8snapshot/patches/patch-gcc_config_t-netbsd b/gcc8snapshot/patches/patch-gcc_config_t-netbsd
deleted file mode 100644
index 2488b61654..0000000000
--- a/gcc8snapshot/patches/patch-gcc_config_t-netbsd
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-gcc_config_t-netbsd,v 1.1 2017/05/03 00:21:03 maya Exp $
-
---- /dev/null	2014-12-16 20:23:05.000000000 +0000
-+++ gcc/config/t-netbsd
-@@ -0,0 +1,23 @@
-+# Copyright (C) 2002-2014 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
-+# <http://www.gnu.org/licenses/>.
-+
-+
-+netbsd.o: $(srcdir)/config/netbsd.c
-+	$(COMPILE) $<
-+	$(POSTCOMPILE)
-+
diff --git a/gcc8snapshot/patches/patch-gcc_config_x-netbsd b/gcc8snapshot/patches/patch-gcc_config_x-netbsd
deleted file mode 100644
index 9b1d948685..0000000000
--- a/gcc8snapshot/patches/patch-gcc_config_x-netbsd
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-gcc_config_x-netbsd,v 1.1 2017/05/03 00:21:03 maya Exp $
-
-Add host hooks for NetBSD - needed for working precompiled headers.
-http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58397
-
---- /dev/null	2013-09-11 09:12:57.000000000 +0200
-+++ gcc/config/x-netbsd	2013-09-10 18:57:27.000000000 +0200
-@@ -0,0 +1,4 @@
-+host-netbsd.o : $(srcdir)/config/host-netbsd.c $(CONFIG_H) $(SYSTEM_H) \
-+  coretypes.h hosthooks.h hosthooks-def.h $(HOOKS_H)
-+	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
-+		$(srcdir)/config/host-netbsd.c
diff --git a/gcc8snapshot/patches/patch-gcc_configure b/gcc8snapshot/patches/patch-gcc_configure
deleted file mode 100644
index 4d1ded0e9b..0000000000
--- a/gcc8snapshot/patches/patch-gcc_configure
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-gcc_configure,v 1.1 2017/05/03 00:21:03 maya Exp $
-
---- gcc/configure.orig	2015-09-30 23:06:11.000000000 +0000
-+++ gcc/configure
-@@ -28321,7 +28321,7 @@ case "$target" in
-       gcc_cv_target_dl_iterate_phdr=no
-     fi
-     ;;
--  *-*-dragonfly* | *-*-freebsd*)
-+  *-*-dragonfly* | *-*-freebsd* | *-*-netbsd* )
-     if grep dl_iterate_phdr $target_header_dir/sys/link_elf.h > /dev/null 2>&1; then
-       gcc_cv_target_dl_iterate_phdr=yes
-     else
diff --git a/gcc8snapshot/patches/patch-gcc_ggc-common.c b/gcc8snapshot/patches/patch-gcc_ggc-common.c
deleted file mode 100644
index f566a0e072..0000000000
--- a/gcc8snapshot/patches/patch-gcc_ggc-common.c
+++ /dev/null
@@ -1,71 +0,0 @@
-$NetBSD: patch-gcc_ggc-common.c,v 1.1 2017/05/03 00:21:03 maya Exp $
-
---- gcc/ggc-common.c.orig	2014-12-10 03:45:40.000000000 +0000
-+++ gcc/ggc-common.c
-@@ -603,6 +603,8 @@ gt_pch_restore (FILE *f)
-   size_t i;
-   struct mmap_info mmi;
-   int result;
-+  struct line_maps * old_line_table = line_table;
-+  location_t old_input_loc = input_location;
- 
-   /* Delete any deletable objects.  This makes ggc_pch_read much
-      faster, as it can be sure that no GCable objects remain other
-@@ -616,32 +618,50 @@ gt_pch_restore (FILE *f)
-   /* Read in all the scalar variables.  */
-   for (rt = gt_pch_scalar_rtab; *rt; rt++)
-     for (rti = *rt; rti->base != NULL; rti++)
--      if (fread (rti->base, rti->stride, 1, f) != 1)
-+      if (fread (rti->base, rti->stride, 1, f) != 1) {
-+        line_table = old_line_table;
-+        input_location = old_input_loc;
- 	fatal_error (input_location, "can%'t read PCH file: %m");
-+      }
- 
-   /* Read in all the global pointers, in 6 easy loops.  */
-   for (rt = gt_ggc_rtab; *rt; rt++)
-     for (rti = *rt; rti->base != NULL; rti++)
-       for (i = 0; i < rti->nelt; i++)
- 	if (fread ((char *)rti->base + rti->stride * i,
--		   sizeof (void *), 1, f) != 1)
-+		   sizeof (void *), 1, f) != 1) {
-+          line_table = old_line_table;
-+          input_location = old_input_loc;
- 	  fatal_error (input_location, "can%'t read PCH file: %m");
-+        }
- 
--  if (fread (&mmi, sizeof (mmi), 1, f) != 1)
-+  if (fread (&mmi, sizeof (mmi), 1, f) != 1) {
-+    line_table = old_line_table;
-+    input_location = old_input_loc;
-     fatal_error (input_location, "can%'t read PCH file: %m");
-+  }
- 
-   result = host_hooks.gt_pch_use_address (mmi.preferred_base, mmi.size,
- 					  fileno (f), mmi.offset);
--  if (result < 0)
-+  if (result < 0) {
-+    line_table = old_line_table;
-+    input_location = old_input_loc;
-     fatal_error (input_location, "had to relocate PCH");
-+  }
-   if (result == 0)
-     {
-       if (fseek (f, mmi.offset, SEEK_SET) != 0
--	  || fread (mmi.preferred_base, mmi.size, 1, f) != 1)
-+	  || fread (mmi.preferred_base, mmi.size, 1, f) != 1) {
-+        line_table = old_line_table;
-+        input_location = old_input_loc;
- 	fatal_error (input_location, "can%'t read PCH file: %m");
-+      }
-     }
--  else if (fseek (f, mmi.offset + mmi.size, SEEK_SET) != 0)
--    fatal_error (input_location, "can%'t read PCH file: %m");
-+  else if (fseek (f, mmi.offset + mmi.size, SEEK_SET) != 0) {
-+        line_table = old_line_table;
-+        input_location = old_input_loc;
-+        fatal_error (input_location, "can%'t read PCH file: %m");
-+  }
- 
-   ggc_pch_read (f, mmi.preferred_base);
- 
diff --git a/gcc8snapshot/patches/patch-gcc_lto_lto.c b/gcc8snapshot/patches/patch-gcc_lto_lto.c
deleted file mode 100644
index 24548d1d2f..0000000000
--- a/gcc8snapshot/patches/patch-gcc_lto_lto.c
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD$
-
-Better fallback for netbsd<8 lacking WALLSIG.
-
---- gcc/lto/lto.c.orig	2018-01-03 21:42:12.000000000 +0000
-+++ gcc/lto/lto.c
-@@ -2321,7 +2321,11 @@ wait_for_child ()
-   do
-     {
- #ifndef WCONTINUED
--#define WCONTINUED 0
-+#  ifdef WALLSIG
-+#    define WCONTINUED WALLSIG
-+#  else
-+#    define WCONTINUED 0
-+#  endif
- #endif
-       int w = waitpid (0, &status, WUNTRACED | WCONTINUED);
-       if (w == -1)
diff --git a/gcc8snapshot/patches/patch-isl_configure b/gcc8snapshot/patches/patch-isl_configure
deleted file mode 100644
index bf7b06f067..0000000000
--- a/gcc8snapshot/patches/patch-isl_configure
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-isl_configure,v 1.1 2017/05/03 00:21:03 maya Exp $
-
-Make test portable
-
---- isl/configure.orig	2016-01-14 17:26:10.000000000 +0000
-+++ isl/configure
-@@ -17561,7 +17561,7 @@ else
- fi
- 
- 
-- if test "x$with_int" == "ximath-32"; then
-+ if test "x$with_int" = "ximath-32"; then
-   SMALL_INT_OPT_TRUE=
-   SMALL_INT_OPT_FALSE='#'
- else
-@@ -17569,7 +17569,7 @@ else
-   SMALL_INT_OPT_FALSE=
- fi
- 
--if test "x$with_int" == "ximath-32"; then :
-+if test "x$with_int" = "ximath-32"; then :
- 
- 
- $as_echo "#define USE_SMALL_INT_OPT /**/" >>confdefs.h
diff --git a/gcc8snapshot/patches/patch-libffi_configure b/gcc8snapshot/patches/patch-libffi_configure
deleted file mode 100644
index e6b73fc732..0000000000
--- a/gcc8snapshot/patches/patch-libffi_configure
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-libffi_configure,v 1.1 2017/05/03 00:21:03 maya Exp $
-
---- libffi/configure.orig	2013-06-01 17:03:49.000000000 +0000
-+++ libffi/configure
-@@ -12689,7 +12689,7 @@ case "$target" in
- $as_echo "#define FFI_EXEC_TRAMPOLINE_TABLE 1" >>confdefs.h
- 
-      ;;
--     *-apple-darwin1* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
-+     *-apple-darwin1* | *-*-freebsd* | *-*-kfreebsd* | *-*-netbsd* | *-*-openbsd* | *-pc-solaris*)
- 
- $as_echo "#define FFI_MMAP_EXEC_WRIT 1" >>confdefs.h
- 
diff --git a/gcc8snapshot/patches/patch-libffi_testsuite_libffi.call_float2.c b/gcc8snapshot/patches/patch-libffi_testsuite_libffi.call_float2.c
deleted file mode 100644
index 8145b80c0b..0000000000
--- a/gcc8snapshot/patches/patch-libffi_testsuite_libffi.call_float2.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-libffi_testsuite_libffi.call_float2.c,v 1.1 2017/05/03 00:21:03 maya Exp $
-
---- libffi/testsuite/libffi.call/float2.c.orig	2013-06-01 17:08:18.000000000 +0000
-+++ libffi/testsuite/libffi.call/float2.c
-@@ -45,7 +45,7 @@ int main (void)
-   /* This is ifdef'd out for now. long double support under SunOS/gcc
-      is pretty much non-existent.  You'll get the odd bus error in library
-      routines like printf().  */
--  printf ("%Lf, %Lf, %Lf, %Lf\n", ld, ldblit(f), ld - ldblit(f), LDBL_EPSILON);
-+  printf ("%Lf, %Lf, %Lf, %Lf\n", (long double)ld, (long double)ldblit(f), (long double)(ld - ldblit(f)), (long double)LDBL_EPSILON);
- #endif
- 
-   /* These are not always the same!! Check for a reasonable delta */
diff --git a/gcc8snapshot/patches/patch-libgcc_config.host b/gcc8snapshot/patches/patch-libgcc_config.host
deleted file mode 100644
index 79f3776dcf..0000000000
--- a/gcc8snapshot/patches/patch-libgcc_config.host
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD$
-
-Add libgcc x86 netbsd config
-
---- libgcc/config.host.orig	2017-03-10 19:33:27.000000000 +0000
-+++ libgcc/config.host
-@@ -605,10 +605,10 @@ x86_64-*-freebsd*)
- 	md_unwind_header=i386/freebsd-unwind.h
- 	;;
- i[34567]86-*-netbsdelf*)
--	tmake_file="${tmake_file} i386/t-crtstuff"
-+	tmake_file="${tmake_file} i386/t-netbsd i386/t-crtstuff"
- 	;;
- x86_64-*-netbsd*)
--	tmake_file="${tmake_file} i386/t-crtstuff"
-+	tmake_file="${tmake_file} i386/t-netbsd i386/t-crtstuff"
- 	;;
- i[34567]86-*-openbsd*)
- 	;;
diff --git a/gcc8snapshot/patches/patch-libgcc_crtstuff.c b/gcc8snapshot/patches/patch-libgcc_crtstuff.c
deleted file mode 100644
index aca55d4c94..0000000000
--- a/gcc8snapshot/patches/patch-libgcc_crtstuff.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-libgcc_crtstuff.c,v 1.1 2017/05/03 00:21:03 maya Exp $
-
---- libgcc/crtstuff.c.orig	2017-01-01 12:07:43.000000000 +0000
-+++ libgcc/crtstuff.c
-@@ -81,7 +81,7 @@ call_ ## FUNC (void)					\
- #endif
- 
- #if defined(TARGET_DL_ITERATE_PHDR) && \
--   (defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__))
-+   (defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__))
- #define BSD_DL_ITERATE_PHDR_AVAILABLE
- #endif
-  
diff --git a/gcc8snapshot/patches/patch-libgfortran_io_io.h b/gcc8snapshot/patches/patch-libgfortran_io_io.h
deleted file mode 100644
index 995f2d296e..0000000000
--- a/gcc8snapshot/patches/patch-libgfortran_io_io.h
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD$
-
-Don't declare old_locale* an internal_proto to avoid linking problems
-
---- libgfortran/io/io.h.orig	2018-01-07 10:17:52.000000000 +0000
-+++ libgfortran/io/io.h
-@@ -57,11 +57,8 @@ extern locale_t c_locale;
- internal_proto(c_locale);
- #else
- extern char* old_locale;
--internal_proto(old_locale);
- extern int old_locale_ctr;
--internal_proto(old_locale_ctr);
- extern __gthread_mutex_t old_locale_lock;
--internal_proto(old_locale_lock);
- #endif
- 
- 
diff --git a/gcc8snapshot/patches/patch-libsanitizer_configure.tgt b/gcc8snapshot/patches/patch-libsanitizer_configure.tgt
deleted file mode 100644
index 6b00f3fafa..0000000000
--- a/gcc8snapshot/patches/patch-libsanitizer_configure.tgt
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-libsanitizer_configure.tgt,v 1.1 2017/05/03 00:21:03 maya Exp $
-
---- libsanitizer/configure.tgt.orig	2017-10-05 10:39:32.000000000 +0000
-+++ libsanitizer/configure.tgt
-@@ -52,9 +52,13 @@ case "${target}" in
- 		TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_aarch64.lo
- 	fi
- 	;;
--  x86_64-*-darwin[1]* | i?86-*-darwin[1]*)
-+  x86_64-*-darwin[1][1-9]* | i?86-*-darwin[1][1-9]*)
- 	TSAN_SUPPORTED=no
- 	;;
-+  x86_64-*-netbsd*)
-+	TSAN_SUPPORTED=no
-+	LSAN_SUPPORTED=no
-+	;;
-   *)
- 	UNSUPPORTED=1
- 	;;
diff --git a/gcc8snapshot/patches/patch-libsanitizer_sanitizer__common_Makefile.am b/gcc8snapshot/patches/patch-libsanitizer_sanitizer__common_Makefile.am
deleted file mode 100644
index 6a3e3bb277..0000000000
--- a/gcc8snapshot/patches/patch-libsanitizer_sanitizer__common_Makefile.am
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD$
-
---- libsanitizer/sanitizer_common/Makefile.am.orig	2017-10-19 11:23:59.000000000 +0000
-+++ libsanitizer/sanitizer_common/Makefile.am
-@@ -40,6 +40,7 @@ sanitizer_common_files = \
- 	sanitizer_mac_libcdep.cc \
- 	sanitizer_persistent_allocator.cc \
- 	sanitizer_platform_limits_linux.cc \
-+	sanitizer_platform_limits_netbsd.cc \
- 	sanitizer_platform_limits_posix.cc \
- 	sanitizer_posix.cc \
- 	sanitizer_posix_libcdep.cc \
-@@ -114,4 +115,3 @@ AM_MAKEFLAGS = \
- MAKEOVERRIDES=
- 
- ## ################################################################
--
diff --git a/gcc8snapshot/patches/patch-libsanitizer_sanitizer__common_Makefile.in b/gcc8snapshot/patches/patch-libsanitizer_sanitizer__common_Makefile.in
deleted file mode 100644
index 080035c82c..0000000000
--- a/gcc8snapshot/patches/patch-libsanitizer_sanitizer__common_Makefile.in
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD$
-
---- libsanitizer/sanitizer_common/Makefile.in.orig	2017-10-22 22:33:06.000000000 +0000
-+++ libsanitizer/sanitizer_common/Makefile.in
-@@ -91,6 +91,7 @@ am__objects_1 = sancov_flags.lo sanitize
- 	sanitizer_mac.lo sanitizer_mac_libcdep.lo \
- 	sanitizer_persistent_allocator.lo \
- 	sanitizer_platform_limits_linux.lo \
-+	sanitizer_platform_limits_netbsd.lo \
- 	sanitizer_platform_limits_posix.lo sanitizer_posix.lo \
- 	sanitizer_posix_libcdep.lo sanitizer_printf.lo \
- 	sanitizer_procmaps_common.lo sanitizer_procmaps_freebsd.lo \
-@@ -322,6 +323,7 @@ sanitizer_common_files = \
- 	sanitizer_mac_libcdep.cc \
- 	sanitizer_persistent_allocator.cc \
- 	sanitizer_platform_limits_linux.cc \
-+	sanitizer_platform_limits_netbsd.cc \
- 	sanitizer_platform_limits_posix.cc \
- 	sanitizer_posix.cc \
- 	sanitizer_posix_libcdep.cc \
-@@ -468,6 +470,7 @@ distclean-compile:
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sanitizer_mac_libcdep.Plo@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sanitizer_persistent_allocator.Plo@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sanitizer_platform_limits_linux.Plo@am__quote@
-+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sanitizer_platform_limits_netbsd.Plo@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sanitizer_platform_limits_posix.Plo@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sanitizer_posix.Plo@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sanitizer_posix_libcdep.Plo@am__quote@
diff --git a/gcc8snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h b/gcc8snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h
deleted file mode 100644
index 563a057d25..0000000000
--- a/gcc8snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h
+++ /dev/null
@@ -1,54 +0,0 @@
-$NetBSD: patch-libstdc++-v3_config_os_bsd_netbsd_ctype__base.h,v 1.1 2017/05/03 00:21:03 maya Exp $
-
-Sync with netbsd ctype_base.h
-
---- libstdc++-v3/config/os/bsd/netbsd/ctype_base.h.orig	2018-01-03 10:03:58.000000000 +0000
-+++ libstdc++-v3/config/os/bsd/netbsd/ctype_base.h
-@@ -38,14 +38,16 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
-   /// @brief  Base class for ctype.
-   struct ctype_base
-   {
--    // Non-standard typedefs.
--    typedef const unsigned char*	__to_type;
- 
-     // NB: Offsets into ctype<char>::_M_table force a particular size
-     // on the mask type. Because of this, we don't use an enum.
--    typedef unsigned char      	mask;
- 
- #ifndef _CTYPE_U
-+    // Non-standard typedefs.
-+    typedef const unsigned char*	__to_type;
-+
-+    typedef unsigned char      	mask;
-+
-     static const mask upper    	= _U;
-     static const mask lower 	= _L;
-     static const mask alpha 	= _U | _L;
-@@ -58,17 +60,21 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
-     static const mask punct 	= _P;
-     static const mask alnum 	= _U | _L | _N;
- #else
-+    typedef const unsigned short*	__to_type;
-+
-+    typedef unsigned short     	mask;
-+
-     static const mask upper    	= _CTYPE_U;
-     static const mask lower 	= _CTYPE_L;
--    static const mask alpha 	= _CTYPE_U | _CTYPE_L;
--    static const mask digit 	= _CTYPE_N;
--    static const mask xdigit 	= _CTYPE_N | _CTYPE_X;
-+    static const mask alpha 	= _CTYPE_A;
-+    static const mask digit 	= _CTYPE_D;
-+    static const mask xdigit 	= _CTYPE_X;
-     static const mask space 	= _CTYPE_S;
--    static const mask print 	= _CTYPE_P | _CTYPE_U | _CTYPE_L | _CTYPE_N | _CTYPE_B;
--    static const mask graph 	= _CTYPE_P | _CTYPE_U | _CTYPE_L | _CTYPE_N;
-+    static const mask print 	= _CTYPE_R;
-+    static const mask graph 	= _CTYPE_G;
-     static const mask cntrl 	= _CTYPE_C;
-     static const mask punct 	= _CTYPE_P;
--    static const mask alnum 	= _CTYPE_U | _CTYPE_L | _CTYPE_N;
-+    static const mask alnum 	= _CTYPE_A | _CTYPE_D;
- #endif
- #if __cplusplus >= 201103L
-     static const mask blank 	= space;
diff --git a/gcc8snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc b/gcc8snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc
deleted file mode 100644
index 8ccd4c8be1..0000000000
--- a/gcc8snapshot/patches/patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc
+++ /dev/null
@@ -1,81 +0,0 @@
-$NetBSD: patch-libstdc++-v3_config_os_bsd_netbsd_ctype__configure__char.cc,v 1.1 2017/05/03 00:21:03 maya Exp $
-
-Sync with netbsd ctype_configure_char.cc
-
---- libstdc++-v3/config/os/bsd/netbsd/ctype_configure_char.cc.orig	2018-01-03 10:03:58.000000000 +0000
-+++ libstdc++-v3/config/os/bsd/netbsd/ctype_configure_char.cc
-@@ -38,29 +38,27 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
- 
- // Information as gleaned from /usr/include/ctype.h
- 
--  extern "C" const u_int8_t _C_ctype_[];
--
-   const ctype_base::mask*
-   ctype<char>::classic_table() throw()
--  { return _C_ctype_ + 1; }
-+  { return _C_ctype_tab_ + 1; }
- 
--  ctype<char>::ctype(__c_locale, const mask* __table, bool __del,
--		     size_t __refs)
--  : facet(__refs), _M_del(__table != 0 && __del),
--  _M_toupper(NULL), _M_tolower(NULL),
-+  ctype<char>::ctype(__c_locale, const mask* __table, bool __del, 
-+		     size_t __refs) 
-+  : facet(__refs), _M_del(__table != 0 && __del), 
-+  _M_toupper(NULL), _M_tolower(NULL), 
-   _M_table(__table ? __table : classic_table())
--  {
-+  { 
-     memset(_M_widen, 0, sizeof(_M_widen));
-     _M_widen_ok = 0;
-     memset(_M_narrow, 0, sizeof(_M_narrow));
-     _M_narrow_ok = 0;
-   }
- 
--  ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
--  : facet(__refs), _M_del(__table != 0 && __del),
--  _M_toupper(NULL), _M_tolower(NULL),
-+  ctype<char>::ctype(const mask* __table, bool __del, size_t __refs) 
-+  : facet(__refs), _M_del(__table != 0 && __del), 
-+  _M_toupper(NULL), _M_tolower(NULL), 
-   _M_table(__table ? __table : classic_table())
--  {
-+  { 
-     memset(_M_widen, 0, sizeof(_M_widen));
-     _M_widen_ok = 0;
-     memset(_M_narrow, 0, sizeof(_M_narrow));
-@@ -69,14 +67,14 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
- 
-   char
-   ctype<char>::do_toupper(char __c) const
--  { return ::toupper((int) __c); }
-+  { return ::toupper((int)(unsigned char) __c); }
- 
-   const char*
-   ctype<char>::do_toupper(char* __low, const char* __high) const
-   {
-     while (__low < __high)
-       {
--	*__low = ::toupper((int) *__low);
-+	*__low = ::toupper((int)(unsigned char) *__low);
- 	++__low;
-       }
-     return __high;
-@@ -84,14 +82,14 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
- 
-   char
-   ctype<char>::do_tolower(char __c) const
--  { return ::tolower((int) __c); }
-+  { return ::tolower((int)(unsigned char) __c); }
- 
--  const char*
-+  const char* 
-   ctype<char>::do_tolower(char* __low, const char* __high) const
-   {
-     while (__low < __high)
-       {
--	*__low = ::tolower((int) *__low);
-+	*__low = ::tolower((int)(unsigned char) *__low);
- 	++__low;
-       }
-     return __high;
diff --git a/gcc8snapshot/version.mk b/gcc8snapshot/version.mk
deleted file mode 100644
index 45640ad71d..0000000000
--- a/gcc8snapshot/version.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-# $NetBSD: version.mk,v 1.21 2015/05/06 05:25:00 keckhardt Exp $
-GCC8S_DIST_VERSION:=	8-20180107


Home | Main Index | Thread Index | Old Index