Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gcc12 for openSUSE:Factory checked 
in at 2022-05-10 15:09:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcc12 (Old)
 and      /work/SRC/openSUSE:Factory/.gcc12.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gcc12"

Tue May 10 15:09:46 2022 rev:3 rq:975330 version:12.1.0+git27

Changes:
--------
--- /work/SRC/openSUSE:Factory/gcc12/gcc12.changes      2022-04-08 
22:45:25.543334289 +0200
+++ /work/SRC/openSUSE:Factory/.gcc12.new.1538/gcc12.changes    2022-05-10 
15:09:56.831420041 +0200
@@ -1,0 +2,39 @@
+Fri May  6 07:11:46 UTC 2022 - Richard Biener <rguent...@suse.com>
+
+- Update to GCC 12.1 release, 1ea978e3066ac565a1ec28a96a4d61, git27
+
+-------------------------------------------------------------------
+Fri Apr 29 17:05:16 UTC 2022 - Richard Biener <rguent...@suse.com>
+
+- Bump to 621650f64fb6679c457c33abf27c925f28bddc62, git9
+  * GCC 12.1 release candidate
+
+-------------------------------------------------------------------
+Thu Apr 28 06:43:08 UTC 2022 - Richard Biener <rguent...@suse.com>
+
+- Bump to f27848a5dc4d3b16cd4112bddcb59e0916eba623, git192706.
+- Switch ppc64le to the IEEE long double ABI by default in Factory.
+- Separate ppc64le from ppc/ppc64 specific configury.
+- Add _multibuild to gather all .spec files and reduce the number
+  of .changes files to one, autogenerated by change_spec.
+- Drop %ringdisabled handling.
+- Ada bootstrap now requires at least GCC 5, use GCC 7 on SLES 12
+  instead of GCC 4.8.
+
+-------------------------------------------------------------------
+Wed Apr 27 05:56:00 UTC 2022 - Richard Biener <rguent...@suse.com>
+
+- Drop no longer necessary gcc12-d-workaround.patch
+
+-------------------------------------------------------------------
+Tue Apr 19 18:07:47 UTC 2022 - Martin Li??ka <mli...@suse.cz>
+
+- Bump to b85abacd902813daec5e44b97f275eb88caaf715, git192607.
+
+-------------------------------------------------------------------
+Wed Apr  6 09:09:57 UTC 2022 - Andreas Schwab <sch...@suse.de>
+
+- On SLE15 and later, use make -Oline to synchronize configure output by
+  lines
+
+-------------------------------------------------------------------

Old:
----
  cross-aarch64-gcc12-bootstrap.changes
  cross-aarch64-gcc12.changes
  cross-amdgcn-gcc12.changes
  cross-arm-gcc12.changes
  cross-arm-none-gcc12-bootstrap.changes
  cross-arm-none-gcc12.changes
  cross-avr-gcc12-bootstrap.changes
  cross-avr-gcc12.changes
  cross-epiphany-gcc12-bootstrap.changes
  cross-epiphany-gcc12.changes
  cross-hppa-gcc12-bootstrap.changes
  cross-hppa-gcc12.changes
  cross-m68k-gcc12.changes
  cross-mips-gcc12.changes
  cross-nvptx-gcc12.changes
  cross-ppc64-gcc12.changes
  cross-ppc64le-gcc12.changes
  cross-riscv64-elf-gcc12-bootstrap.changes
  cross-riscv64-elf-gcc12.changes
  cross-riscv64-gcc12-bootstrap.changes
  cross-riscv64-gcc12.changes
  cross-rx-gcc12-bootstrap.changes
  cross-rx-gcc12.changes
  cross-s390x-gcc12.changes
  cross-sparc-gcc12.changes
  cross-sparc64-gcc12.changes
  cross-x86_64-gcc12.changes
  gcc-12.0.1+git192423.tar.xz
  gcc12-d-workaround.patch
  gcc12-testresults.changes

New:
----
  _multibuild
  gcc-12.1.0+git27.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cross-aarch64-gcc12-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.411423293 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.423423308 +0200
@@ -22,14 +22,6 @@
 %define gcc_libc_bootstrap 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -109,7 +101,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -135,7 +127,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -304,6 +295,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -615,10 +609,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -632,15 +622,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -708,9 +706,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

