Index | Thread | Search

From:
Brad Smith <brad@comstyle.com>
Subject:
Re: UPDATE: GCC 11.4.0
To:
ports@openbsd.org
Cc:
Pascal Stumpf <pascal@stumpf.co>
Date:
Sun, 15 Dec 2024 22:24:00 -0500

Download raw body.

Thread
ping.

On 2024-11-20 12:38 p.m., Brad Smith wrote:
> ping.
>
> On 11/5/2024 1:03 AM, Brad Smith wrote:
>> On Sun, Jun 09, 2024 at 04:07:44AM -0400, Brad Smith wrote:
>>> Here is a start at an update to GCC 11.4.0.
>>>
>>> Build tested on aarch64, amd64 and i386.
>>   An updated diff for 11.5.0.
>>
>>
>> Index: Makefile
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/Makefile,v
>> retrieving revision 1.34
>> diff -u -p -u -p -r1.34 Makefile
>> --- Makefile    7 Aug 2024 20:52:03 -0000    1.34
>> +++ Makefile    3 Nov 2024 07:18:14 -0000
>> @@ -15,18 +15,16 @@ DPB_PROPERTIES = parallel
>>     USE_NOEXECONLY = Yes
>>   -V = 11.2.0
>> +V = 11.5.0
>>   FULL_VERSION = $V
>>   FULL_PKGVERSION = $V
>> -REVISION = 14
>> -REVISION-c++ = 15
>>   -ADASTRAP-amd64 = adastrap-amd64-$V-4.tar.xz
>> +ADASTRAP-amd64 = adastrap-amd64-11.2.0-4.tar.xz
>>   ADASTRAP-arm = adastrap-arm-4.9.4-0.tar.xz
>>   ADASTRAP-hppa = adastrap-hppa-8.3.0-1.tar.xz
>> -ADASTRAP-i386 = adastrap-i386-$V-2.tar.xz
>> +ADASTRAP-i386 = adastrap-i386-11.2.0-2.tar.xz
>>   ADASTRAP-mips64 = adastrap-mips64-8.4.0-0.tar.xz
>> -ADASTRAP-powerpc = adastrap-powerpc-$V-3.tar.xz
>> +ADASTRAP-powerpc = adastrap-powerpc-11.2.0-3.tar.xz
>>   ADASTRAP-sparc64 = adastrap-sparc64-6.5.0-0.tar.xz
>>     PKGNAME-main =  gcc-${FULL_PKGVERSION}
>> Index: distinfo
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/distinfo,v
>> retrieving revision 1.8
>> diff -u -p -u -p -r1.8 distinfo
>> --- distinfo    6 Apr 2024 06:34:41 -0000    1.8
>> +++ distinfo    3 Nov 2024 07:18:14 -0000
>> @@ -5,7 +5,7 @@ SHA256 (gcc/adastrap-i386-11.2.0-2.tar.x
>>   SHA256 (gcc/adastrap-mips64-8.4.0-0.tar.xz) = 
>> ELzjRW6d2VbHXid+cDW2C6eLwoU+KP3Jp4t6zXhYK2E=
>>   SHA256 (gcc/adastrap-powerpc-11.2.0-3.tar.xz) = 
>> acJtrhP/QyqtfDHrcXZjwI1LIBBN8C+SrTokVunndSQ=
>>   SHA256 (gcc/adastrap-sparc64-6.5.0-0.tar.xz) = 
>> cqpGS2beYV+CFf7X+P4voVHHT78v6SCgtksHXjP/B4E=
>> -SHA256 (gcc/gcc-11.2.0.tar.xz) = 
>> 0I7cU2tUw3KhAQ/2YZ3SdMDxYDqkkhK6IPeqLNo2+os=
>> +SHA256 (gcc/gcc-11.5.0.tar.xz) = 
>> puIYaOrVRc+H8MAfhCduS1KB1nIJhZHByJYkHwk2NHg=
>>   SIZE (gcc/adastrap-amd64-11.2.0-4.tar.xz) = 77695388
>>   SIZE (gcc/adastrap-arm-4.9.4-0.tar.xz) = 31142168
>>   SIZE (gcc/adastrap-hppa-8.3.0-1.tar.xz) = 48044496
>> @@ -13,4 +13,4 @@ SIZE (gcc/adastrap-i386-11.2.0-2.tar.xz)
>>   SIZE (gcc/adastrap-mips64-8.4.0-0.tar.xz) = 49751704
>>   SIZE (gcc/adastrap-powerpc-11.2.0-3.tar.xz) = 70134604
>>   SIZE (gcc/adastrap-sparc64-6.5.0-0.tar.xz) = 38704976
>> -SIZE (gcc/gcc-11.2.0.tar.xz) = 80888824
>> +SIZE (gcc/gcc-11.5.0.tar.xz) = 82399864
>> Index: patches/patch-Makefile_in
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-Makefile_in,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-Makefile_in
>> --- patches/patch-Makefile_in    11 Mar 2022 19:28:58 -0000 1.2
>> +++ patches/patch-Makefile_in    3 Nov 2024 07:18:14 -0000
>> @@ -1,7 +1,7 @@
>>   Index: Makefile.in
>>   --- Makefile.in.orig
>>   +++ Makefile.in
>> -@@ -435,7 +435,7 @@ TFLAGS =
>> +@@ -444,7 +444,7 @@ TFLAGS =
>>       # Defaults for all stages; some are overridden below.
>>    @@ -10,7 +10,7 @@ Index: Makefile.in
>>    STAGE_TFLAGS = $(TFLAGS)
>>    STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
>>    -@@ -2636,7 +2636,7 @@ install:
>> +@@ -2649,7 +2649,7 @@ install:
>>        @: $(MAKE); $(unstage)
>>        @r=`${PWD_COMMAND}`; export r; \
>>        s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
>> @@ -19,7 +19,7 @@ Index: Makefile.in
>>       .PHONY: install-host-nogcc
>>    install-host-nogcc:  \
>> -@@ -2952,7 +2952,7 @@ configure-build-libiberty:
>> +@@ -2965,7 +2965,7 @@ configure-build-libiberty:
>>        esac; \
>>        module_srcdir=libiberty; \
>>        rm -f no-such-file || : ; \
>> @@ -28,7 +28,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(BUILD_CONFIGARGS) --build=${build_alias} 
>> --host=${build_alias} \
>> -@@ -3009,7 +3009,7 @@ configure-build-bison:
>> +@@ -3022,7 +3022,7 @@ configure-build-bison:
>>        esac; \
>>        module_srcdir=bison; \
>>        rm -f no-such-file || : ; \
>> @@ -37,7 +37,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(BUILD_CONFIGARGS) --build=${build_alias} 
>> --host=${build_alias} \
>> -@@ -3066,7 +3066,7 @@ configure-build-flex:
>> +@@ -3079,7 +3079,7 @@ configure-build-flex:
>>        esac; \
>>        module_srcdir=flex; \
>>        rm -f no-such-file || : ; \
>> @@ -46,7 +46,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(BUILD_CONFIGARGS) --build=${build_alias} 
>> --host=${build_alias} \
>> -@@ -3123,7 +3123,7 @@ configure-build-m4:
>> +@@ -3136,7 +3136,7 @@ configure-build-m4:
>>        esac; \
>>        module_srcdir=m4; \
>>        rm -f no-such-file || : ; \
>> @@ -55,7 +55,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(BUILD_CONFIGARGS) --build=${build_alias} 
>> --host=${build_alias} \
>> -@@ -3180,7 +3180,7 @@ configure-build-texinfo:
>> +@@ -3193,7 +3193,7 @@ configure-build-texinfo:
>>        esac; \
>>        module_srcdir=texinfo; \
>>        rm -f no-such-file || : ; \
>> @@ -64,7 +64,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(BUILD_CONFIGARGS) --build=${build_alias} 
>> --host=${build_alias} \
>> -@@ -3237,7 +3237,7 @@ configure-build-fixincludes:
>> +@@ -3250,7 +3250,7 @@ configure-build-fixincludes:
>>        esac; \
>>        module_srcdir=fixincludes; \
>>        rm -f no-such-file || : ; \
>> @@ -73,7 +73,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(BUILD_CONFIGARGS) --build=${build_alias} 
>> --host=${build_alias} \
>> -@@ -3294,7 +3294,7 @@ configure-build-libcpp:
>> +@@ -3307,7 +3307,7 @@ configure-build-libcpp:
>>        esac; \
>>        module_srcdir=libcpp; \
>>        rm -f no-such-file || : ; \
>> @@ -82,7 +82,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(BUILD_CONFIGARGS) --build=${build_alias} 
>> --host=${build_alias} \
>> -@@ -42156,7 +42156,7 @@ configure-target-libstdc++-v3:
>> +@@ -42169,7 +42169,7 @@ configure-target-libstdc++-v3:
>>        esac; \
>>        module_srcdir=libstdc++-v3; \
>>        rm -f no-such-file || : ; \
>> @@ -91,7 +91,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -43399,7 +43399,7 @@ configure-target-libsanitizer:
>> +@@ -43412,7 +43412,7 @@ configure-target-libsanitizer:
>>        esac; \
>>        module_srcdir=libsanitizer; \
>>        rm -f no-such-file || : ; \
>> @@ -100,7 +100,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -44642,7 +44642,7 @@ configure-target-libvtv:
>> +@@ -44655,7 +44655,7 @@ configure-target-libvtv:
>>        esac; \
>>        module_srcdir=libvtv; \
>>        rm -f no-such-file || : ; \
>> @@ -109,7 +109,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -45886,7 +45886,7 @@ configure-target-liboffloadmic:
>> +@@ -45899,7 +45899,7 @@ configure-target-liboffloadmic:
>>        esac; \
>>        module_srcdir=liboffloadmic; \
>>        rm -f no-such-file || : ; \
>> @@ -118,7 +118,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -46344,7 +46344,7 @@ configure-target-libssp:
>> +@@ -46357,7 +46357,7 @@ configure-target-libssp:
>>        esac; \
>>        module_srcdir=libssp; \
>>        rm -f no-such-file || : ; \
>> @@ -127,7 +127,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -46802,7 +46802,7 @@ configure-target-newlib:
>> +@@ -46815,7 +46815,7 @@ configure-target-newlib:
>>        esac; \
>>        module_srcdir=newlib; \
>>        rm -f no-such-file || : ; \
>> @@ -136,7 +136,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -47259,7 +47259,7 @@ configure-target-libgcc:
>> +@@ -47272,7 +47272,7 @@ configure-target-libgcc:
>>        esac; \
>>        module_srcdir=libgcc; \
>>        rm -f no-such-file || : ; \
>> @@ -145,7 +145,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -48498,7 +48498,7 @@ configure-target-libbacktrace:
>> +@@ -48511,7 +48511,7 @@ configure-target-libbacktrace:
>>        esac; \
>>        module_srcdir=libbacktrace; \
>>        rm -f no-such-file || : ; \
>> @@ -154,7 +154,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -48956,7 +48956,7 @@ configure-target-libquadmath:
>> +@@ -48969,7 +48969,7 @@ configure-target-libquadmath:
>>        esac; \
>>        module_srcdir=libquadmath; \
>>        rm -f no-such-file || : ; \
>> @@ -163,7 +163,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -49414,7 +49414,7 @@ configure-target-libgfortran:
>> +@@ -49427,7 +49427,7 @@ configure-target-libgfortran:
>>        esac; \
>>        module_srcdir=libgfortran; \
>>        rm -f no-such-file || : ; \
>> @@ -172,7 +172,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -49872,7 +49872,7 @@ configure-target-libobjc:
>> +@@ -49885,7 +49885,7 @@ configure-target-libobjc:
>>        esac; \
>>        module_srcdir=libobjc; \
>>        rm -f no-such-file || : ; \
>> @@ -181,7 +181,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -50330,7 +50330,7 @@ configure-target-libgo:
>> +@@ -50343,7 +50343,7 @@ configure-target-libgo:
>>        esac; \
>>        module_srcdir=libgo; \
>>        rm -f no-such-file || : ; \
>> @@ -190,7 +190,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -50788,7 +50788,7 @@ configure-target-libhsail-rt:
>> +@@ -50801,7 +50801,7 @@ configure-target-libhsail-rt:
>>        esac; \
>>        module_srcdir=libhsail-rt; \
>>        rm -f no-such-file || : ; \
>> @@ -199,7 +199,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -51246,7 +51246,7 @@ configure-target-libphobos:
>> +@@ -51259,7 +51259,7 @@ configure-target-libphobos:
>>        esac; \
>>        module_srcdir=libphobos; \
>>        rm -f no-such-file || : ; \
>> @@ -208,7 +208,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -51704,7 +51704,7 @@ configure-target-libtermcap:
>> +@@ -51717,7 +51717,7 @@ configure-target-libtermcap:
>>        esac; \
>>        module_srcdir=libtermcap; \
>>        rm -f no-such-file || : ; \
>> @@ -217,7 +217,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -52097,7 +52097,7 @@ configure-target-winsup:
>> +@@ -52110,7 +52110,7 @@ configure-target-winsup:
>>        esac; \
>>        module_srcdir=winsup; \
>>        rm -f no-such-file || : ; \
>> @@ -226,7 +226,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -52555,7 +52555,7 @@ configure-target-libgloss:
>> +@@ -52568,7 +52568,7 @@ configure-target-libgloss:
>>        esac; \
>>        module_srcdir=libgloss; \
>>        rm -f no-such-file || : ; \
>> @@ -235,7 +235,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -53008,7 +53008,7 @@ configure-target-libffi:
>> +@@ -53021,7 +53021,7 @@ configure-target-libffi:
>>        esac; \
>>        module_srcdir=libffi; \
>>        rm -f no-such-file || : ; \
>> @@ -244,7 +244,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -53456,7 +53456,7 @@ configure-target-zlib:
>> +@@ -53469,7 +53469,7 @@ configure-target-zlib:
>>        esac; \
>>        module_srcdir=zlib; \
>>        rm -f no-such-file || : ; \
>> @@ -253,7 +253,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -53914,7 +53914,7 @@ configure-target-rda:
>> +@@ -53927,7 +53927,7 @@ configure-target-rda:
>>        esac; \
>>        module_srcdir=rda; \
>>        rm -f no-such-file || : ; \
>> @@ -262,7 +262,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -54372,7 +54372,7 @@ configure-target-libada:
>> +@@ -54385,7 +54385,7 @@ configure-target-libada:
>>        esac; \
>>        module_srcdir=libada; \
>>        rm -f no-such-file || : ; \
>> @@ -271,7 +271,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -54829,7 +54829,7 @@ configure-target-libgomp:
>> +@@ -54842,7 +54842,7 @@ configure-target-libgomp:
>>        esac; \
>>        module_srcdir=libgomp; \
>>        rm -f no-such-file || : ; \
>> @@ -280,7 +280,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -56073,7 +56073,7 @@ configure-target-libitm:
>> +@@ -56086,7 +56086,7 @@ configure-target-libitm:
>>        esac; \
>>        module_srcdir=libitm; \
>>        rm -f no-such-file || : ; \
>> @@ -289,7 +289,7 @@ Index: Makefile.in
>>          $$s/$$module_srcdir/configure \
>>          --srcdir=$${topdir}/$$module_srcdir \
>>          $(TARGET_CONFIGARGS) --build=${build_alias} 
>> --host=${target_alias} \
>> -@@ -56531,7 +56531,7 @@ configure-target-libatomic:
>> +@@ -56544,7 +56544,7 @@ configure-target-libatomic:
>>        esac; \
>>        module_srcdir=libatomic; \
>>        rm -f no-such-file || : ; \
>> Index: patches/patch-fixincludes_fixincl_x
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-fixincludes_fixincl_x,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-fixincludes_fixincl_x
>> --- patches/patch-fixincludes_fixincl_x    11 Mar 2022 19:28:58 
>> -0000    1.2
>> +++ patches/patch-fixincludes_fixincl_x    3 Nov 2024 07:18:14 -0000
>> @@ -1,7 +1,7 @@
>>   Index: fixincludes/fixincl.x
>>   --- fixincludes/fixincl.x.orig
>>   +++ fixincludes/fixincl.x
>> -@@ -7443,11 +7443,11 @@ static const char* 
>> apzSolaris_Complex_CxxPatch[] = { s
>> +@@ -7567,11 +7567,11 @@ static const char* 
>> apzSolaris_Complex_CxxPatch[] = { s
>>        "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
>>    #ifdef\t__cplusplus\\\n\
>>    extern \"C\" {\\\n\
>> Index: patches/patch-fixincludes_inclhack_def
>> ===================================================================
>> RCS file: 
>> /cvs/ports/lang/gcc/11/patches/patch-fixincludes_inclhack_def,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-fixincludes_inclhack_def
>> --- patches/patch-fixincludes_inclhack_def    11 Mar 2022 19:28:58 
>> -0000    1.2
>> +++ patches/patch-fixincludes_inclhack_def    3 Nov 2024 07:18:14 -0000
>> @@ -1,7 +1,7 @@
>>   Index: fixincludes/inclhack.def
>>   --- fixincludes/inclhack.def.orig
>>   +++ fixincludes/inclhack.def
>> -@@ -3706,9 +3706,9 @@ fix = {
>> +@@ -3765,9 +3765,9 @@ fix = {
>>        mach      = "*-*-solaris2.*";
>>        files     = complex.h;
>>        sed          = "/#if[ \t]*!defined(__cplusplus)/c\\\n"
>> Index: patches/patch-gcc_Makefile_in
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-gcc_Makefile_in,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-gcc_Makefile_in
>> --- patches/patch-gcc_Makefile_in    11 Mar 2022 19:28:58 -0000    1.2
>> +++ patches/patch-gcc_Makefile_in    3 Nov 2024 07:18:14 -0000
>> @@ -13,16 +13,7 @@ Index: gcc/Makefile.in
>>    # Link with -no-pie since we compile the compiler with -fno-PIE.
>>    LINKER += $(NO_PIE_FLAG)
>>    -@@ -803,8 +800,6 @@ NO_PIE_FLAG_FOR_BUILD = @NO_PIE_FLAG_FOR_BUILD@
>> - BUILD_CFLAGS= @BUILD_CFLAGS@ $(GENERATOR_CFLAGS) -DGENERATOR_FILE
>> - BUILD_CXXFLAGS = @BUILD_CXXFLAGS@ $(GENERATOR_CFLAGS) -DGENERATOR_FILE
>> - BUILD_NO_PIE_CFLAGS = @BUILD_NO_PIE_CFLAGS@
>> --BUILD_CFLAGS += $(BUILD_NO_PIE_CFLAGS)
>> --BUILD_CXXFLAGS += $(BUILD_NO_PIE_CFLAGS)
>> -
>> - # Native compiler that we use.  This may be C++ some day.
>> - COMPILER_FOR_BUILD = $(CXX_FOR_BUILD)
>> -@@ -2295,6 +2290,12 @@ DRIVER_DEFINES = \
>> +@@ -2288,6 +2285,12 @@ DRIVER_DEFINES = \
>>    CFLAGS-gcc.o += $(DRIVER_DEFINES) -DBASEVER=$(BASEVER_s)
>>    gcc.o: $(BASEVER)
>>    @@ -35,7 +26,7 @@ Index: gcc/Makefile.in
>>    specs.h : s-specs ; @true
>>    s-specs : Makefile
>>        lsf="$(lang_specs_files)"; for f in $$lsf; do \
>> -@@ -3240,7 +3241,7 @@ stmp-fixinc: gsyslimits.h macro_list 
>> fixinc_list \
>> +@@ -3233,7 +3236,7 @@ stmp-fixinc: gsyslimits.h macro_list 
>> fixinc_list \
>>              gcc_dir=`${PWD_COMMAND}` ; \
>>              export TARGET_MACHINE srcdir SHELL MACRO_LIST && \
>>              cd $(build_objdir)/fixincludes && \
>> Index: patches/patch-gcc_ada_Makefile_rtl
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-gcc_ada_Makefile_rtl,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-gcc_ada_Makefile_rtl
>> --- patches/patch-gcc_ada_Makefile_rtl    11 Mar 2022 19:28:58 
>> -0000    1.2
>> +++ patches/patch-gcc_ada_Makefile_rtl    3 Nov 2024 07:18:14 -0000
>> @@ -231,7 +231,7 @@ Index: gcc/ada/Makefile.rtl
>>    # aarch64 FreeBSD
>>    ifeq ($(strip $(filter-out %aarch64 freebsd%,$(target_cpu) 
>> $(target_os))),)
>>      LIBGNAT_TARGET_PAIRS = \
>> -@@ -2953,7 +3176,7 @@ LIBGNAT_OBJS = adadecode.o adaint.o argv.o 
>> aux-io.o
>> +@@ -2959,7 +3182,7 @@ LIBGNAT_OBJS = adadecode.o adaint.o argv.o 
>> aux-io.o
>>    #  from ADA_INCLUDE_SRCS.
>>       LIBGNAT_SRCS = $(patsubst %.o,%.c,$(LIBGNAT_OBJS))            \
>> Index: patches/patch-gcc_ada_adaint_c
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-gcc_ada_adaint_c,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-gcc_ada_adaint_c
>> --- patches/patch-gcc_ada_adaint_c    11 Mar 2022 19:28:58 -0000    1.2
>> +++ patches/patch-gcc_ada_adaint_c    3 Nov 2024 07:18:14 -0000
>> @@ -12,7 +12,7 @@ Index: gcc/ada/adaint.c
>>    #if defined (__vxworks)
>>       /* Code to implement __gnat_set_file_time_name for these 
>> systems.  */
>> -@@ -3681,3 +3682,9 @@ void __gnat_killprocesstree (int pid, int 
>> sig_num)
>> +@@ -3684,3 +3685,9 @@ void __gnat_killprocesstree (int pid, int 
>> sig_num)
>>    #ifdef __cplusplus
>>    }
>>    #endif
>> Index: patches/patch-gcc_builtins_c
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-gcc_builtins_c,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-gcc_builtins_c
>> --- patches/patch-gcc_builtins_c    11 Mar 2022 19:28:58 -0000    1.2
>> +++ patches/patch-gcc_builtins_c    3 Nov 2024 07:18:14 -0000
>> @@ -14,7 +14,7 @@ Index: gcc/builtins.c
>>    static rtx expand_builtin_stpncpy (tree, rtx);
>>    static rtx expand_builtin_strncat (tree, rtx);
>>    static rtx expand_builtin_strncpy (tree, rtx);
>> -@@ -6133,6 +6135,7 @@ expand_builtin_mempcpy_args (tree dest, tree 
>> src, tree
>> +@@ -6153,6 +6155,7 @@ expand_builtin_mempcpy_args (tree dest, tree 
>> src, tree
>>                          retmode, false);
>>    }
>>    @@ -22,7 +22,7 @@ Index: gcc/builtins.c
>>    /* Expand into a movstr instruction, if one is available. Return 
>> NULL_RTX if
>>       we failed, the caller should emit a normal call, otherwise try to
>>       get the result in TARGET, if convenient.
>> -@@ -6382,6 +6385,7 @@ expand_builtin_stpcpy (tree exp, rtx target, 
>> machine_m
>> +@@ -6402,6 +6405,7 @@ expand_builtin_stpcpy (tree exp, rtx target, 
>> machine_m
>>         return NULL_RTX;
>>    }
>> @@ -30,7 +30,7 @@ Index: gcc/builtins.c
>>       /* Check a call EXP to the stpncpy built-in for validity.
>>       Return NULL_RTX on both success and failure.  */
>> -@@ -9914,9 +9918,11 @@ expand_builtin (tree exp, rtx target, rtx 
>> subtarget, m
>> +@@ -9932,9 +9936,11 @@ expand_builtin (tree exp, rtx target, rtx 
>> subtarget, m
>>          break;
>>           case BUILT_IN_STRCAT:
>> @@ -42,7 +42,7 @@ Index: gcc/builtins.c
>>          break;
>>           case BUILT_IN_GETTEXT:
>> -@@ -9959,9 +9965,11 @@ expand_builtin (tree exp, rtx target, rtx 
>> subtarget, m
>> +@@ -9977,9 +9983,11 @@ expand_builtin (tree exp, rtx target, rtx 
>> subtarget, m
>>          break;
>>           case BUILT_IN_STRCPY:
>> @@ -54,7 +54,7 @@ Index: gcc/builtins.c
>>          break;
>>           case BUILT_IN_STRNCAT:
>> -@@ -9977,9 +9985,11 @@ expand_builtin (tree exp, rtx target, rtx 
>> subtarget, m
>> +@@ -9995,9 +10003,11 @@ expand_builtin (tree exp, rtx target, rtx 
>> subtarget, m
>>          break;
>>           case BUILT_IN_STPCPY:
>> Index: patches/patch-gcc_c_c-decl_c
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-gcc_c_c-decl_c,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-gcc_c_c-decl_c
>> --- patches/patch-gcc_c_c-decl_c    11 Mar 2022 19:28:58 -0000    1.2
>> +++ patches/patch-gcc_c_c-decl_c    3 Nov 2024 07:18:14 -0000
>> @@ -1,7 +1,7 @@
>>   Index: gcc/c/c-decl.c
>>   --- gcc/c/c-decl.c.orig
>>   +++ gcc/c/c-decl.c
>> -@@ -6148,6 +6148,8 @@ warn_variable_length_array (tree name, tree size)
>> +@@ -6149,6 +6149,8 @@ warn_variable_length_array (tree name, tree size)
>>        pedwarn_c90 (input_location, OPT_Wvla, "ISO C90 forbids 
>> variable "
>>                 "length array");
>>        }
>> Index: patches/patch-gcc_config_aarch64_aarch64_c
>> ===================================================================
>> RCS file: patches/patch-gcc_config_aarch64_aarch64_c
>> diff -N patches/patch-gcc_config_aarch64_aarch64_c
>> --- /dev/null    1 Jan 1970 00:00:00 -0000
>> +++ patches/patch-gcc_config_aarch64_aarch64_c    3 Nov 2024 07:18:14 
>> -0000
>> @@ -0,0 +1,51 @@
>> +- aarch64: PR target/105157 Increase number of cores 
>> TARGET_CPU_DEFAULT can encode
>> +  5522dec054cb940fe83661b96249aa12c54c1d77
>> +
>> +Index: gcc/config/aarch64/aarch64.c
>> +--- gcc/config/aarch64/aarch64.c.orig
>> ++++ gcc/config/aarch64/aarch64.c
>> +@@ -17155,6 +17155,9 @@ aarch64_validate_mtune (const char *str, 
>> const struct
>> +   return false;
>> + }
>> +
>> ++static_assert (TARGET_CPU_generic < TARGET_CPU_MASK,
>> ++           "TARGET_CPU_NBITS is big enough");
>> ++
>> + /* Return the CPU corresponding to the enum CPU.
>> +    If it doesn't specify a cpu, return the default.  */
>> +
>> +@@ -17164,12 +17167,12 @@ aarch64_get_tune_cpu (enum 
>> aarch64_processor cpu)
>> +   if (cpu != aarch64_none)
>> +     return &all_cores[cpu];
>> +
>> +-  /* The & 0x3f is to extract the bottom 6 bits that encode the
>> +-     default cpu as selected by the --with-cpu GCC configure option
>> ++  /* The & TARGET_CPU_MASK is to extract the bottom 
>> TARGET_CPU_NBITS bits that
>> ++     encode the default cpu as selected by the --with-cpu GCC 
>> configure option
>> +      in config.gcc.
>> +      ???: The whole TARGET_CPU_DEFAULT and AARCH64_CPU_DEFAULT_FLAGS
>> +      flags mechanism should be reworked to make it more sane. */
>> +-  return &all_cores[TARGET_CPU_DEFAULT & 0x3f];
>> ++  return &all_cores[TARGET_CPU_DEFAULT & TARGET_CPU_MASK];
>> + }
>> +
>> + /* Return the architecture corresponding to the enum ARCH.
>> +@@ -17181,7 +17184,8 @@ aarch64_get_arch (enum aarch64_arch arch)
>> +   if (arch != aarch64_no_arch)
>> +     return &all_architectures[arch];
>> +
>> +-  const struct processor *cpu = &all_cores[TARGET_CPU_DEFAULT & 0x3f];
>> ++  const struct processor *cpu
>> ++    = &all_cores[TARGET_CPU_DEFAULT & TARGET_CPU_MASK];
>> +
>> +   return &all_architectures[cpu->arch];
>> + }
>> +@@ -17268,7 +17272,7 @@ aarch64_override_options (void)
>> +     {
>> +       /* Get default configure-time CPU.  */
>> +       selected_cpu = aarch64_get_tune_cpu (aarch64_none);
>> +-      aarch64_isa_flags = TARGET_CPU_DEFAULT >> 6;
>> ++      aarch64_isa_flags = TARGET_CPU_DEFAULT >> TARGET_CPU_NBITS;
>> +     }
>> +
>> +       if (selected_tune)
>> Index: patches/patch-gcc_config_aarch64_aarch64_h
>> ===================================================================
>> RCS file: patches/patch-gcc_config_aarch64_aarch64_h
>> diff -N patches/patch-gcc_config_aarch64_aarch64_h
>> --- /dev/null    1 Jan 1970 00:00:00 -0000
>> +++ patches/patch-gcc_config_aarch64_aarch64_h    3 Nov 2024 07:18:14 
>> -0000
>> @@ -0,0 +1,24 @@
>> +- aarch64: PR target/105157 Increase number of cores 
>> TARGET_CPU_DEFAULT can encode
>> +  5522dec054cb940fe83661b96249aa12c54c1d77
>> +
>> +Index: gcc/config/aarch64/aarch64.h
>> +--- gcc/config/aarch64/aarch64.h.orig
>> ++++ gcc/config/aarch64/aarch64.h
>> +@@ -783,10 +783,16 @@ enum target_cpus
>> +   TARGET_CPU_generic
>> + };
>> +
>> ++/* Define how many bits are used to represent the CPU in 
>> TARGET_CPU_DEFAULT.
>> ++   This needs to be big enough to fit the value of TARGET_CPU_generic.
>> ++   All bits after this are used to represent the 
>> AARCH64_CPU_DEFAULT_FLAGS.  */
>> ++#define TARGET_CPU_NBITS 8
>> ++#define TARGET_CPU_MASK ((1 << TARGET_CPU_NBITS) - 1)
>> ++
>> + /* If there is no CPU defined at configure, use generic as 
>> default.  */
>> + #ifndef TARGET_CPU_DEFAULT
>> + #define TARGET_CPU_DEFAULT \
>> +-  (TARGET_CPU_generic | (AARCH64_CPU_DEFAULT_FLAGS << 6))
>> ++  (TARGET_CPU_generic | (AARCH64_CPU_DEFAULT_FLAGS << 
>> TARGET_CPU_NBITS))
>> + #endif
>> +
>> + /* If inserting NOP before a mult-accumulate insn remember to 
>> adjust the
>> Index: patches/patch-gcc_config_alpha_alpha_c
>> ===================================================================
>> RCS file: 
>> /cvs/ports/lang/gcc/11/patches/patch-gcc_config_alpha_alpha_c,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-gcc_config_alpha_alpha_c
>> --- patches/patch-gcc_config_alpha_alpha_c    11 Mar 2022 19:28:58 
>> -0000    1.2
>> +++ patches/patch-gcc_config_alpha_alpha_c    3 Nov 2024 07:18:14 -0000
>> @@ -51,7 +51,7 @@ Index: gcc/config/alpha/alpha.c
>>        case ARG_POINTER_REGNUM:
>>          ret += (ALPHA_ROUND (get_frame_size ()
>>                   + crtl->args.pretend_args_size)
>> -@@ -7673,6 +7678,9 @@ alpha_expand_prologue (void)
>> +@@ -7742,6 +7747,9 @@ alpha_expand_prologue (void)
>>      HOST_WIDE_INT reg_offset;
>>      rtx sa_reg;
>>    @@ -61,7 +61,7 @@ Index: gcc/config/alpha/alpha.c
>>      if (flag_stack_usage_info)
>>        current_function_static_stack_size = frame_size;
>>    -@@ -7709,6 +7717,8 @@ alpha_expand_prologue (void)
>> +@@ -7778,6 +7786,8 @@ alpha_expand_prologue (void)
>>      if (flag_stack_check || flag_stack_clash_protection)
>>        probed_size += get_stack_check_protect ();
>>    @@ -70,7 +70,7 @@ Index: gcc/config/alpha/alpha.c
>>      if (probed_size <= 32768)
>>        {
>>          if (probed_size > 4096)
>> -@@ -7789,6 +7799,34 @@ alpha_expand_prologue (void)
>> +@@ -7858,6 +7868,34 @@ alpha_expand_prologue (void)
>>                     plus_constant (Pmode, stack_pointer_rtx,
>>                            -frame_size)));
>>        }
>> @@ -105,7 +105,7 @@ Index: gcc/config/alpha/alpha.c
>>         /* Cope with very large offsets to the register save area.  */
>>      sa_bias = 0;
>> -@@ -8594,11 +8632,15 @@ summarize_insn (rtx x, struct shadow_summary 
>> *sum, int
>> +@@ -8663,11 +8701,15 @@ summarize_insn (rtx x, struct shadow_summary 
>> *sum, int
>>       result of an instruction that might generate an UNPREDICTABLE
>>       result.
>>    @@ -123,7 +123,7 @@ Index: gcc/config/alpha/alpha.c
>>       static void
>>    alpha_handle_trap_shadows (void)
>> -@@ -8670,7 +8712,7 @@ alpha_handle_trap_shadows (void)
>> +@@ -8739,7 +8781,7 @@ alpha_handle_trap_shadows (void)
>>                  if ((sum.defd.i & shadow.defd.i)
>>                  || (sum.defd.fp & shadow.defd.fp))
>>                {
>> @@ -132,7 +132,7 @@ Index: gcc/config/alpha/alpha.c
>>                  goto close_shadow;
>>                }
>>    -@@ -8693,6 +8735,13 @@ alpha_handle_trap_shadows (void)
>> +@@ -8762,6 +8804,13 @@ alpha_handle_trap_shadows (void)
>>                     goto close_shadow;
>>                }
>> @@ -146,7 +146,7 @@ Index: gcc/config/alpha/alpha.c
>>                  break;
>>                   case BARRIER:
>> -@@ -8703,6 +8752,7 @@ alpha_handle_trap_shadows (void)
>> +@@ -8772,6 +8821,7 @@ alpha_handle_trap_shadows (void)
>>                case JUMP_INSN:
>>                case CALL_INSN:
>>                case CODE_LABEL:
>> Index: patches/patch-gcc_config_alpha_alpha_md
>> ===================================================================
>> RCS file: 
>> /cvs/ports/lang/gcc/11/patches/patch-gcc_config_alpha_alpha_md,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-gcc_config_alpha_alpha_md
>> --- patches/patch-gcc_config_alpha_alpha_md    11 Mar 2022 19:28:58 
>> -0000    1.2
>> +++ patches/patch-gcc_config_alpha_alpha_md    3 Nov 2024 07:18:14 -0000
>> @@ -1,7 +1,7 @@
>>   Index: gcc/config/alpha/alpha.md
>>   --- gcc/config/alpha/alpha.md.orig
>>   +++ gcc/config/alpha/alpha.md
>> -@@ -4827,7 +4827,8 @@
>> +@@ -4830,7 +4830,8 @@
>>      if (CONST_INT_P (operands[1])
>>          && INTVAL (operands[1]) < 32768)
>>        {
>> Index: patches/patch-gcc_config_gcc
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-gcc_config_gcc,v
>> retrieving revision 1.5
>> diff -u -p -u -p -r1.5 patch-gcc_config_gcc
>> --- patches/patch-gcc_config_gcc    2 Jul 2023 15:33:26 -0000 1.5
>> +++ patches/patch-gcc_config_gcc    3 Nov 2024 07:18:14 -0000
>> @@ -1,7 +1,10 @@
>> +- aarch64: PR target/105157 Increase number of cores 
>> TARGET_CPU_DEFAULT can encode
>> +  5522dec054cb940fe83661b96249aa12c54c1d77
>> +
>>   Index: gcc/config.gcc
>>   --- gcc/config.gcc.orig
>>   +++ gcc/config.gcc
>> -@@ -904,6 +904,14 @@ case ${target} in
>> +@@ -920,6 +920,14 @@ case ${target} in
>>          default_gnu_indirect_function=yes
>>          ;;
>>      esac
>> @@ -16,7 +19,7 @@ Index: gcc/config.gcc
>>      ;;
>>    *-*-openbsd*)
>>      tmake_file="t-openbsd"
>> -@@ -1133,6 +1141,13 @@ aarch64*-*-netbsd*)
>> +@@ -1149,6 +1157,13 @@ aarch64*-*-netbsd*)
>>        tmake_file="${tmake_file} aarch64/t-aarch64 
>> aarch64/t-aarch64-netbsd"
>>        extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
>>        ;;
>> @@ -30,7 +33,7 @@ Index: gcc/config.gcc
>>    aarch64*-*-linux*)
>>        tm_file="${tm_file} dbxelf.h elfos.h gnu-user.h linux.h 
>> glibc-stdint.h"
>>        tm_file="${tm_file} aarch64/aarch64-elf.h 
>> aarch64/aarch64-errata.h aarch64/aarch64-linux.h"
>> -@@ -1179,7 +1194,7 @@ alpha*-*-netbsd*)
>> +@@ -1195,7 +1210,7 @@ alpha*-*-netbsd*)
>>                   alpha/elf.opt"
>>        ;;
>>    alpha*-*-openbsd*)
>> @@ -39,7 +42,7 @@ Index: gcc/config.gcc
>>        tm_file="elfos.h alpha/alpha.h alpha/elf.h openbsd.h 
>> openbsd-stdint.h alpha/openbsd.h openbsd-libpthread.h"
>>        tmake_file="${tmake_file} alpha/t-alpha"
>>        extra_options="${extra_options} openbsd.opt alpha/elf.opt"
>> -@@ -1303,10 +1318,18 @@ arm*-*-netbsdelf*)
>> +@@ -1319,10 +1334,18 @@ arm*-*-netbsdelf*)
>>        armv7*) target_cpu_cname="generic-armv7-a";;
>>        esac
>>        ;;
>> @@ -62,7 +65,7 @@ Index: gcc/config.gcc
>>        arm*b-*-linux*)
>>            tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=1"
>>            ;;
>> -@@ -1731,10 +1754,11 @@ hppa*-*-linux*)
>> +@@ -1747,10 +1770,11 @@ hppa*-*-linux*)
>>        ;;
>>    hppa*-*-openbsd*)
>>        target_cpu_default="MASK_PA_11"
>> @@ -75,7 +78,7 @@ Index: gcc/config.gcc
>>        d_target_objs="${d_target_objs} pa-d.o"
>>        gas=yes
>>        gnu_ld=yes
>> -@@ -1932,6 +1956,7 @@ x86_64-*-netbsd*)
>> +@@ -1948,6 +1972,7 @@ x86_64-*-netbsd*)
>>        extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
>>        ;;
>>    i[34567]86-*-openbsd*)
>> @@ -83,7 +86,7 @@ Index: gcc/config.gcc
>>        tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h"
>>        tm_file="${tm_file} openbsd.h openbsd-stdint.h 
>> openbsd-libpthread.h i386/openbsdelf.h"
>>        extra_options="${extra_options} openbsd.opt"
>> -@@ -1939,12 +1964,25 @@ i[34567]86-*-openbsd*)
>> +@@ -1955,12 +1980,25 @@ i[34567]86-*-openbsd*)
>>        gnu_ld=yes
>>        ;;
>>    x86_64-*-openbsd*)
>> @@ -109,7 +112,7 @@ Index: gcc/config.gcc
>>    i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | 
>> i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu)
>>                # Intel 80386's running GNU/*
>>                # with ELF format using glibc 2
>> -@@ -2532,6 +2570,19 @@ mips*-*-netbsd*)            # NetBSD/mips, 
>> either endian.
>> +@@ -2548,6 +2586,19 @@ mips*-*-netbsd*)            # NetBSD/mips, 
>> either endian.
>>        tm_file="elfos.h ${tm_file} mips/elf.h ${nbsd_tm_file} 
>> mips/netbsd.h"
>>        extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
>>        ;;
>> @@ -129,7 +132,7 @@ Index: gcc/config.gcc
>>    mips*-img-linux*)
>>        tm_file="dbxelf.h elfos.h gnu-user.h linux.h linux-android.h 
>> glibc-stdint.h ${tm_file} mips/gnu-user.h mips/linux.h 
>> mips/linux-common.h mips/mti-linux.h"
>>        extra_options="${extra_options} linux-android.opt"
>> -@@ -2891,6 +2942,18 @@ pdp11-*-*)
>> +@@ -2907,6 +2958,18 @@ pdp11-*-*)
>>    #    tmake_file="${tmake_file} rs6000/t-fprules"
>>    #    extra_headers=
>>    #    ;;
>> @@ -148,7 +151,7 @@ Index: gcc/config.gcc
>>    powerpc-*-darwin*)
>>        extra_options="${extra_options} ${cpu_type}/darwin.opt"
>>        case ${target} in
>> -@@ -3452,10 +3515,10 @@ sparc64-*-netbsd*)
>> +@@ -3468,10 +3531,10 @@ sparc64-*-netbsd*)
>>        tmake_file="${tmake_file} sparc/t-sparc sparc/t-netbsd64"
>>        ;;
>>    sparc64-*-openbsd*)
>> @@ -160,16 +163,25 @@ Index: gcc/config.gcc
>>        gas=yes gnu_ld=yes
>>        with_cpu=ultrasparc
>>        tmake_file="${tmake_file} sparc/t-sparc"
>> -@@ -3682,6 +3745,12 @@ case ${target} in
>> -     else
>> -       arch=i386
>> -     fi
>> +@@ -3702,6 +3765,12 @@ case ${target} in
>> +     arch_without_sse2=yes
>> +     arch_without_64bit=yes
>> +     ;;
>> ++  i386-*-openbsd*)
>> ++    arch=pentium
>>   +    cpu=generic
>>   +    arch_without_sse2=yes
>>   +    arch_without_64bit=yes
>>   +    ;;
>> -+  i386-*-openbsd*)
>> -+    arch=pentium
>> +   i386-*-netbsd*)
>> +     arch=i486
>>        cpu=generic
>> -     arch_without_sse2=yes
>> -     arch_without_64bit=yes
>> +@@ -4291,7 +4360,7 @@ case "${target}" in
>> +                 ext_val=`echo $ext_val | sed -e 's/[a-z0-9]\+//'`
>> +               done
>> +
>> +-              ext_mask="(("$ext_mask") << 6)"
>> ++              ext_mask="(("$ext_mask") << TARGET_CPU_NBITS)"
>> +               if [ x"$base_id" != x ]; then
>> +                 target_cpu_cname="TARGET_CPU_$base_id | $ext_mask"
>> +               fi
>> Index: patches/patch-gcc_config_i386_i386_c
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-gcc_config_i386_i386_c,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-gcc_config_i386_i386_c
>> --- patches/patch-gcc_config_i386_i386_c    11 Mar 2022 19:28:58 
>> -0000    1.2
>> +++ patches/patch-gcc_config_i386_i386_c    3 Nov 2024 07:18:14 -0000
>> @@ -1,7 +1,7 @@
>>   Index: gcc/config/i386/i386.c
>>   --- gcc/config/i386/i386.c.orig
>>   +++ gcc/config/i386/i386.c
>> -@@ -6398,6 +6398,7 @@ ix86_compute_frame_layout (void)
>> +@@ -6373,6 +6373,7 @@ ix86_compute_frame_layout (void)
>>        }
>>        }
>>    @@ -9,7 +9,7 @@ Index: gcc/config/i386/i386.c
>>      frame->nregs = ix86_nsaved_regs ();
>>      frame->nsseregs = ix86_nsaved_sseregs ();
>>    -@@ -8357,6 +8358,9 @@ ix86_expand_prologue (void)
>> +@@ -8336,6 +8337,9 @@ ix86_expand_prologue (void)
>>          RTX_FRAME_RELATED_P (insn) = 1;
>>        }
>>        }
>> Index: patches/patch-gcc_config_i386_i386_h
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-gcc_config_i386_i386_h,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-gcc_config_i386_i386_h
>> --- patches/patch-gcc_config_i386_i386_h    11 Mar 2022 19:28:58 
>> -0000    1.2
>> +++ patches/patch-gcc_config_i386_i386_h    3 Nov 2024 07:18:14 -0000
>> @@ -1,7 +1,7 @@
>>   Index: gcc/config/i386/i386.h
>>   --- gcc/config/i386/i386.h.orig
>>   +++ gcc/config/i386/i386.h
>> -@@ -2771,6 +2771,8 @@ struct GTY(()) ix86_frame
>> +@@ -2793,6 +2793,8 @@ struct GTY(()) ix86_frame
>>      HOST_WIDE_INT stack_realign_offset;
>>      HOST_WIDE_INT sse_reg_save_offset;
>>    Index: patches/patch-gcc_config_pa_pa_c
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-gcc_config_pa_pa_c,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-gcc_config_pa_pa_c
>> --- patches/patch-gcc_config_pa_pa_c    11 Mar 2022 19:28:58 -0000    
>> 1.2
>> +++ patches/patch-gcc_config_pa_pa_c    3 Nov 2024 07:18:14 -0000
>> @@ -9,7 +9,7 @@ Index: gcc/config/pa/pa.c
>>    #include "alias.h"
>>    #include "fold-const.h"
>>    #include "stor-layout.h"
>> -@@ -4065,6 +4066,9 @@ pa_expand_prologue (void)
>> +@@ -4075,6 +4076,9 @@ pa_expand_prologue (void)
>>      actual_fsize = pa_compute_frame_size (size, &save_fregs);
>>      if (flag_stack_usage_info)
>>        current_function_static_stack_size = actual_fsize;
>> Index: patches/patch-gcc_config_pa_pa_h
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-gcc_config_pa_pa_h,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-gcc_config_pa_pa_h
>> --- patches/patch-gcc_config_pa_pa_h    11 Mar 2022 19:28:58 -0000    
>> 1.2
>> +++ patches/patch-gcc_config_pa_pa_h    3 Nov 2024 07:18:14 -0000
>> @@ -1,7 +1,7 @@
>>   Index: gcc/config/pa/pa.h
>>   --- gcc/config/pa/pa.h.orig
>>   +++ gcc/config/pa/pa.h
>> -@@ -318,6 +318,9 @@ typedef struct GTY(()) machine_function
>> +@@ -324,6 +324,9 @@ typedef struct GTY(()) machine_function
>>       && TYPE_MODE (TREE_TYPE (TYPE)) == QImode    \
>>       && (ALIGN) < BITS_PER_WORD ? BITS_PER_WORD : (ALIGN))
>>    Index: patches/patch-gcc_config_sparc_sparc_c
>> ===================================================================
>> RCS file: 
>> /cvs/ports/lang/gcc/11/patches/patch-gcc_config_sparc_sparc_c,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-gcc_config_sparc_sparc_c
>> --- patches/patch-gcc_config_sparc_sparc_c    11 Mar 2022 19:28:58 
>> -0000    1.2
>> +++ patches/patch-gcc_config_sparc_sparc_c    3 Nov 2024 07:18:14 -0000
>> @@ -9,18 +9,7 @@ Index: gcc/config/sparc/sparc.c
>>    #include "explow.h"
>>    #include "expr.h"
>>    #include "debug.h"
>> -@@ -6056,8 +6057,8 @@ sparc_expand_prologue (void)
>> -          at the end of the function prologue, and moving 
>> instructions that
>> -          access the stack via the frame pointer between the 
>> instructions
>> -          that decrement the stack pointer could result in accessing 
>> the
>> --         register window save area, which is volatile.  */
>> --      emit_insn (gen_frame_blockage ());
>> -+     register window save area, which is volatile.  */
>> -+  emit_insn (gen_frame_blockage ());
>> -     }
>> -       else
>> -     {
>> -@@ -6083,6 +6084,9 @@ sparc_expand_prologue (void)
>> +@@ -6166,6 +6167,9 @@ sparc_expand_prologue (void)
>>                             sparc_frame_base_offset
>>                           - sparc_apparent_frame_size,
>>                         SORR_SAVE);
>> Index: patches/patch-gcc_configure
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-gcc_configure,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-gcc_configure
>> --- patches/patch-gcc_configure    11 Mar 2022 19:28:58 -0000 1.2
>> +++ patches/patch-gcc_configure    3 Nov 2024 07:18:14 -0000
>> @@ -1,7 +1,7 @@
>>   Index: gcc/configure
>>   --- gcc/configure.orig
>>   +++ gcc/configure
>> -@@ -18814,7 +18814,7 @@ openbsd*)
>> +@@ -18868,7 +18868,7 @@ openbsd*)
>>        *)                need_version=no  ;;
>>      esac
>> library_names_spec='${libname}${release}${shared_ext}$versuffix 
>> ${libname}${shared_ext}$versuffix'
>> @@ -10,7 +10,7 @@ Index: gcc/configure
>>      shlibpath_var=LD_LIBRARY_PATH
>>      if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test 
>> "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
>>        case $host_os in
>> -@@ -22469,7 +22469,7 @@ openbsd*)
>> +@@ -22523,7 +22523,7 @@ openbsd*)
>>        *)                need_version=no  ;;
>>      esac
>> library_names_spec='${libname}${release}${shared_ext}$versuffix 
>> ${libname}${shared_ext}$versuffix'
>> @@ -19,16 +19,16 @@ Index: gcc/configure
>>      shlibpath_var=LD_LIBRARY_PATH
>>      if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test 
>> "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
>>        case $host_os in
>> -@@ -30415,7 +30415,7 @@ $as_echo "#define 
>> HAVE_LD_PPC_GNU_ATTR_LONG_DOUBLE 1"
>> +@@ -31074,7 +31074,7 @@ $as_echo "#define 
>> HAVE_LD_PPC_GNU_ATTR_LONG_DOUBLE 1"
>>    esac
>>       case "$target:$tm_file" in
>> --  powerpc64-*-freebsd* | powerpc64*-*-linux* | 
>> powerpc*-*-linux*rs6000/biarch64.h*)
>> -+  powerpc64-*-freebsd* | powerpc64*-*-linux* | 
>> powerpc*-*-linux*rs6000/biarch64.h* | powerpc64*-openbsd*)
>> +-  powerpc64*-*-freebsd* | powerpc64*-*-linux* | 
>> powerpc*-*-linux*rs6000/biarch64.h*)
>> ++  powerpc64*-*-freebsd* | powerpc64*-*-linux* | 
>> powerpc*-*-linux*rs6000/biarch64.h* | powerpc64*-openbsd*)
>>      case "$target" in
>>         *le-*-linux*)
>>         emul_name="-melf64lppc"
>> -@@ -30429,6 +30429,10 @@ case "$target:$tm_file" in
>> +@@ -31088,6 +31088,10 @@ case "$target:$tm_file" in
>>         *-*-freebsd*)
>>         emul_name="-melf64ppc_fbsd"
>>          ;;
>> @@ -39,7 +39,7 @@ Index: gcc/configure
>>      esac
>>        { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker 
>> support for omitting dot symbols" >&5
>>    $as_echo_n "checking linker support for omitting dot symbols... " 
>> >&6; }
>> -@@ -30796,6 +30800,7 @@ else
>> +@@ -31455,6 +31459,7 @@ else
>>    fi
>>               ;;
>> @@ -47,7 +47,7 @@ Index: gcc/configure
>>           *) gcc_cv_libc_provides_ssp=no ;;
>>        esac
>>      fi
>> -@@ -30816,6 +30821,7 @@ if test "${enable_default_ssp+set}" = set; 
>> then :
>> +@@ -31475,6 +31480,7 @@ if test "${enable_default_ssp+set}" = set; 
>> then :
>>    if test x$gcc_cv_libc_provides_ssp = xyes; then
>>      case "$target" in
>>        ia64*-*-*) enable_default_ssp=no ;;
>> Index: patches/patch-gcc_d_d-lang_cc
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-gcc_d_d-lang_cc,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-gcc_d_d-lang_cc
>> --- patches/patch-gcc_d_d-lang_cc    11 Mar 2022 19:28:58 -0000    1.2
>> +++ patches/patch-gcc_d_d-lang_cc    3 Nov 2024 07:18:14 -0000
>> @@ -1,7 +1,7 @@
>>   Index: gcc/d/d-lang.cc
>>   --- gcc/d/d-lang.cc.orig
>>   +++ gcc/d/d-lang.cc
>> -@@ -1729,6 +1729,12 @@ d_enum_underlying_base_type (const_tree type)
>> +@@ -1733,6 +1733,12 @@ d_enum_underlying_base_type (const_tree type)
>>      return TREE_TYPE (type);
>>    }
>>    Index: patches/patch-gcc_fortran_f95-lang_c
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-gcc_fortran_f95-lang_c,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-gcc_fortran_f95-lang_c
>> --- patches/patch-gcc_fortran_f95-lang_c    11 Mar 2022 19:28:58 
>> -0000    1.2
>> +++ patches/patch-gcc_fortran_f95-lang_c    3 Nov 2024 07:18:14 -0000
>> @@ -1,7 +1,7 @@
>>   Index: gcc/fortran/f95-lang.c
>>   --- gcc/fortran/f95-lang.c.orig
>>   +++ gcc/fortran/f95-lang.c
>> -@@ -1294,6 +1294,11 @@ gfc_maybe_initialize_eh (void)
>> +@@ -1296,6 +1296,11 @@ gfc_maybe_initialize_eh (void)
>>      using_eh_for_cleanups ();
>>    }
>>    Index: patches/patch-gcc_gcc_c
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-gcc_gcc_c,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-gcc_gcc_c
>> --- patches/patch-gcc_gcc_c    11 Mar 2022 19:28:58 -0000    1.2
>> +++ patches/patch-gcc_gcc_c    3 Nov 2024 07:18:14 -0000
>> @@ -1,7 +1,7 @@
>>   Index: gcc/gcc.c
>>   --- gcc/gcc.c.orig
>>   +++ gcc/gcc.c
>> -@@ -1038,7 +1038,7 @@ proper position among the other output files.  */
>> +@@ -1040,7 +1040,7 @@ proper position among the other output files.  */
>>    #else
>>    #define LD_PIE_SPEC ""
>>    #endif
>> Index: patches/patch-gcc_lto_lto-common_c
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-gcc_lto_lto-common_c,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-gcc_lto_lto-common_c
>> --- patches/patch-gcc_lto_lto-common_c    11 Mar 2022 19:28:58 
>> -0000    1.2
>> +++ patches/patch-gcc_lto_lto-common_c    3 Nov 2024 07:18:14 -0000
>> @@ -1,7 +1,7 @@
>>   Index: gcc/lto/lto-common.c
>>   --- gcc/lto/lto-common.c.orig
>>   +++ gcc/lto/lto-common.c
>> -@@ -3102,4 +3102,10 @@ lto_fe_init (void)
>> +@@ -3103,4 +3103,10 @@ lto_fe_init (void)
>>    #endif
>>    }
>>    Index: patches/patch-gnattools_configure
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-gnattools_configure,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-gnattools_configure
>> --- patches/patch-gnattools_configure    11 Mar 2022 19:28:58 
>> -0000    1.2
>> +++ patches/patch-gnattools_configure    3 Nov 2024 07:18:14 -0000
>> @@ -1,9 +1,9 @@
>>   Index: gnattools/configure
>>   --- gnattools/configure.orig
>>   +++ gnattools/configure
>> -@@ -2079,6 +2079,11 @@ case "${target}" in
>> -     mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \
>> -     indepsw.adb<indepsw-gnu.adb"
>> +@@ -2069,6 +2069,11 @@ case "${target}" in
>> +   *-*-freebsd*)
>> +     TOOLS_TARGET_PAIRS="indepsw.adb<indepsw-gnu.adb"
>>        ;;
>>   +  *-*-openbsd*)
>>   +    TOOLS_TARGET_PAIRS="\
>> @@ -11,5 +11,5 @@ Index: gnattools/configure
>>   +    indepsw.adb<indepsw-gnu.adb"
>>   +    ;;
>>      *-*-linux*)
>> -     TOOLS_TARGET_PAIRS="\
>> -     mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \
>> +     TOOLS_TARGET_PAIRS="indepsw.adb<indepsw-gnu.adb"
>> +     ;;
>> Index: patches/patch-gnattools_configure_ac
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-gnattools_configure_ac,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-gnattools_configure_ac
>> --- patches/patch-gnattools_configure_ac    11 Mar 2022 19:28:58 
>> -0000    1.2
>> +++ patches/patch-gnattools_configure_ac    3 Nov 2024 07:18:14 -0000
>> @@ -1,9 +1,9 @@
>>   Index: gnattools/configure.ac
>>   --- gnattools/configure.ac.orig
>>   +++ gnattools/configure.ac
>> -@@ -80,6 +80,11 @@ case "${target}" in
>> -     mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \
>> -     indepsw.adb<indepsw-gnu.adb"
>> +@@ -70,6 +70,11 @@ case "${target}" in
>> +   *-*-freebsd*)
>> +     TOOLS_TARGET_PAIRS="indepsw.adb<indepsw-gnu.adb"
>>        ;;
>>   +  *-*-openbsd*)
>>   +    TOOLS_TARGET_PAIRS="\
>> @@ -11,5 +11,5 @@ Index: gnattools/configure.ac
>>   +    indepsw.adb<indepsw-gnu.adb"
>>   +    ;;
>>      *-*-linux*)
>> -     TOOLS_TARGET_PAIRS="\
>> -     mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \
>> +     TOOLS_TARGET_PAIRS="indepsw.adb<indepsw-gnu.adb"
>> +     ;;
>> Index: patches/patch-libatomic_Makefile_in
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-libatomic_Makefile_in,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-libatomic_Makefile_in
>> --- patches/patch-libatomic_Makefile_in    11 Mar 2022 19:28:58 
>> -0000    1.2
>> +++ patches/patch-libatomic_Makefile_in    3 Nov 2024 07:18:14 -0000
>> @@ -1,7 +1,7 @@
>>   Index: libatomic/Makefile.in
>>   --- libatomic/Makefile.in.orig
>>   +++ libatomic/Makefile.in
>> -@@ -153,7 +153,7 @@ am__uninstall_files_from_dir = { \
>> +@@ -155,7 +155,7 @@ am__uninstall_files_from_dir = { \
>>    am__installdirs = "$(DESTDIR)$(toolexeclibdir)"
>>    LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
>>    am_libatomic_la_OBJECTS = gload.lo gstore.lo gcas.lo gexch.lo \
>> @@ -10,7 +10,7 @@ Index: libatomic/Makefile.in
>>    libatomic_la_OBJECTS = $(am_libatomic_la_OBJECTS)
>>    AM_V_lt = $(am__v_lt_@AM_V@)
>>    am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
>> -@@ -164,7 +164,7 @@ libatomic_la_LINK = $(LIBTOOL) $(AM_V_lt) 
>> --tag=CC $(A
>> +@@ -166,7 +166,7 @@ libatomic_la_LINK = $(LIBTOOL) $(AM_V_lt) 
>> --tag=CC $(A
>>        $(libatomic_la_LDFLAGS) $(LDFLAGS) -o $@
>>    libatomic_convenience_la_DEPENDENCIES = $(libatomic_la_LIBADD)
>>    am__objects_1 = gload.lo gstore.lo gcas.lo gexch.lo glfree.lo 
>> lock.lo \
>> @@ -19,7 +19,7 @@ Index: libatomic/Makefile.in
>>    am_libatomic_convenience_la_OBJECTS = $(am__objects_1)
>>    libatomic_convenience_la_OBJECTS =  \
>>        $(am_libatomic_convenience_la_OBJECTS)
>> -@@ -388,6 +388,8 @@ gcc_version := $(shell @get_gcc_base_ver@ 
>> $(top_srcdir
>> +@@ -390,6 +390,8 @@ gcc_version := $(shell @get_gcc_base_ver@ 
>> $(top_srcdir
>>    search_path = $(addprefix $(top_srcdir)/config/, $(config_path)) \
>>        $(top_srcdir) $(top_builddir)
>>    @@ -28,7 +28,7 @@ Index: libatomic/Makefile.in
>>    DEFAULT_INCLUDES = $(addprefix -I, $(search_path))
>>    AM_CFLAGS = $(XCFLAGS)
>>    AM_CCASFLAGS = $(XCFLAGS)
>> -@@ -400,10 +402,10 @@ noinst_LTLIBRARIES = libatomic_convenience.la
>> +@@ -402,10 +404,10 @@ noinst_LTLIBRARIES = libatomic_convenience.la
>>    @LIBAT_BUILD_VERSIONED_SHLIB_FALSE@libatomic_version_dep =
>> @LIBAT_BUILD_VERSIONED_SHLIB_GNU_TRUE@@LIBAT_BUILD_VERSIONED_SHLIB_TRUE@libatomic_version_dep 
>> = $(top_srcdir)/libatomic.map
>> @LIBAT_BUILD_VERSIONED_SHLIB_SUN_TRUE@@LIBAT_BUILD_VERSIONED_SHLIB_TRUE@libatomic_version_dep 
>> = libatomic.map-sun
>> @@ -41,7 +41,7 @@ Index: libatomic/Makefile.in
>>       SIZEOBJS = load store cas exch fadd fsub fand fior fxor fnand tas
>>    EXTRA_libatomic_la_SOURCES = $(addsuffix _n.c,$(SIZEOBJS))
>> -@@ -557,9 +559,7 @@ mostlyclean-compile:
>> +@@ -559,9 +561,7 @@ mostlyclean-compile:
>>    distclean-compile:
>>        -rm -f *.tab.c
>>    Index: patches/patch-libgcc_config_host
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-libgcc_config_host,v
>> retrieving revision 1.3
>> diff -u -p -u -p -r1.3 patch-libgcc_config_host
>> --- patches/patch-libgcc_config_host    19 Sep 2022 22:17:34 -0000    
>> 1.3
>> +++ patches/patch-libgcc_config_host    3 Nov 2024 07:18:14 -0000
>> @@ -1,7 +1,7 @@
>>   Index: libgcc/config.host
>>   --- libgcc/config.host.orig
>>   +++ libgcc/config.host
>> -@@ -377,6 +377,13 @@ aarch64*-*-netbsd*)
>> +@@ -405,6 +405,13 @@ aarch64*-*-netbsd*)
>>        tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
>>        md_unwind_header=aarch64/aarch64-unwind.h
>>        ;;
>> @@ -15,7 +15,7 @@ Index: libgcc/config.host
>>    aarch64*-*-fuchsia*)
>>        tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
>>        tmake_file="${tmake_file} ${cpu_type}/t-lse t-slibgcc-libgcc"
>> -@@ -468,8 +475,13 @@ arm*-*-netbsdelf*)
>> +@@ -496,8 +503,13 @@ arm*-*-netbsdelf*)
>>            ;;
>>        esac
>>        ;;
>> @@ -31,7 +31,7 @@ Index: libgcc/config.host
>>        tmake_file="${tmake_file} arm/t-elf arm/t-bpabi 
>> arm/t-linux-eabi t-slibgcc-libgcc"
>>        tm_file="$tm_file arm/bpabi-lib.h"
>>        unwind_header=config/arm/unwind-arm.h
>> -@@ -976,6 +988,12 @@ microblaze*-*-rtems*)
>> +@@ -1007,6 +1019,12 @@ microblaze*-*-rtems*)
>>        ;;
>>    mips*-*-netbsd*)            # NetBSD/mips, either endian.
>>        ;;
>> @@ -44,7 +44,7 @@ Index: libgcc/config.host
>>    mips*-*-linux*)                # Linux MIPS, either endian.
>>        extra_parts="$extra_parts crtfastmath.o"
>>        tmake_file="${tmake_file} t-crtfm"
>> -@@ -1160,6 +1178,9 @@ powerpc*-*-freebsd*)
>> +@@ -1195,6 +1213,9 @@ powerpc*-*-freebsd*)
>>    powerpc-*-netbsd*)
>>        tmake_file="$tmake_file rs6000/t-netbsd rs6000/t-crtstuff"
>>        ;;
>> @@ -54,7 +54,7 @@ Index: libgcc/config.host
>>    powerpc-*-eabispe*)
>>        tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr 
>> rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
>>        extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o 
>> crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
>> -@@ -1279,6 +1300,9 @@ riscv*-*-linux*)
>> +@@ -1314,6 +1335,9 @@ riscv*-*-linux*)
>>    riscv*-*-freebsd*)
>>        tmake_file="${tmake_file} riscv/t-softfp${host_address} 
>> t-softfp riscv/t-elf riscv/t-elf${host_address} t-slibgcc-libgcc"
>>        extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o 
>> crtendS.o crtbeginT.o"
>> Index: patches/patch-libgomp_configure
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-libgomp_configure,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-libgomp_configure
>> --- patches/patch-libgomp_configure    11 Mar 2022 19:28:58 -0000    1.2
>> +++ patches/patch-libgomp_configure    3 Nov 2024 07:18:14 -0000
>> @@ -1,7 +1,7 @@
>>   Index: libgomp/configure
>>   --- libgomp/configure.orig
>>   +++ libgomp/configure
>> -@@ -10843,7 +10843,7 @@ openbsd*)
>> +@@ -10844,7 +10844,7 @@ openbsd*)
>>        *)                need_version=no  ;;
>>      esac
>> library_names_spec='${libname}${release}${shared_ext}$versuffix 
>> ${libname}${shared_ext}$versuffix'
>> @@ -10,7 +10,7 @@ Index: libgomp/configure
>>      shlibpath_var=LD_LIBRARY_PATH
>>      if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test 
>> "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
>>        case $host_os in
>> -@@ -14477,7 +14477,7 @@ openbsd*)
>> +@@ -14478,7 +14478,7 @@ openbsd*)
>>        *)                need_version=no  ;;
>>      esac
>> library_names_spec='${libname}${release}${shared_ext}$versuffix 
>> ${libname}${shared_ext}$versuffix'
>> Index: patches/patch-libphobos_libdruntime_core_thread_fiber_d
>> ===================================================================
>> RCS file: 
>> /cvs/ports/lang/gcc/11/patches/patch-libphobos_libdruntime_core_thread_fiber_d,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-libphobos_libdruntime_core_thread_fiber_d
>> --- patches/patch-libphobos_libdruntime_core_thread_fiber_d 11 Mar 
>> 2022 19:28:58 -0000    1.2
>> +++ patches/patch-libphobos_libdruntime_core_thread_fiber_d    3 Nov 
>> 2024 07:18:14 -0000
>> @@ -24,7 +24,7 @@ Index: libphobos/libdruntime/core/thread
>>                version = AlignFiberStackTo16Byte;
>>            }
>>        }
>> -@@ -1033,10 +1036,13 @@ class Fiber (private)
>> +@@ -1043,10 +1046,13 @@ class Fiber (private)
>>                    // Allocate more for the memory guard
>>                    sz += guardPageSize;
>>    @@ -39,7 +39,7 @@ Index: libphobos/libdruntime/core/thread
>>                                   -1,
>>                                   0 );
>>                    if ( m_pmem == MAP_FAILED )
>> -@@ -1338,27 +1344,22 @@ class Fiber (private)
>> +@@ -1348,27 +1354,22 @@ class Fiber (private)
>>            }
>>            else version (AsmPPC_Posix)
>>            {
>> Index: patches/patch-libstdc++-v3_configure
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/patches/patch-libstdc++-v3_configure,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-libstdc++-v3_configure
>> --- patches/patch-libstdc++-v3_configure    11 Mar 2022 19:28:58 
>> -0000    1.2
>> +++ patches/patch-libstdc++-v3_configure    3 Nov 2024 07:18:14 -0000
>> @@ -3,7 +3,7 @@
>>   Index: libstdc++-v3/configure
>>   --- libstdc++-v3/configure.orig
>>   +++ libstdc++-v3/configure
>> -@@ -11537,7 +11537,7 @@ openbsd*)
>> +@@ -11585,7 +11585,7 @@ openbsd*)
>>        *)                need_version=no  ;;
>>      esac
>> library_names_spec='${libname}${release}${shared_ext}$versuffix 
>> ${libname}${shared_ext}$versuffix'
>> @@ -12,7 +12,7 @@ Index: libstdc++-v3/configure
>>      shlibpath_var=LD_LIBRARY_PATH
>>      if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test 
>> "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
>>        case $host_os in
>> -@@ -15216,7 +15216,7 @@ openbsd*)
>> +@@ -15264,7 +15264,7 @@ openbsd*)
>>        *)                need_version=no  ;;
>>      esac
>> library_names_spec='${libname}${release}${shared_ext}$versuffix 
>> ${libname}${shared_ext}$versuffix'
>> Index: patches/patch-libstdc++-v3_python_Makefile_in
>> ===================================================================
>> RCS file: 
>> /cvs/ports/lang/gcc/11/patches/patch-libstdc++-v3_python_Makefile_in,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-libstdc++-v3_python_Makefile_in
>> --- patches/patch-libstdc++-v3_python_Makefile_in    11 Mar 2022 
>> 19:28:58 -0000    1.2
>> +++ patches/patch-libstdc++-v3_python_Makefile_in    3 Nov 2024 
>> 07:18:14 -0000
>> @@ -1,7 +1,7 @@
>>   Index: libstdc++-v3/python/Makefile.in
>>   --- libstdc++-v3/python/Makefile.in.orig
>>   +++ libstdc++-v3/python/Makefile.in
>> -@@ -608,10 +608,10 @@ gdb.py: hook.in Makefile
>> +@@ -610,10 +610,10 @@ gdb.py: hook.in Makefile
>>    install-data-local: gdb.py
>>        @$(mkdir_p) $(DESTDIR)$(toolexeclibdir)
>>        @libname=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ 
>> .*//;p;}" \
>> @@ -13,4 +13,4 @@ Index: libstdc++-v3/python/Makefile.in
>>   +          $(DESTDIR)$(toolexeclibdir)/libestdc++.la`; \
>>        fi; \
>>        echo " $(INSTALL_DATA) gdb.py 
>> $(DESTDIR)$(toolexeclibdir)/$$libname-gdb.py"; \
>> -     $(INSTALL_DATA) gdb.py 
>> $(DESTDIR)$(toolexeclibdir)/$$libname-gdb.py
>> +     $(INSTALL_DATA) gdb.py 
>> $(DESTDIR)$(toolexeclibdir)/$$libname-gdb.py ; \
>> Index: patches/patch-libstdc++-v3_src_Makefile_in
>> ===================================================================
>> RCS file: 
>> /cvs/ports/lang/gcc/11/patches/patch-libstdc++-v3_src_Makefile_in,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 patch-libstdc++-v3_src_Makefile_in
>> --- patches/patch-libstdc++-v3_src_Makefile_in    11 Mar 2022 
>> 19:28:58 -0000    1.2
>> +++ patches/patch-libstdc++-v3_src_Makefile_in    3 Nov 2024 07:18:14 
>> -0000
>> @@ -26,7 +26,7 @@ Index: libstdc++-v3/src/Makefile.in
>>       libstdc___la_LINK = $(CXXLINK) $(libstdc___la_LDFLAGS) 
>> $(lt_host_flags)
>> @GLIBCXX_LDBL_ALT128_COMPAT_FALSE@@GLIBCXX_LDBL_COMPAT_TRUE@LTCXXCOMPILE64 
>> = $(LTCXXCOMPILE)
>> -@@ -728,7 +729,7 @@ clean-toolexeclibLTLIBRARIES:
>> +@@ -730,7 +731,7 @@ clean-toolexeclibLTLIBRARIES:
>>          rm -f $${locs}; \
>>        }
>>    Index: pkg/PFRAG.X86-main
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/pkg/PFRAG.X86-main,v
>> retrieving revision 1.2
>> diff -u -p -u -p -r1.2 PFRAG.X86-main
>> --- pkg/PFRAG.X86-main    11 Mar 2022 19:28:58 -0000    1.2
>> +++ pkg/PFRAG.X86-main    3 Nov 2024 07:18:14 -0000
>> @@ -60,6 +60,7 @@ lib/gcc/${CONFIG}/${V}/include/mm3dnow.h
>>   lib/gcc/${CONFIG}/${V}/include/mm_malloc.h
>>   lib/gcc/${CONFIG}/${V}/include/mmintrin.h
>>   lib/gcc/${CONFIG}/${V}/include/movdirintrin.h
>> +lib/gcc/${CONFIG}/${V}/include/mwaitintrin.h
>>   lib/gcc/${CONFIG}/${V}/include/mwaitxintrin.h
>>   lib/gcc/${CONFIG}/${V}/include/nmmintrin.h
>>   lib/gcc/${CONFIG}/${V}/include/pconfigintrin.h
>> Index: pkg/PLIST-main
>> ===================================================================
>> RCS file: /cvs/ports/lang/gcc/11/pkg/PLIST-main,v
>> retrieving revision 1.3
>> diff -u -p -u -p -r1.3 PLIST-main
>> --- pkg/PLIST-main    11 Mar 2022 19:28:59 -0000    1.3
>> +++ pkg/PLIST-main    3 Nov 2024 07:18:14 -0000
>> @@ -318,6 +318,7 @@ lib/gcc/${CONFIG}/${V}/plugin/include/op
>>   lib/gcc/${CONFIG}/${V}/plugin/include/optinfo.h
>>   lib/gcc/${CONFIG}/${V}/plugin/include/options.h
>>   lib/gcc/${CONFIG}/${V}/plugin/include/opts-diagnostic.h
>> +lib/gcc/${CONFIG}/${V}/plugin/include/opts-jobserver.h
>>   lib/gcc/${CONFIG}/${V}/plugin/include/opts.h
>>   lib/gcc/${CONFIG}/${V}/plugin/include/ordered-hash-map.h
>>   lib/gcc/${CONFIG}/${V}/plugin/include/output.h