=> Bootstrap dependency digest>=20211023: found digest-20220214 => Fetching in-place gmp => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for gmp-6.3.0.tar.bz2 => Checksum SHA512 OK for gmp-6.3.0.tar.bz2 => Fetching in-place mpcomplex => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for mpc-1.3.1.tar.gz => Checksum SHA512 OK for mpc-1.3.1.tar.gz => Fetching in-place mpfr => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for mpfr-4.2.1.tar.bz2 => Checksum SHA512 OK for mpfr-4.2.1.tar.bz2 => Checksum BLAKE2s OK for gcc-13.4.0.tar.xz => Checksum SHA512 OK for gcc-13.4.0.tar.xz => Checksum BLAKE2s OK for gcc-bootstrap-x86_64--netbsd-10.5.0.tar.bz2 => Checksum SHA512 OK for gcc-bootstrap-x86_64--netbsd-10.5.0.tar.bz2 => Checksum BLAKE2s OK for isl-0.24.tar.xz => Checksum SHA512 OK for isl-0.24.tar.xz ===> Installing dependencies for gcc13-gnat-13.4.0nb2 ========================================================================== The supported build options for gcc13-gnat are: gcc-graphite gcc-inplace-math nls The currently selected options are: gcc-graphite gcc-inplace-math nls You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.gcc13-gnat (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, gcc13-gnat-13.4.0nb2. Their current value is shown below: * GCC_TARGET_MACHINE = x86_64--netbsd You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency mktools-[0-9]*: found mktools-20250213 => Tool dependency gmake>=3.81: found gmake-4.4.1 => Tool dependency perl>=5.0: found perl-5.42.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency gsed>=3.0.2: found gsed-4.9nb1 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for gcc13-gnat-13.4.0nb2 ===> Extracting for gcc13-gnat-13.4.0nb2 => Extracting in-place gmp ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for gmp-6.3.0 ===> Extracting for gmp-6.3.0 ===> Patching for gmp-6.3.0 => Applying pkgsrc patches for gmp-6.3.0 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/gmp/patches/patch-acinclude.m4 => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/gmp/patches/patch-acinclude.m4 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-acinclude.m4,v 1.2 2020/01/20 21:25:24 adam Exp $ | |Fixed detection of __attribute__((__mode__(XX))) for sunpro. | |--- acinclude.m4.orig 2016-12-17 00:45:27.000000000 +0900 |+++ acinclude.m4 2017-06-14 13:05:04.000000000 +0900 -------------------------- Patching file acinclude.m4 using Plan A... Hunk #1 succeeded at 3191 (offset -37 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/gmp/patches/patch-configure.ac => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/gmp/patches/patch-configure.ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure.ac,v 1.1 2025/05/22 09:45:47 nia Exp $ | |Detect NetBSD/mipsn64 as being a MIPS architecture. | |--- configure.ac.orig 2025-05-22 09:41:23.909165803 +0000 |+++ configure.ac -------------------------- Patching file configure.ac using Plan A... Hunk #1 succeeded at 1044. done => Extracting in-place mpcomplex ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for mpcomplex-1.3.1 ===> Extracting for mpcomplex-1.3.1 ===> Patching for mpcomplex-1.3.1 => Applying pkgsrc patches for mpcomplex-1.3.1 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/mpcomplex/patches/patch-src_get__x.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/mpcomplex/patches/patch-src_get__x.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_get__x.c,v 1.1 2023/10/29 18:06:32 wiz Exp $ | |Work around bug in SunOS complex.h to make this build with Sun's gcc | |--- src/get_x.c.orig 2011-11-04 18:20:19.000000000 +0000 |+++ src/get_x.c -------------------------- Patching file src/get_x.c using Plan A... Hunk #1 succeeded at 32 (offset -3 lines). done => Extracting in-place mpfr ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for mpfr-4.2.1 ===> Extracting for mpfr-4.2.1 ===> Patching for mpfr-4.2.1 mv -f /tmp/lang/gcc13-gnat/work/isl-0.24 /tmp/lang/gcc13-gnat/work/gcc-13.4.0/isl ===> Patching for gcc13-gnat-13.4.0nb2 => Applying pkgsrc patches for gcc13-gnat-13.4.0nb2 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-fixincludes_inclhack.def => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-fixincludes_inclhack.def Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-fixincludes_inclhack.def,v 1.2 2025/02/08 14:05:03 wiz Exp $ | |A workaround for Catalina SDK bug from |https://github.com/Homebrew/homebrew-core/pull/44762 | |--- fixincludes/inclhack.def.orig 2024-05-21 10:47:37.000000000 +0300 |+++ fixincludes/inclhack.def -------------------------- Patching file fixincludes/inclhack.def using Plan A... Hunk #1 succeeded at 1352 (offset 1 line). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_Makefile.in => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_Makefile.in,v 1.2 2025/01/07 19:55:52 riastradh Exp $ | |Ensure libgcc from this GCC is found before others. Note that there must |not be a whitespace between $(LINKER_RPATH_FLAG) and the path. Otherwise |the flag may be misinterpreted by the linker (e.g. Apple ld). | |--- gcc/Makefile.in.orig 2017-04-18 18:10:27.000000000 +0000 |+++ gcc/Makefile.in -------------------------- Patching file gcc/Makefile.in using Plan A... Hunk #1 succeeded at 2327 (offset 215 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_Makefile.rtl => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_Makefile.rtl Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_ada_Makefile.rtl,v 1.2 2025/02/08 14:05:03 wiz Exp $ | |Add NetBSD as a target and generate the required files correctly. | |--- gcc/ada/Makefile.rtl.orig 2023-07-27 11:13:03.000000000 +0300 |+++ gcc/ada/Makefile.rtl -------------------------- Patching file gcc/ada/Makefile.rtl using Plan A... Hunk #1 succeeded at 1768 (offset 1 line). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_adaint.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_adaint.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_ada_adaint.c,v 1.3 2025/10/15 20:04:57 dkazankov Exp $ | |NetBSD does not use symbol versioning, which requires some functions |to be preprocessed in C. This patch adds those functions definitions. | |--- gcc/ada/adaint.c.orig 2025-06-05 19:02:58.000000000 +0300 |+++ gcc/ada/adaint.c -------------------------- Patching file gcc/ada/adaint.c using Plan A... Hunk #1 succeeded at 831. Hunk #2 succeeded at 3680. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_adaint.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_adaint.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_ada_adaint.h,v 1.3 2025/10/15 20:04:57 dkazankov Exp $ | |Due to the lack of symbol versioning in NetBSD, some functions need |to be exported from C to be used correctly. | |--- gcc/ada/adaint.h.orig 2025-06-05 19:02:58.000000000 +0300 |+++ gcc/ada/adaint.h -------------------------- Patching file gcc/ada/adaint.h using Plan A... Hunk #1 succeeded at 348. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_cstreams.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_cstreams.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_ada_cstreams.c,v 1.2 2025/02/08 14:05:03 wiz Exp $ | |Add missing defines | |--- gcc/ada/cstreams.c.orig 2024-05-21 10:47:37.000000000 +0300 |+++ gcc/ada/cstreams.c -------------------------- Patching file gcc/ada/cstreams.c using Plan A... Hunk #1 succeeded at 186. Hunk #2 succeeded at 256. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_libgnarl_s-osinte____netbsd.adb => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_libgnarl_s-osinte____netbsd.adb Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_ada_libgnarl_s-osinte____netbsd.adb,v 1.2 2025/02/08 14:05:03 wiz Exp $ | |Add NetBSD interface. | |--- gcc/ada/libgnarl/s-osinte__netbsd.adb.orig 2021-10-08 11:29:30.470090202 +0200 |+++ gcc/ada/libgnarl/s-osinte__netbsd.adb -------------------------- (Creating file gcc/ada/libgnarl/s-osinte__netbsd.adb...) Patching file gcc/ada/libgnarl/s-osinte__netbsd.adb using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_libgnarl_s-osinte____netbsd.ads => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_libgnarl_s-osinte____netbsd.ads Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_ada_libgnarl_s-osinte____netbsd.ads,v 1.2 2025/02/08 14:05:03 wiz Exp $ | |Add NetBSD interface. | |--- gcc/ada/libgnarl/s-osinte__netbsd.ads.orig 2021-10-08 11:29:30.503927461 +0200 |+++ gcc/ada/libgnarl/s-osinte__netbsd.ads -------------------------- (Creating file gcc/ada/libgnarl/s-osinte__netbsd.ads...) Patching file gcc/ada/libgnarl/s-osinte__netbsd.ads using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_libgnarl_s-taprop____posix.adb => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_libgnarl_s-taprop____posix.adb Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_ada_libgnarl_s-taprop____posix.adb,v 1.2 2025/02/08 14:05:03 wiz Exp $ | |When using SCHED_OTHER, the minimum and maximum in NetBSD is -1. |In most other OSs it is 0. Change the behaviour to try to set the |params using the default priority, if that fails, use 0, otherwise |use -1. If none are valid, the tasking system will fail if assertions |are on. | |--- gcc/ada/libgnarl/s-taprop__posix.adb.orig 2024-05-21 10:47:37.000000000 +0300 |+++ gcc/ada/libgnarl/s-taprop__posix.adb -------------------------- Patching file gcc/ada/libgnarl/s-taprop__posix.adb using Plan A... Hunk #1 succeeded at 635. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_libgnat_g-socthi.ads => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_libgnat_g-socthi.ads Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_ada_libgnat_g-socthi.ads,v 1.3 2025/10/15 20:04:57 dkazankov Exp $ | |Fix RTS build warning | |--- gcc/ada/libgnat/g-socthi.ads.orig 2025-08-08 10:24:06.091262012 +0300 |+++ gcc/ada/libgnat/g-socthi.ads -------------------------- Patching file gcc/ada/libgnat/g-socthi.ads using Plan A... Hunk #1 succeeded at 53. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_libgnat_g-socthi____bsd.adb => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_libgnat_g-socthi____bsd.adb Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_ada_libgnat_g-socthi____bsd.adb,v 1.3 2025/10/15 20:04:57 dkazankov Exp $ | |Create a g-socthi package that is common to all *BSD systems. | |--- /dev/null 2023-12-10 09:29:26.388655944 +0200 |+++ gcc/ada/libgnat/g-socthi__bsd.adb -------------------------- (Creating file gcc/ada/libgnat/g-socthi__bsd.adb...) Patching file gcc/ada/libgnat/g-socthi__bsd.adb using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_s-oscons-tmplt.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_s-oscons-tmplt.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_ada_s-oscons-tmplt.c,v 1.2 2025/02/08 14:05:03 wiz Exp $ | |Add NetBSD to some defined parts and bump the version of |_XOPEN_SOURCE and add _NETBSD_SOURCE. | |--- gcc/ada/s-oscons-tmplt.c.orig 2023-07-27 11:13:04.000000000 +0300 |+++ gcc/ada/s-oscons-tmplt.c -------------------------- Patching file gcc/ada/s-oscons-tmplt.c using Plan A... Hunk #1 succeeded at 86. Hunk #2 succeeded at 173. Hunk #3 succeeded at 419. Hunk #4 succeeded at 1071. Hunk #5 succeeded at 1988. Hunk #6 succeeded at 2011. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_sysdep.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_ada_sysdep.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_ada_sysdep.c,v 1.2 2025/02/08 14:05:03 wiz Exp $ | |Add NetBSD to some defined sections. | |--- gcc/ada/sysdep.c.orig 2023-07-27 11:13:04.000000000 +0300 |+++ gcc/ada/sysdep.c -------------------------- Patching file gcc/ada/sysdep.c using Plan A... Hunk #1 succeeded at 321. Hunk #2 succeeded at 370. Hunk #3 succeeded at 391. Hunk #4 succeeded at 830. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_config.host => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_config.host Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_config.host,v 1.1 2024/03/08 12:02:33 wiz Exp $ | |Add aarch64*-*-netbsd*. | |--- gcc/config.host.orig 2022-05-06 07:30:56.000000000 +0000 |+++ gcc/config.host -------------------------- Patching file gcc/config.host using Plan A... Hunk #1 succeeded at 99. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_config_aarch64_aarch64-netbsd.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_config_aarch64_aarch64-netbsd.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_config_aarch64_aarch64-netbsd.h,v 1.2 2025/02/08 14:05:03 wiz Exp $ | |Match what is in NetBSD src. Fixes at least aarch64eb, and |probably several others. | |--- gcc/config/aarch64/aarch64-netbsd.h.orig 2021-04-08 04:56:28.033740243 -0700 |+++ gcc/config/aarch64/aarch64-netbsd.h -------------------------- Patching file gcc/config/aarch64/aarch64-netbsd.h using Plan A... Hunk #1 succeeded at 20. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_config_arm_arm.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_config_arm_arm.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_config_arm_arm.h,v 1.3 2025/10/15 20:04:57 dkazankov Exp $ | |FIXME | |--- gcc/config/arm/arm.h.orig 2024-05-21 10:47:38.000000000 +0300 |+++ gcc/config/arm/arm.h -------------------------- Patching file gcc/config/arm/arm.h using Plan A... Hunk #1 succeeded at 951. Hunk #2 succeeded at 967. Hunk #3 succeeded at 2475. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_config_arm_bpabi.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_config_arm_bpabi.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_config_arm_bpabi.h,v 1.3 2025/10/15 20:04:57 dkazankov Exp $ | |FIXME | |--- gcc/config/arm/bpabi.h.orig 2021-04-08 04:56:28.061740583 -0700 |+++ gcc/config/arm/bpabi.h -------------------------- Patching file gcc/config/arm/bpabi.h using Plan A... Hunk #1 succeeded at 24. Hunk #2 succeeded at 108. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_config_arm_elf.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_config_arm_elf.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_config_arm_elf.h,v 1.3 2025/10/15 20:04:57 dkazankov Exp $ | |FIXME | |--- gcc/config/arm/elf.h.orig 2021-04-08 04:56:28.065740630 -0700 |+++ gcc/config/arm/elf.h -------------------------- Patching file gcc/config/arm/elf.h using Plan A... Hunk #1 succeeded at 147. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_config_arm_netbsd-eabi.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_config_arm_netbsd-eabi.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_config_arm_netbsd-eabi.h,v 1.3 2025/10/15 20:04:57 dkazankov Exp $ | |FIXME | |--- gcc/config/arm/netbsd-eabi.h.orig 2021-04-08 04:56:28.065740630 -0700 |+++ gcc/config/arm/netbsd-eabi.h -------------------------- Patching file gcc/config/arm/netbsd-eabi.h using Plan A... Hunk #1 succeeded at 49. Hunk #2 succeeded at 59. Hunk #3 succeeded at 81. Hunk #4 succeeded at 110. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_config_arm_netbsd-elf.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_config_arm_netbsd-elf.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_config_arm_netbsd-elf.h,v 1.2 2025/10/15 20:04:57 dkazankov Exp $ | |FIXME | |--- gcc/config/arm/netbsd-elf.h.orig 2023-04-26 07:09:39.000000000 +0000 |+++ gcc/config/arm/netbsd-elf.h -------------------------- Patching file gcc/config/arm/netbsd-elf.h using Plan A... Hunk #1 succeeded at 27. Hunk #2 succeeded at 67. Hunk #3 succeeded at 99. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_config_nvptx_gen-opt.sh => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_config_nvptx_gen-opt.sh Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_config_nvptx_gen-opt.sh,v 1.1 2024/03/08 12:02:34 wiz Exp $ | |Portability fix. | |--- gcc/config/nvptx/gen-opt.sh.orig 2022-06-15 15:52:17.000000000 +0000 |+++ gcc/config/nvptx/gen-opt.sh -------------------------- Patching file gcc/config/nvptx/gen-opt.sh using Plan A... Hunk #1 succeeded at 56. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_configure => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_configure,v 1.2 2025/02/08 14:05:03 wiz Exp $ | |Portability fix. | |https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90143 | |--- gcc/configure.orig 2024-05-21 10:49:00.000000000 +0300 |+++ gcc/configure -------------------------- Patching file gcc/configure using Plan A... Hunk #1 succeeded at 6433. Hunk #2 succeeded at 31610 (offset 54 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_tree.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gcc_tree.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gcc_tree.h,v 1.2 2025/02/08 14:05:03 wiz Exp $ | |LTO compilation error | |--- gcc/tree.h.orig 2023-07-27 11:13:07.000000000 +0300 |+++ gcc/tree.h -------------------------- Patching file gcc/tree.h using Plan A... Hunk #1 succeeded at 1299. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gnattools_configure => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-gnattools_configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gnattools_configure,v 1.2 2025/02/08 14:05:03 wiz Exp $ | |Include NetBSD in the gnat tools configure. | |--- gnattools/configure.orig 2023-07-27 11:13:07.000000000 +0300 |+++ gnattools/configure -------------------------- Patching file gnattools/configure using Plan A... Hunk #1 succeeded at 2069. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-isl_configure => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-isl_configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-isl_configure,v 1.1 2025/10/15 20:04:57 dkazankov Exp $ | |Fix unportable test(1) operator. | |--- isl/configure.orig 2021-04-26 09:13:19.000000000 +0000 |+++ isl/configure -------------------------- Patching file isl/configure using Plan A... Hunk #1 succeeded at 20657. Hunk #2 succeeded at 20665. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libffi_configure => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libffi_configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libffi_configure,v 1.2 2025/02/08 14:05:03 wiz Exp $ | |https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90146 |https://github.com/libffi/libffi/issues/485 | |--- libffi/configure.orig 2024-05-21 10:49:00.000000000 +0300 |+++ libffi/configure -------------------------- Patching file libffi/configure using Plan A... Hunk #1 succeeded at 16199. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libffi_testsuite_libffi.call_float2.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libffi_testsuite_libffi.call_float2.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libffi_testsuite_libffi.call_float2.c,v 1.1 2024/03/08 12:02:34 wiz Exp $ | |https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90146 | |--- libffi/testsuite/libffi.call/float2.c.orig 2022-05-06 07:30:59.000000000 +0000 |+++ libffi/testsuite/libffi.call/float2.c -------------------------- Patching file libffi/testsuite/libffi.call/float2.c using Plan A... Hunk #1 succeeded at 47. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libgcc_config.host => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libgcc_config.host Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libgcc_config.host,v 1.4 2025/07/02 18:09:02 dkazankov Exp $ | |Part 1: drop legacy library build for macOS >= 14 [PR116809]. | |This is a mixture of two upstream patches. See | | https://github.com/gcc-mirror/gcc/blob/master/libgcc/config.host | |libgcc, Darwin: Drop the legacy library build for macOS >= 15 [PR116809]. | |We have been building a legacy libgcc_s.1 DSO to support code that |was built with older compilers. | |From macOS 15, the unwinder no longer exports some of the symbols used |in that library which (a) cuases bootstrap fail and (b) means that the |legacy library is no longer useful. | |No open branch of GCC emits references to this library - and any already |-built code that depends on the symbols would need rework anyway. | | PR target/116809 | |libgcc, Darwin: Don't build legacy libgcc_s.1 on macOS 14 [PR116809] | |d9cafa0 stopped building libgcc_s.1 on macOS >= 15, in part because |that is required to bootstrap the compiler using the macOS 15 SDK. The |macOS 15 SDK ships in Xcode 16, which also runs on macOS 14. libgcc_s.1 |can no longer be built on macOS 14 using Xcode 16 by the same logic that |the previous change disabled it for macOS 15. | | PR target/116809 | |Parts 2-3: This is needed for arm64 to get Out-of-line LSE atomics linked into libgcc. |libsupc++ fails to link without this, and for arm to build. | |--- libgcc/config.host.orig 2025-06-05 19:03:02.000000000 +0300 |+++ libgcc/config.host -------------------------- Patching file libgcc/config.host using Plan A... Hunk #1 succeeded at 235. Hunk #2 succeeded at 415. Hunk #3 succeeded at 507. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libgcc_config_t-darwin-libgccs1 => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libgcc_config_t-darwin-libgccs1 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libgcc_config_t-darwin-libgccs1,v 1.3 2025/10/15 20:04:57 dkazankov Exp $ | |libgcc, Darwin: Drop the legacy library build for macOS >= 15 [PR116809]. | |We have been building a legacy libgcc_s.1 DSO to support code that |was built with older compilers. | |From macOS 15, the unwinder no longer exports some of the symbols used |in that library which (a) cuases bootstrap fail and (b) means that the |legacy library is no longer useful. | |No open branch of GCC emits references to this library - and any already |-built code that depends on the symbols would need rework anyway. | | PR target/116809 | |See https://github.com/gcc-mirror/gcc/blob/master/libgcc/config/t-darwin-libgccs1. | |--- libgcc/config/t-darwin-libgccs1.orig 2024-12-09 03:35:09.522148209 +0000 |+++ libgcc/config/t-darwin-libgccs1 -------------------------- Patching file libgcc/config/t-darwin-libgccs1 using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libgcc_config_t-darwin-min-11 => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libgcc_config_t-darwin-min-11 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libgcc_config_t-darwin-min-11,v 1.1 2025/04/25 12:48:44 dkazankov Exp $ | |libgcc, Darwin: From macOS 11, make that the earliest supported. | |For libgcc, we have (so far) supported building a DSO that supports |earlier versions of the OS than the target. From macOS 11, there are |APIs that do not exist on earlier OS versions, so limit the libgcc |range to macOS11..current. | |See https://github.com/gcc-mirror/gcc/blob/master/libgcc/config/t-darwin-min-11. | |--- libgcc/config/t-darwin-min-11.orig 2024-12-10 16:14:54.471536671 +0000 |+++ libgcc/config/t-darwin-min-11 -------------------------- (Creating file libgcc/config/t-darwin-min-11...) Patching file libgcc/config/t-darwin-min-11 using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libgcc_crtstuff.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libgcc_crtstuff.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libgcc_crtstuff.c,v 1.1 2024/03/08 12:02:34 wiz Exp $ | |https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90147 | |--- libgcc/crtstuff.c.orig 2017-01-01 12:07:43.000000000 +0000 |+++ libgcc/crtstuff.c -------------------------- Patching file libgcc/crtstuff.c using Plan A... Hunk #1 succeeded at 81. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libgfortran_io_io.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libgfortran_io_io.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libgfortran_io_io.h,v 1.2 2025/02/08 14:05:03 wiz Exp $ | |Don't declare old_locale* an internal_proto to avoid linking problems | |--- libgfortran/io/io.h.orig 2024-05-21 10:47:41.000000000 +0300 |+++ libgfortran/io/io.h -------------------------- Patching file libgfortran/io/io.h using Plan A... Hunk #1 succeeded at 62. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libquadmath_printf_quadmath-printf.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libquadmath_printf_quadmath-printf.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libquadmath_printf_quadmath-printf.c,v 1.1 2024/03/08 12:02:34 wiz Exp $ | |Fix -Werror=char-subscripts. | |https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95178 | |--- libquadmath/printf/quadmath-printf.c.orig 2020-05-07 10:50:02.000000000 +0000 |+++ libquadmath/printf/quadmath-printf.c -------------------------- Patching file libquadmath/printf/quadmath-printf.c using Plan A... Hunk #1 succeeded at 189. Hunk #2 succeeded at 206. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libquadmath_strtod_strtod__l.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libquadmath_strtod_strtod__l.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libquadmath_strtod_strtod__l.c,v 1.1 2024/03/08 12:02:34 wiz Exp $ | |Fix -Werror=char-subscripts. | |https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95178 | |--- libquadmath/strtod/strtod_l.c.orig 2020-05-07 10:50:02.000000000 +0000 |+++ libquadmath/strtod/strtod_l.c -------------------------- Patching file libquadmath/strtod/strtod_l.c using Plan A... Hunk #1 succeeded at 57. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libstdc++-v3_libsupc++_new__opa.cc => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/gcc13-gnat/patches/patch-libstdc++-v3_libsupc++_new__opa.cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libstdc++-v3_libsupc++_new__opa.cc,v 1.3 2025/02/08 14:05:03 wiz Exp $ | |Ensure we can find SunOS std::aligned_alloc if using it. | |--- libstdc++-v3/libsupc++/new_opa.cc.orig 2024-05-21 10:47:42.000000000 +0300 |+++ libstdc++-v3/libsupc++/new_opa.cc -------------------------- Patching file libstdc++-v3/libsupc++/new_opa.cc using Plan A... Hunk #1 succeeded at 62. done ===> Creating toolchain wrappers for gcc13-gnat-13.4.0nb2 ===> Configuring for gcc13-gnat-13.4.0nb2 => Bumping libstdc++ major to 7 => Replace nanosleep, gettimeofday in gcc/ada/libgnat/s-osprim__posix.adb => Replace select with __gnat_select in gcc/ada/libgnat/g-socthi.ads => Replace socket with __gnat_socket in gcc/ada/libgnat/g-socthi__bsd.adb => Setting target machine name path in gcc/Makefile.in => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Checking for portability problems in extracted files checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd checking target system type... x86_64--netbsd checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g wheel checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/pkg/bin/gsed checking for gawk... /usr/bin/awk checking for libatomic support... yes checking for libitm support... yes checking for libsanitizer support... no checking for libvtv support... no checking for libphobos support... yes checking for x86_64--netbsd-gcc... /tmp/lang/gcc13-gnat/work/gcc-bootstrap/bin/gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /tmp/lang/gcc13-gnat/work/gcc-bootstrap/bin/gcc accepts -g... yes checking for /tmp/lang/gcc13-gnat/work/gcc-bootstrap/bin/gcc option to accept ISO C89... none needed checking for /tmp/lang/gcc13-gnat/work/gcc-bootstrap/bin/gcc option to accept ISO C99... none needed checking whether we are using the GNU C++ compiler... yes checking whether /tmp/lang/gcc13-gnat/work/gcc-bootstrap/bin/g++ accepts -g... yes checking whether g++ accepts -static-libstdc++ -static-libgcc... yes checking for x86_64--netbsd-gnatbind... no checking for gnatbind... gnatbind checking for x86_64--netbsd-gnatmake... no checking for gnatmake... gnatmake checking whether compiler driver understands Ada and is recent enough... yes checking for x86_64--netbsd-gdc... no checking for gdc... no checking whether the D compiler works... no checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16 checking for objdir... .libs configure: WARNING: using in-tree isl, disabling version check The following languages will be built: c,ada,c++,lto *** This configuration is not supported in the following subdirectories: zlib target-libsanitizer target-libvtv gotools target-libphobos target-zlib target-libbacktrace target-libgfortran target-libgo target-libffi target-libgm2 target-libobjc target-libssp (Any other directories should still work fine.) checking for default BUILD_CONFIG... bootstrap-debug checking for --enable-vtable-verify... no checking for bison... no checking for byacc... no checking for yacc... yacc checking for bison... no checking for gm4... no checking for gnum4... no checking for m4... m4 checking for flex... flex checking for flex... flex checking for makeinfo... /tmp/lang/gcc13-gnat/work/.tools/bin/makeinfo checking for expect... no checking for runtest... no checking for x86_64--netbsd-ar... no checking for ar... ar checking for x86_64--netbsd-as... no checking for as... as checking for x86_64--netbsd-dlltool... no checking for dlltool... no checking for x86_64--netbsd-dsymutil... no checking for dsymutil... no checking for ld... (cached) /usr/bin/ld checking for x86_64--netbsd-ld... (cached) /usr/bin/ld checking for x86_64--netbsd-lipo... no checking for lipo... no checking for x86_64--netbsd-nm... no checking for nm... nm checking for x86_64--netbsd-ranlib... no checking for ranlib... ranlib checking for x86_64--netbsd-strip... no checking for strip... strip checking for x86_64--netbsd-windres... no checking for windres... no checking for x86_64--netbsd-windmc... no checking for windmc... no checking for x86_64--netbsd-objcopy... no checking for objcopy... objcopy checking for x86_64--netbsd-objdump... no checking for objdump... objdump checking for x86_64--netbsd-otool... no checking for otool... no checking for x86_64--netbsd-readelf... no checking for readelf... readelf checking for cc... cc checking for c++... c++ checking for gcc... gcc checking for gfortran... gfortran checking for gccgo... no checking for gdc... no checking for gm2... no checking for ar... no checking for ar... ar checking for as... no checking for as... as checking for dlltool... no checking for dlltool... no checking for dsymutil... no checking for dsymutil... no checking for ld... no checking for ld... ld checking for lipo... no checking for lipo... no checking for nm... no checking for nm... nm checking for objcopy... no checking for objcopy... objcopy checking for objdump... no checking for objdump... objdump checking for otool... no checking for otool... no checking for ranlib... no checking for ranlib... ranlib checking for readelf... no checking for readelf... readelf checking for strip... no checking for strip... strip checking for windres... no checking for windres... no checking for windmc... no checking for windmc... no checking where to find the target ar... host tool checking where to find the target as... host tool checking where to find the target cc... just compiled checking where to find the target c++... just compiled checking where to find the target c++ for libstdc++... just compiled checking where to find the target dlltool... host tool checking where to find the target dsymutil... host tool checking where to find the target gcc... just compiled checking where to find the target gfortran... host tool checking where to find the target gccgo... host tool checking where to find the target gdc... host tool checking where to find the target gm2... host tool checking where to find the target ld... host tool checking where to find the target lipo... host tool checking where to find the target nm... host tool checking where to find the target objcopy... host tool checking where to find the target objdump... host tool checking where to find the target otool... host tool checking where to find the target ranlib... host tool checking where to find the target readelf... host tool checking where to find the target strip... host tool checking where to find the target windres... host tool checking where to find the target windmc... host tool checking whether to enable maintainer-specific portions of Makefiles... no configure: creating ./config.status config.status: creating Makefile