++++++ cross-aarch64-gcc12.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.443423333 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.451423343 +0200
@@ -22,14 +22,6 @@
 %define gcc_target_glibc 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -109,7 +101,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -135,7 +127,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -304,6 +295,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -615,10 +609,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -632,15 +622,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -708,9 +706,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

++++++ cross-amdgcn-gcc12.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.467423364 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.471423368 +0200
@@ -22,14 +22,6 @@
 %define gcc_accel 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -109,7 +101,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -135,7 +127,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -304,6 +295,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -615,10 +609,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -632,15 +622,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -708,9 +706,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

++++++ cross-arm-gcc12.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.487423389 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.491423394 +0200
@@ -22,14 +22,6 @@
 %define gcc_icecream 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -109,7 +101,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -135,7 +127,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -304,6 +295,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -615,10 +609,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -632,15 +622,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -708,9 +706,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

++++++ cross-arm-none-gcc12-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.511423419 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.515423424 +0200
@@ -23,14 +23,6 @@
 %define gcc_libc_bootstrap 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -110,7 +102,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -136,7 +128,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -305,6 +296,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -334,8 +330,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -616,10 +610,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -633,15 +623,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -709,9 +707,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

++++++ cross-arm-none-gcc12.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.535423449 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.539423454 +0200
@@ -22,14 +22,6 @@
 %define gcc_target_newlib 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -109,7 +101,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -135,7 +127,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -304,6 +295,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -615,10 +609,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -632,15 +622,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -708,9 +706,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

++++++ cross-avr-gcc12-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.559423480 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.563423484 +0200
@@ -22,14 +22,6 @@
 %define gcc_libc_bootstrap 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -109,7 +101,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -135,7 +127,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -304,6 +295,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -615,10 +609,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -632,15 +622,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -708,9 +706,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

++++++ cross-avr-gcc12.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.579423505 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.583423510 +0200
@@ -22,14 +22,6 @@
 
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -109,7 +101,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -135,7 +127,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -304,6 +295,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -615,10 +609,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -632,15 +622,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -708,9 +706,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

++++++ cross-epiphany-gcc12-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.603423535 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.607423540 +0200
@@ -23,14 +23,6 @@
 %define gcc_libc_bootstrap 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -110,7 +102,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -136,7 +128,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -305,6 +296,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -334,8 +330,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -616,10 +610,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -633,15 +623,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -709,9 +707,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

++++++ cross-epiphany-gcc12.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.631423570 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.631423570 +0200
@@ -22,14 +22,6 @@
 %define gcc_target_newlib 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -109,7 +101,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -135,7 +127,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -304,6 +295,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -615,10 +609,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -632,15 +622,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -708,9 +706,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

++++++ cross-hppa-gcc12-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.663423611 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.667423615 +0200
@@ -22,14 +22,6 @@
 %define gcc_libc_bootstrap 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -109,7 +101,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -135,7 +127,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -304,6 +295,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -615,10 +609,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -632,15 +622,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -708,9 +706,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

++++++ cross-hppa-gcc12.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.683423636 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.687423641 +0200
@@ -22,14 +22,6 @@
 %define gcc_icecream 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -109,7 +101,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -135,7 +127,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -304,6 +295,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -615,10 +609,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -632,15 +622,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -708,9 +706,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

cross-m68k-gcc12.spec: same change
cross-mips-gcc12.spec: same change
++++++ cross-nvptx-gcc12.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.767423742 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.771423747 +0200
@@ -22,14 +22,6 @@
 %define gcc_accel 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -109,7 +101,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -135,7 +127,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -304,6 +295,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -615,10 +609,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -632,15 +622,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -708,9 +706,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

++++++ cross-ppc64-gcc12.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.791423772 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.795423777 +0200
@@ -22,14 +22,6 @@
 %define gcc_icecream 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -109,7 +101,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -135,7 +127,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -304,6 +295,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -615,10 +609,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -632,15 +622,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -708,9 +706,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

cross-ppc64le-gcc12.spec: same change
++++++ cross-riscv64-elf-gcc12-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.839423832 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.843423838 +0200
@@ -23,14 +23,6 @@
 %define gcc_libc_bootstrap 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -110,7 +102,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -136,7 +128,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -305,6 +296,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -334,8 +330,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -616,10 +610,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -633,15 +623,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -709,9 +707,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

++++++ cross-riscv64-elf-gcc12.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.859423858 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.867423868 +0200
@@ -22,14 +22,6 @@
 %define gcc_target_newlib 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -109,7 +101,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -135,7 +127,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -304,6 +295,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -615,10 +609,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -632,15 +622,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -708,9 +706,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

++++++ cross-riscv64-gcc12-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.887423893 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.891423898 +0200
@@ -22,14 +22,6 @@
 %define gcc_libc_bootstrap 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -109,7 +101,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -135,7 +127,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -304,6 +295,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -615,10 +609,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -632,15 +622,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -708,9 +706,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

++++++ cross-riscv64-gcc12.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.911423923 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.915423928 +0200
@@ -22,14 +22,6 @@
 %define gcc_target_glibc 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -109,7 +101,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -135,7 +127,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -304,6 +295,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -615,10 +609,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -632,15 +622,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -708,9 +706,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

++++++ cross-rx-gcc12-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.939423958 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.943423964 +0200
@@ -23,14 +23,6 @@
 %define gcc_libc_bootstrap 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -110,7 +102,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -136,7 +128,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -305,6 +296,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -334,8 +330,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -616,10 +610,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -633,15 +623,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -709,9 +707,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

++++++ cross-rx-gcc12.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.963423989 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.967423994 +0200
@@ -22,14 +22,6 @@
 %define gcc_target_newlib 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -109,7 +101,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -135,7 +127,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -304,6 +295,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -615,10 +609,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -632,15 +622,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -708,9 +706,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

++++++ cross-s390x-gcc12.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:09:59.991424024 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:09:59.991424024 +0200
@@ -22,14 +22,6 @@
 %define gcc_icecream 1
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch:  do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -109,7 +101,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -135,7 +127,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -304,6 +295,11 @@
 only, it is not intended for any other use.
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -615,10 +609,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -632,15 +622,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -708,9 +706,9 @@
   }
 
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 %if 0%{?gcc_icecream:%gcc_icecream}

cross-sparc-gcc12.spec: same change
cross-sparc64-gcc12.spec: same change
cross-x86_64-gcc12.spec: same change
++++++ gcc12-testresults.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:10:00.119424185 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:10:00.123424191 +0200
@@ -207,7 +207,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -248,10 +248,10 @@
 BuildRequires:  gcc12-ada
 BuildRequires:  gcc12-c++
 %else
-%if %{suse_version} < 1310
-%define hostsuffix -4.8
-BuildRequires:  gcc48-ada
-BuildRequires:  gcc48-c++
+%if %{suse_version} <= 1315
+%define hostsuffix -7
+BuildRequires:  gcc7-ada
+BuildRequires:  gcc7-c++
 %else
 %define hostsuffix %{nil}
 BuildRequires:  gcc-ada
@@ -388,7 +388,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -496,6 +495,11 @@
 %endif
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -525,8 +529,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -807,10 +809,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -824,15 +822,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -905,7 +911,7 @@
 %define use_pgo_bootstrap 1
 %endif
 %endif
-%{?use_pgo_bootstrap:setarch `arch` -R} make 
%{?use_pgo_bootstrap:profiledbootstrap} STAGE1_CFLAGS="$STAGE1_FLAGS" 
BOOT_CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
+%{?use_pgo_bootstrap:setarch `arch` -R} make %{?make_output_sync} 
%{?use_pgo_bootstrap:profiledbootstrap} STAGE1_CFLAGS="$STAGE1_FLAGS" 
BOOT_CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
 make info
 %if 0%{?run_tests:1}
 echo "Run testsuite"

++++++ gcc12.spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:10:00.151424226 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:10:00.159424236 +0200
@@ -186,7 +186,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        12.0.1+git192423
+Version:        12.1.0+git27
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -227,10 +227,10 @@
 BuildRequires:  gcc12-ada
 BuildRequires:  gcc12-c++
 %else
-%if %{suse_version} < 1310
-%define hostsuffix -4.8
-BuildRequires:  gcc48-ada
-BuildRequires:  gcc48-c++
+%if %{suse_version} <= 1315
+%define hostsuffix -7
+BuildRequires:  gcc7-ada
+BuildRequires:  gcc7-c++
 %else
 %define hostsuffix %{nil}
 BuildRequires:  gcc-ada
@@ -367,7 +367,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -1992,6 +1991,11 @@
 %endif
 %endif
 
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -2021,8 +2025,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -2303,10 +2305,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -2320,15 +2318,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -2401,7 +2407,7 @@
 %define use_pgo_bootstrap 1
 %endif
 %endif
-%{?use_pgo_bootstrap:setarch `arch` -R} make 
%{?use_pgo_bootstrap:profiledbootstrap} STAGE1_CFLAGS="$STAGE1_FLAGS" 
BOOT_CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
+%{?use_pgo_bootstrap:setarch `arch` -R} make %{?make_output_sync} 
%{?use_pgo_bootstrap:profiledbootstrap} STAGE1_CFLAGS="$STAGE1_FLAGS" 
BOOT_CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
 make info
 %if 0%{?run_tests:1}
 echo "Run testsuite"

++++++ _multibuild ++++++
<multibuild>
<flavor>gcc12-testresults</flavor>
<flavor>cross-aarch64-gcc12-bootstrap</flavor>
<flavor>cross-aarch64-gcc12</flavor>
<flavor>cross-riscv64-gcc12-bootstrap</flavor>
<flavor>cross-riscv64-gcc12</flavor>
<flavor>cross-arm-gcc12</flavor>
<flavor>cross-avr-gcc12-bootstrap</flavor>
<flavor>cross-avr-gcc12</flavor>
<flavor>cross-x86_64-gcc12</flavor>
<flavor>cross-s390x-gcc12</flavor>
<flavor>cross-sparc-gcc12</flavor>
<flavor>cross-sparc64-gcc12</flavor>
<flavor>cross-ppc64-gcc12</flavor>
<flavor>cross-ppc64le-gcc12</flavor>
<flavor>cross-m68k-gcc12</flavor>
<flavor>cross-mips-gcc12</flavor>
<flavor>cross-hppa-gcc12-bootstrap</flavor>
<flavor>cross-hppa-gcc12</flavor>
<flavor>cross-arm-none-gcc12-bootstrap</flavor>
<flavor>cross-arm-none-gcc12</flavor>
<flavor>cross-epiphany-gcc12-bootstrap</flavor>
<flavor>cross-epiphany-gcc12</flavor>
<flavor>cross-riscv64-elf-gcc12-bootstrap</flavor>
<flavor>cross-riscv64-elf-gcc12</flavor>
<flavor>cross-rx-gcc12-bootstrap</flavor>
<flavor>cross-rx-gcc12</flavor>
<flavor>cross-nvptx-gcc12</flavor>
<flavor>cross-amdgcn-gcc12</flavor>
</multibuild>

++++++ change_spec ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:10:00.239424337 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:10:00.243424342 +0200
@@ -55,10 +55,9 @@
            gcc.spec.in \
        | sed -e 's%@base_ver@%'$base_ver'%g' \
 >> gcc$base_ver-testresults.spec
-  test -f gcc$base_ver.changes \
-    && ( ln -f gcc$base_ver.changes gcc$base_ver-testresults.changes; )
-
 
+echo '<multibuild>' > _multibuild
+echo '<flavor>'gcc$base_ver-testresults'</flavor>' >> _multibuild
 
 add_cross() {
   local pkgname="$1"; shift
@@ -77,7 +76,8 @@
     sed -e "s#@base_ver@#$base_ver#" \
        -e "s/^\(ExclusiveArch.*\) $rpmtarget[^ \r]*/\1 /" \
       >> $pkgname.spec
-  test -f gcc$base_ver.changes && ln -f gcc$base_ver.changes $pkgname.changes
+
+  echo '<flavor>'$pkgname'</flavor>' >> _multibuild
 }
 
 add_newlib_cross() {
@@ -128,5 +128,7 @@
   sed -i -e '/^# .*-\(BEGIN\|END\)$/d' $f
 done
 
+echo '</multibuild>' >> _multibuild
+
 osc service localrun format_spec_file
 

++++++ cross.spec.in ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:10:00.303424418 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:10:00.307424422 +0200
@@ -1,13 +1,5 @@
 # nospeccleaner
 
-# In the staging/ring projects, we don't want to build the unneeded
-#  cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
-ExclusiveArch: do-not-build
-%endif
-
 %define build_cp 0%{!?gcc_accel:1}
 %if 0%{?gcc_libc_bootstrap:1}
 %define build_cp 0
@@ -216,9 +208,9 @@
 # BUILD-COMMON-BEGIN
 # BUILD-COMMON-END
 %if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
 %else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
 %endif
 
 

++++++ gcc-12.0.1+git192423.tar.xz -> gcc-12.1.0+git27.tar.xz ++++++
/work/SRC/openSUSE:Factory/gcc12/gcc-12.0.1+git192423.tar.xz 
/work/SRC/openSUSE:Factory/.gcc12.new.1538/gcc-12.1.0+git27.tar.xz differ: char 
15, line 1

++++++ gcc.spec.in ++++++
--- /var/tmp/diff_new_pack.ag59kn/_old  2022-05-10 15:10:00.363424493 +0200
+++ /var/tmp/diff_new_pack.ag59kn/_new  2022-05-10 15:10:00.367424498 +0200
@@ -190,7 +190,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:          https://gcc.gnu.org/
-Version: 12.0.1+git192423
+Version: 12.1.0+git27
 Release:      1
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -232,10 +232,10 @@
 BuildRequires: gcc@base_ver@-ada
 BuildRequires: gcc@base_ver@-c++
 %else
-%if %{suse_version} < 1310
-%define hostsuffix -4.8
-BuildRequires: gcc48-ada
-BuildRequires: gcc48-c++
+%if %{suse_version} <= 1315
+%define hostsuffix -7
+BuildRequires: gcc7-ada
+BuildRequires: gcc7-c++
 %else
 %define hostsuffix %{nil}
 BuildRequires: gcc-ada
@@ -372,7 +372,6 @@
 Patch18:       gcc10-amdgcn-llvm-as.patch
 Patch19:       gcc11-gdwarf-4-default.patch
 Patch20:       gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:  gcc12-d-workaround.patch
 # A set of patches from the RH srpm
 Patch51:       gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -1182,6 +1181,10 @@
 
 
 # BUILD-COMMON-BEGIN
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
 
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
@@ -1212,8 +1215,6 @@
 # In SLE15 and earlier default to dwarf4, not dwarf5
 %if %{suse_version} < 1550
 %patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
 %endif
 %patch51
 %patch60 -p1
@@ -1494,10 +1495,6 @@
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
 %endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || 
"%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
-        --with-cpu=default32 \
-%endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
 %if %{suse_version} >= 1350
        --with-cpu=power8 \
@@ -1511,15 +1508,23 @@
        --with-tune=power7 \
 %endif
 %endif
+%if %{suse_version} > 1500
+       --with-long-double-format=ieee \
 %else
-       --with-cpu-64=power4 \
+       --with-long-double-format=ibm \
 %endif
        --enable-secureplt \
        --with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
        --enable-targets=powerpcle-linux \
        --disable-multilib \
 %endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+        --with-cpu=default32 \
+%endif
+       --with-cpu-64=power4 \
+       --enable-secureplt \
+       --with-long-double-128 \
 %endif
 %if "%{TARGET_ARCH}" == "sparc64"
        --with-cpu=ultrasparc \
@@ -1595,7 +1600,7 @@
 %define use_pgo_bootstrap 1
 %endif
 %endif
-%{?use_pgo_bootstrap:setarch `arch` -R} make 
%{?use_pgo_bootstrap:profiledbootstrap} STAGE1_CFLAGS="$STAGE1_FLAGS" 
BOOT_CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
+%{?use_pgo_bootstrap:setarch `arch` -R} make %{?make_output_sync} 
%{?use_pgo_bootstrap:profiledbootstrap} STAGE1_CFLAGS="$STAGE1_FLAGS" 
BOOT_CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
 make info
 %if 0%{?run_tests:1}
 echo "Run testsuite"

Reply via email to