Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gcc11 for openSUSE:Factory checked 
in at 2021-12-05 22:45:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcc11 (Old)
 and      /work/SRC/openSUSE:Factory/.gcc11.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gcc11"

Sun Dec  5 22:45:41 2021 rev:9 rq:934094 version:11.2.1+git1018

Changes:
--------
--- /work/SRC/openSUSE:Factory/gcc11/cross-aarch64-gcc11-bootstrap.changes      
2021-08-24 10:53:56.460394999 +0200
+++ 
/work/SRC/openSUSE:Factory/.gcc11.new.31177/cross-aarch64-gcc11-bootstrap.changes
   2021-12-05 22:45:42.713720209 +0100
@@ -1,0 +2,29 @@
+Fri Nov 26 15:01:01 UTC 2021 - Michael Matz <m...@suse.com>
+
+- Enable the cross compilers also on i586
+- Enable some cross compilers also in rings
+- Remove cross compilers for i386 target
+
+-------------------------------------------------------------------
+Wed Nov 24 10:41:45 UTC 2021 - Richard Biener <rguent...@suse.com>
+
+- Update to gcc-11 branch head (7510c23c1ec53aa4a62705f03), git1018
+  * fixes issue with debug dumping together with -o /dev/null
+  * fixes libgccjit issue showing up in emacs build  [boo#1192951]
+- Package mwaitintrin.h
+
+-------------------------------------------------------------------
+Wed Oct 20 13:59:09 UTC 2021 - Richard Biener <rguent...@suse.com>
+
+- Remove spurious exit from change_spec.
+
+-------------------------------------------------------------------
+Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <m...@suse.com>
+
+- Enable the full cross compiler, cross-aarch64-gcc11 and
+  cross-riscv64-gcc11 now provide a fully hosted C (and C++)
+  cross compiler, not just a freestanding one.  I.e. with a cross
+  glibc.  They don't yet support the sanitizer libraries.
+  Part of [jsc#OBS-124].
+
+-------------------------------------------------------------------
cross-aarch64-gcc11.changes: same change
cross-amdgcn-gcc11.changes: same change
cross-arm-gcc11.changes: same change
cross-arm-none-gcc11-bootstrap.changes: same change
cross-arm-none-gcc11.changes: same change
cross-avr-gcc11-bootstrap.changes: same change
cross-avr-gcc11.changes: same change
cross-epiphany-gcc11-bootstrap.changes: same change
cross-epiphany-gcc11.changes: same change
cross-hppa-gcc11.changes: same change
cross-m68k-gcc11.changes: same change
cross-mips-gcc11.changes: same change
cross-nvptx-gcc11.changes: same change
cross-ppc64-gcc11.changes: same change
cross-ppc64le-gcc11.changes: same change
cross-riscv64-elf-gcc11-bootstrap.changes: same change
cross-riscv64-elf-gcc11.changes: same change
cross-riscv64-gcc11-bootstrap.changes: same change
cross-riscv64-gcc11.changes: same change
cross-rx-gcc11-bootstrap.changes: same change
cross-rx-gcc11.changes: same change
cross-s390x-gcc11.changes: same change
cross-sparc-gcc11.changes: same change
cross-sparc64-gcc11.changes: same change
cross-x86_64-gcc11.changes: same change
gcc11-testresults.changes: same change
gcc11.changes: same change

Old:
----
  cross-i386-gcc11.changes
  cross-i386-gcc11.spec
  gcc-11.2.1+git610.tar.xz

New:
----
  gcc-11.2.1+git1018.tar.xz

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

Other differences:
------------------
++++++ cross-aarch64-gcc11-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.PiXKGK/_old  2021-12-05 22:45:46.473707956 +0100
+++ /var/tmp/diff_new_pack.PiXKGK/_new  2021-12-05 22:45:46.473707956 +0100
@@ -26,7 +26,7 @@
 #  cross-* packages, but by default, we do:
 %bcond_with ringdisabled
 
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with 
ringdisabled}
+%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
 ExclusiveArch:  do-not-build
 %endif
 
@@ -109,7 +109,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        11.2.1+git610
+Version:        11.2.1+git1018
 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/+/-/')
@@ -251,8 +251,8 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}
-ExclusiveArch:  ppc64le ppc64 x86_64 s390x  riscv64
+%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586 ppc64le ppc64 x86_64 s390x  riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -429,6 +429,13 @@
 ln -sf /usr/%{_lib} host-tools/%{_lib}
 export PATH="`pwd`/host-tools/bin:$PATH"
 %endif
+
+# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
+# we don't have that yet in a pure cross environment
+%if 0%{?gcc_target_arch:1}
+       CONFARGS="$CONFARGS --disable-libsanitizer"
+%endif
+
 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
 TCFLAGS="$RPM_OPT_FLAGS" \
 ../configure \
@@ -691,8 +698,16 @@
 %ifarch riscv64
        --enable-link-mutex \
 %endif
+       $CONFARGS \
        --build=%{GCCDIST} \
-       --host=%{GCCDIST}
+       --host=%{GCCDIST} || \
+  {
+    rc=$?;
+    echo "------- BEGIN config.log ------";
+    %{__cat} config.log;
+    echo "------- END config.log ------";
+    exit $rc;
+  }
 
 %if 0%{!?gcc_icecream:1}
 make %{?_smp_mflags}

++++++ cross-aarch64-gcc11.spec ++++++
--- /var/tmp/diff_new_pack.PiXKGK/_old  2021-12-05 22:45:46.497707878 +0100
+++ /var/tmp/diff_new_pack.PiXKGK/_new  2021-12-05 22:45:46.497707878 +0100
@@ -19,14 +19,14 @@
 %define pkgname cross-aarch64-gcc11
 %define cross_arch aarch64
 %define gcc_target_arch aarch64-suse-linux
-%define gcc_icecream 1
+%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" && %{with 
ringdisabled}
+%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
 ExclusiveArch:  do-not-build
 %endif
 
@@ -109,7 +109,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        11.2.1+git610
+Version:        11.2.1+git1018
 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/+/-/')
@@ -251,8 +251,8 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}
-ExclusiveArch:  ppc64le ppc64 x86_64 s390x  riscv64
+%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586 ppc64le ppc64 x86_64 s390x  riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -429,6 +429,13 @@
 ln -sf /usr/%{_lib} host-tools/%{_lib}
 export PATH="`pwd`/host-tools/bin:$PATH"
 %endif
+
+# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
+# we don't have that yet in a pure cross environment
+%if 0%{?gcc_target_arch:1}
+       CONFARGS="$CONFARGS --disable-libsanitizer"
+%endif
+
 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
 TCFLAGS="$RPM_OPT_FLAGS" \
 ../configure \
@@ -691,8 +698,16 @@
 %ifarch riscv64
        --enable-link-mutex \
 %endif
+       $CONFARGS \
        --build=%{GCCDIST} \
-       --host=%{GCCDIST}
+       --host=%{GCCDIST} || \
+  {
+    rc=$?;
+    echo "------- BEGIN config.log ------";
+    %{__cat} config.log;
+    echo "------- END config.log ------";
+    exit $rc;
+  }
 
 %if 0%{!?gcc_icecream:1}
 make %{?_smp_mflags}

++++++ cross-amdgcn-gcc11.spec ++++++
--- /var/tmp/diff_new_pack.PiXKGK/_old  2021-12-05 22:45:46.517707813 +0100
+++ /var/tmp/diff_new_pack.PiXKGK/_new  2021-12-05 22:45:46.521707800 +0100
@@ -26,7 +26,7 @@
 #  cross-* packages, but by default, we do:
 %bcond_with ringdisabled
 
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with 
ringdisabled}
+%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
 ExclusiveArch:  do-not-build
 %endif
 
@@ -109,7 +109,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        11.2.1+git610
+Version:        11.2.1+git1018
 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/+/-/')
@@ -251,8 +251,8 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}
-ExclusiveArch:  ppc64le ppc64 x86_64 s390x aarch64 riscv64
+%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586 ppc64le ppc64 x86_64 s390x aarch64 riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -429,6 +429,13 @@
 ln -sf /usr/%{_lib} host-tools/%{_lib}
 export PATH="`pwd`/host-tools/bin:$PATH"
 %endif
+
+# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
+# we don't have that yet in a pure cross environment
+%if 0%{?gcc_target_arch:1}
+       CONFARGS="$CONFARGS --disable-libsanitizer"
+%endif
+
 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
 TCFLAGS="$RPM_OPT_FLAGS" \
 ../configure \
@@ -691,8 +698,16 @@
 %ifarch riscv64
        --enable-link-mutex \
 %endif
+       $CONFARGS \
        --build=%{GCCDIST} \
-       --host=%{GCCDIST}
+       --host=%{GCCDIST} || \
+  {
+    rc=$?;
+    echo "------- BEGIN config.log ------";
+    %{__cat} config.log;
+    echo "------- END config.log ------";
+    exit $rc;
+  }
 
 %if 0%{!?gcc_icecream:1}
 make %{?_smp_mflags}

cross-arm-gcc11.spec: same change
cross-arm-none-gcc11-bootstrap.spec: same change
cross-arm-none-gcc11.spec: same change
cross-avr-gcc11-bootstrap.spec: same change
cross-avr-gcc11.spec: same change
cross-epiphany-gcc11-bootstrap.spec: same change
cross-epiphany-gcc11.spec: same change
cross-hppa-gcc11.spec: same change
cross-m68k-gcc11.spec: same change
cross-mips-gcc11.spec: same change
cross-nvptx-gcc11.spec: same change
++++++ cross-ppc64-gcc11.spec ++++++
--- /var/tmp/diff_new_pack.PiXKGK/_old  2021-12-05 22:45:46.821706823 +0100
+++ /var/tmp/diff_new_pack.PiXKGK/_new  2021-12-05 22:45:46.825706810 +0100
@@ -26,7 +26,7 @@
 #  cross-* packages, but by default, we do:
 %bcond_with ringdisabled
 
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with 
ringdisabled}
+%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
 ExclusiveArch:  do-not-build
 %endif
 
@@ -109,7 +109,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        11.2.1+git610
+Version:        11.2.1+git1018
 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/+/-/')
@@ -251,8 +251,8 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}
-ExclusiveArch:  ppc64le  x86_64 s390x aarch64 riscv64
+%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586 ppc64le  x86_64 s390x aarch64 riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -429,6 +429,13 @@
 ln -sf /usr/%{_lib} host-tools/%{_lib}
 export PATH="`pwd`/host-tools/bin:$PATH"
 %endif
+
+# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
+# we don't have that yet in a pure cross environment
+%if 0%{?gcc_target_arch:1}
+       CONFARGS="$CONFARGS --disable-libsanitizer"
+%endif
+
 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
 TCFLAGS="$RPM_OPT_FLAGS" \
 ../configure \
@@ -691,8 +698,16 @@
 %ifarch riscv64
        --enable-link-mutex \
 %endif
+       $CONFARGS \
        --build=%{GCCDIST} \
-       --host=%{GCCDIST}
+       --host=%{GCCDIST} || \
+  {
+    rc=$?;
+    echo "------- BEGIN config.log ------";
+    %{__cat} config.log;
+    echo "------- END config.log ------";
+    exit $rc;
+  }
 
 %if 0%{!?gcc_icecream:1}
 make %{?_smp_mflags}

++++++ cross-ppc64le-gcc11.spec ++++++
--- /var/tmp/diff_new_pack.PiXKGK/_old  2021-12-05 22:45:46.849706731 +0100
+++ /var/tmp/diff_new_pack.PiXKGK/_new  2021-12-05 22:45:46.849706731 +0100
@@ -26,7 +26,7 @@
 #  cross-* packages, but by default, we do:
 %bcond_with ringdisabled
 
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with 
ringdisabled}
+%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
 ExclusiveArch:  do-not-build
 %endif
 
@@ -109,7 +109,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        11.2.1+git610
+Version:        11.2.1+git1018
 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/+/-/')
@@ -251,8 +251,8 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}
-ExclusiveArch:  ppc64 x86_64 s390x aarch64 riscv64
+%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586  ppc64 x86_64 s390x aarch64 riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -429,6 +429,13 @@
 ln -sf /usr/%{_lib} host-tools/%{_lib}
 export PATH="`pwd`/host-tools/bin:$PATH"
 %endif
+
+# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
+# we don't have that yet in a pure cross environment
+%if 0%{?gcc_target_arch:1}
+       CONFARGS="$CONFARGS --disable-libsanitizer"
+%endif
+
 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
 TCFLAGS="$RPM_OPT_FLAGS" \
 ../configure \
@@ -691,8 +698,16 @@
 %ifarch riscv64
        --enable-link-mutex \
 %endif
+       $CONFARGS \
        --build=%{GCCDIST} \
-       --host=%{GCCDIST}
+       --host=%{GCCDIST} || \
+  {
+    rc=$?;
+    echo "------- BEGIN config.log ------";
+    %{__cat} config.log;
+    echo "------- END config.log ------";
+    exit $rc;
+  }
 
 %if 0%{!?gcc_icecream:1}
 make %{?_smp_mflags}

++++++ cross-riscv64-elf-gcc11-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.PiXKGK/_old  2021-12-05 22:45:46.877706640 +0100
+++ /var/tmp/diff_new_pack.PiXKGK/_new  2021-12-05 22:45:46.881706627 +0100
@@ -27,7 +27,7 @@
 #  cross-* packages, but by default, we do:
 %bcond_with ringdisabled
 
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with 
ringdisabled}
+%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
 ExclusiveArch:  do-not-build
 %endif
 
@@ -110,7 +110,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        11.2.1+git610
+Version:        11.2.1+git1018
 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/+/-/')
@@ -252,8 +252,8 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}
-ExclusiveArch:  ppc64le ppc64 x86_64 s390x aarch64
+%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586 ppc64le ppc64 x86_64 s390x aarch64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -430,6 +430,13 @@
 ln -sf /usr/%{_lib} host-tools/%{_lib}
 export PATH="`pwd`/host-tools/bin:$PATH"
 %endif
+
+# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
+# we don't have that yet in a pure cross environment
+%if 0%{?gcc_target_arch:1}
+       CONFARGS="$CONFARGS --disable-libsanitizer"
+%endif
+
 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
 TCFLAGS="$RPM_OPT_FLAGS" \
 ../configure \
@@ -692,8 +699,16 @@
 %ifarch riscv64
        --enable-link-mutex \
 %endif
+       $CONFARGS \
        --build=%{GCCDIST} \
-       --host=%{GCCDIST}
+       --host=%{GCCDIST} || \
+  {
+    rc=$?;
+    echo "------- BEGIN config.log ------";
+    %{__cat} config.log;
+    echo "------- END config.log ------";
+    exit $rc;
+  }
 
 %if 0%{!?gcc_icecream:1}
 make %{?_smp_mflags}

cross-riscv64-elf-gcc11.spec: same change
cross-riscv64-gcc11-bootstrap.spec: same change
++++++ cross-riscv64-gcc11.spec ++++++
--- /var/tmp/diff_new_pack.PiXKGK/_old  2021-12-05 22:45:46.941706432 +0100
+++ /var/tmp/diff_new_pack.PiXKGK/_new  2021-12-05 22:45:46.941706432 +0100
@@ -19,14 +19,14 @@
 %define pkgname cross-riscv64-gcc11
 %define cross_arch riscv64
 %define gcc_target_arch riscv64-suse-linux
-%define gcc_icecream 1
+%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" && %{with 
ringdisabled}
+%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
 ExclusiveArch:  do-not-build
 %endif
 
@@ -109,7 +109,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        11.2.1+git610
+Version:        11.2.1+git1018
 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/+/-/')
@@ -251,8 +251,8 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}
-ExclusiveArch:  ppc64le ppc64 x86_64 s390x aarch64
+%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586 ppc64le ppc64 x86_64 s390x aarch64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -429,6 +429,13 @@
 ln -sf /usr/%{_lib} host-tools/%{_lib}
 export PATH="`pwd`/host-tools/bin:$PATH"
 %endif
+
+# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
+# we don't have that yet in a pure cross environment
+%if 0%{?gcc_target_arch:1}
+       CONFARGS="$CONFARGS --disable-libsanitizer"
+%endif
+
 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
 TCFLAGS="$RPM_OPT_FLAGS" \
 ../configure \
@@ -691,8 +698,16 @@
 %ifarch riscv64
        --enable-link-mutex \
 %endif
+       $CONFARGS \
        --build=%{GCCDIST} \
-       --host=%{GCCDIST}
+       --host=%{GCCDIST} || \
+  {
+    rc=$?;
+    echo "------- BEGIN config.log ------";
+    %{__cat} config.log;
+    echo "------- END config.log ------";
+    exit $rc;
+  }
 
 %if 0%{!?gcc_icecream:1}
 make %{?_smp_mflags}

++++++ cross-rx-gcc11-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.PiXKGK/_old  2021-12-05 22:45:46.961706366 +0100
+++ /var/tmp/diff_new_pack.PiXKGK/_new  2021-12-05 22:45:46.965706353 +0100
@@ -27,7 +27,7 @@
 #  cross-* packages, but by default, we do:
 %bcond_with ringdisabled
 
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with 
ringdisabled}
+%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
 ExclusiveArch:  do-not-build
 %endif
 
@@ -110,7 +110,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        11.2.1+git610
+Version:        11.2.1+git1018
 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/+/-/')
@@ -252,8 +252,8 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}
-ExclusiveArch:  ppc64le ppc64 x86_64 s390x aarch64 riscv64
+%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586 ppc64le ppc64 x86_64 s390x aarch64 riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -430,6 +430,13 @@
 ln -sf /usr/%{_lib} host-tools/%{_lib}
 export PATH="`pwd`/host-tools/bin:$PATH"
 %endif
+
+# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
+# we don't have that yet in a pure cross environment
+%if 0%{?gcc_target_arch:1}
+       CONFARGS="$CONFARGS --disable-libsanitizer"
+%endif
+
 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
 TCFLAGS="$RPM_OPT_FLAGS" \
 ../configure \
@@ -692,8 +699,16 @@
 %ifarch riscv64
        --enable-link-mutex \
 %endif
+       $CONFARGS \
        --build=%{GCCDIST} \
-       --host=%{GCCDIST}
+       --host=%{GCCDIST} || \
+  {
+    rc=$?;
+    echo "------- BEGIN config.log ------";
+    %{__cat} config.log;
+    echo "------- END config.log ------";
+    exit $rc;
+  }
 
 %if 0%{!?gcc_icecream:1}
 make %{?_smp_mflags}

cross-rx-gcc11.spec: same change
++++++ cross-s390x-gcc11.spec ++++++
--- /var/tmp/diff_new_pack.PiXKGK/_old  2021-12-05 22:45:47.021706171 +0100
+++ /var/tmp/diff_new_pack.PiXKGK/_new  2021-12-05 22:45:47.025706158 +0100
@@ -26,7 +26,7 @@
 #  cross-* packages, but by default, we do:
 %bcond_with ringdisabled
 
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with 
ringdisabled}
+%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
 ExclusiveArch:  do-not-build
 %endif
 
@@ -109,7 +109,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        11.2.1+git610
+Version:        11.2.1+git1018
 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/+/-/')
@@ -251,8 +251,8 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}
-ExclusiveArch:  ppc64le ppc64 x86_64  aarch64 riscv64
+%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586 ppc64le ppc64 x86_64  aarch64 riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -429,6 +429,13 @@
 ln -sf /usr/%{_lib} host-tools/%{_lib}
 export PATH="`pwd`/host-tools/bin:$PATH"
 %endif
+
+# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
+# we don't have that yet in a pure cross environment
+%if 0%{?gcc_target_arch:1}
+       CONFARGS="$CONFARGS --disable-libsanitizer"
+%endif
+
 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
 TCFLAGS="$RPM_OPT_FLAGS" \
 ../configure \
@@ -691,8 +698,16 @@
 %ifarch riscv64
        --enable-link-mutex \
 %endif
+       $CONFARGS \
        --build=%{GCCDIST} \
-       --host=%{GCCDIST}
+       --host=%{GCCDIST} || \
+  {
+    rc=$?;
+    echo "------- BEGIN config.log ------";
+    %{__cat} config.log;
+    echo "------- END config.log ------";
+    exit $rc;
+  }
 
 %if 0%{!?gcc_icecream:1}
 make %{?_smp_mflags}

++++++ cross-sparc-gcc11.spec ++++++
--- /var/tmp/diff_new_pack.PiXKGK/_old  2021-12-05 22:45:47.065706028 +0100
+++ /var/tmp/diff_new_pack.PiXKGK/_new  2021-12-05 22:45:47.069706014 +0100
@@ -26,7 +26,7 @@
 #  cross-* packages, but by default, we do:
 %bcond_with ringdisabled
 
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with 
ringdisabled}
+%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
 ExclusiveArch:  do-not-build
 %endif
 
@@ -109,7 +109,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        11.2.1+git610
+Version:        11.2.1+git1018
 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/+/-/')
@@ -251,8 +251,8 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}
-ExclusiveArch:  ppc64le ppc64 x86_64 s390x aarch64 riscv64
+%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586 ppc64le ppc64 x86_64 s390x aarch64 riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -429,6 +429,13 @@
 ln -sf /usr/%{_lib} host-tools/%{_lib}
 export PATH="`pwd`/host-tools/bin:$PATH"
 %endif
+
+# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
+# we don't have that yet in a pure cross environment
+%if 0%{?gcc_target_arch:1}
+       CONFARGS="$CONFARGS --disable-libsanitizer"
+%endif
+
 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
 TCFLAGS="$RPM_OPT_FLAGS" \
 ../configure \
@@ -691,8 +698,16 @@
 %ifarch riscv64
        --enable-link-mutex \
 %endif
+       $CONFARGS \
        --build=%{GCCDIST} \
-       --host=%{GCCDIST}
+       --host=%{GCCDIST} || \
+  {
+    rc=$?;
+    echo "------- BEGIN config.log ------";
+    %{__cat} config.log;
+    echo "------- END config.log ------";
+    exit $rc;
+  }
 
 %if 0%{!?gcc_icecream:1}
 make %{?_smp_mflags}

cross-sparc64-gcc11.spec: same change
++++++ cross-x86_64-gcc11.spec ++++++
--- /var/tmp/diff_new_pack.PiXKGK/_old  2021-12-05 22:45:47.113705871 +0100
+++ /var/tmp/diff_new_pack.PiXKGK/_new  2021-12-05 22:45:47.117705858 +0100
@@ -26,7 +26,7 @@
 #  cross-* packages, but by default, we do:
 %bcond_with ringdisabled
 
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with 
ringdisabled}
+%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
 ExclusiveArch:  do-not-build
 %endif
 
@@ -109,7 +109,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        11.2.1+git610
+Version:        11.2.1+git1018
 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/+/-/')
@@ -251,8 +251,8 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}
-ExclusiveArch:  ppc64le ppc64  s390x aarch64 riscv64
+%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586 ppc64le ppc64  s390x aarch64 riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -429,6 +429,13 @@
 ln -sf /usr/%{_lib} host-tools/%{_lib}
 export PATH="`pwd`/host-tools/bin:$PATH"
 %endif
+
+# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
+# we don't have that yet in a pure cross environment
+%if 0%{?gcc_target_arch:1}
+       CONFARGS="$CONFARGS --disable-libsanitizer"
+%endif
+
 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
 TCFLAGS="$RPM_OPT_FLAGS" \
 ../configure \
@@ -691,8 +698,16 @@
 %ifarch riscv64
        --enable-link-mutex \
 %endif
+       $CONFARGS \
        --build=%{GCCDIST} \
-       --host=%{GCCDIST}
+       --host=%{GCCDIST} || \
+  {
+    rc=$?;
+    echo "------- BEGIN config.log ------";
+    %{__cat} config.log;
+    echo "------- END config.log ------";
+    exit $rc;
+  }
 
 %if 0%{!?gcc_icecream:1}
 make %{?_smp_mflags}

++++++ gcc11-testresults.spec ++++++
--- /var/tmp/diff_new_pack.PiXKGK/_old  2021-12-05 22:45:47.153705741 +0100
+++ /var/tmp/diff_new_pack.PiXKGK/_new  2021-12-05 22:45:47.153705741 +0100
@@ -207,7 +207,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        11.2.1+git610
+Version:        11.2.1+git1018
 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/+/-/')
@@ -620,6 +620,13 @@
 ln -sf /usr/%{_lib} host-tools/%{_lib}
 export PATH="`pwd`/host-tools/bin:$PATH"
 %endif
+
+# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
+# we don't have that yet in a pure cross environment
+%if 0%{?gcc_target_arch:1}
+       CONFARGS="$CONFARGS --disable-libsanitizer"
+%endif
+
 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
 TCFLAGS="$RPM_OPT_FLAGS" \
 ../configure \
@@ -882,8 +889,16 @@
 %ifarch riscv64
        --enable-link-mutex \
 %endif
+       $CONFARGS \
        --build=%{GCCDIST} \
-       --host=%{GCCDIST}
+       --host=%{GCCDIST} || \
+  {
+    rc=$?;
+    echo "------- BEGIN config.log ------";
+    %{__cat} config.log;
+    echo "------- END config.log ------";
+    exit $rc;
+  }
 
 STAGE1_FLAGS="-g -O2"
 %if 0%{?do_profiling} && !0%{?building_testsuite:1}

++++++ gcc11.spec ++++++
--- /var/tmp/diff_new_pack.PiXKGK/_old  2021-12-05 22:45:47.177705662 +0100
+++ /var/tmp/diff_new_pack.PiXKGK/_new  2021-12-05 22:45:47.181705649 +0100
@@ -186,7 +186,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        11.2.1+git610
+Version:        11.2.1+git1018
 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/+/-/')
@@ -2076,6 +2076,13 @@
 ln -sf /usr/%{_lib} host-tools/%{_lib}
 export PATH="`pwd`/host-tools/bin:$PATH"
 %endif
+
+# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
+# we don't have that yet in a pure cross environment
+%if 0%{?gcc_target_arch:1}
+       CONFARGS="$CONFARGS --disable-libsanitizer"
+%endif
+
 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
 TCFLAGS="$RPM_OPT_FLAGS" \
 ../configure \
@@ -2338,8 +2345,16 @@
 %ifarch riscv64
        --enable-link-mutex \
 %endif
+       $CONFARGS \
        --build=%{GCCDIST} \
-       --host=%{GCCDIST}
+       --host=%{GCCDIST} || \
+  {
+    rc=$?;
+    echo "------- BEGIN config.log ------";
+    %{__cat} config.log;
+    echo "------- END config.log ------";
+    exit $rc;
+  }
 
 STAGE1_FLAGS="-g -O2"
 %if 0%{?do_profiling} && !0%{?building_testsuite:1}
@@ -2915,6 +2930,7 @@
 %{libsubdir}/include/uintrintrin.h
 %{libsubdir}/include/keylockerintrin.h
 %{libsubdir}/include/avxvnniintrin.h
+%{libsubdir}/include/mwaitintrin.h
 %endif
 %ifarch m68k
 %{libsubdir}/include/math-68881.h

++++++ change_spec ++++++
--- /var/tmp/diff_new_pack.PiXKGK/_old  2021-12-05 22:45:47.261705389 +0100
+++ /var/tmp/diff_new_pack.PiXKGK/_new  2021-12-05 22:45:47.265705376 +0100
@@ -98,12 +98,11 @@
 #
 # For now keep the old way of doing things
 if test "$do_crosses" = 1 ; then
-add_cross cross-aarch64-gcc$base_ver-bootstrap aarch64 aarch64-suse-linux 
"%define gcc_libc_bootstrap 1"
-add_cross cross-aarch64-gcc$base_ver aarch64 aarch64-suse-linux %define 
gcc_icecream 1
+add_glibc_cross cross-aarch64-gcc$base_ver aarch64 aarch64-suse-linux
+add_glibc_cross cross-riscv64-gcc$base_ver riscv64 riscv64-suse-linux
 add_cross cross-arm-gcc$base_ver arm arm-suse-linux-gnueabi %define 
gcc_icecream 1
 add_cross cross-avr-gcc$base_ver-bootstrap avr avr "%define gcc_libc_bootstrap 
1"
 add_cross cross-avr-gcc$base_ver avr avr
-add_cross cross-i386-gcc$base_ver i386 i586-suse-linux %define gcc_icecream 1
 add_cross cross-x86_64-gcc$base_ver x86_64 x86_64-suse-linux %define 
gcc_icecream 1
 add_cross cross-s390x-gcc$base_ver s390x s390x-suse-linux %define gcc_icecream 
1
 add_cross cross-sparc-gcc$base_ver sparcv9 sparc-suse-linux %define 
gcc_icecream 1
@@ -113,8 +112,6 @@
 add_cross cross-m68k-gcc$base_ver m68k m68k-suse-linux %define gcc_icecream 1
 add_cross cross-mips-gcc$base_ver mips mips-suse-linux %define gcc_icecream 1
 add_cross cross-hppa-gcc$base_ver hppa hppa-suse-linux %define gcc_icecream 1
-add_cross cross-riscv64-gcc$base_ver-bootstrap riscv64 riscv64-suse-linux 
"%define gcc_libc_bootstrap 1"
-add_cross cross-riscv64-gcc$base_ver riscv64 riscv64-suse-linux %define 
gcc_icecream 1
 add_newlib_cross cross-arm-none-gcc$base_ver arm-none arm-none-eabi
 add_newlib_cross cross-epiphany-gcc$base_ver epiphany epiphany-elf
 #add_newlib_cross cross-nds32le-gcc$base_ver nds32le nds32le-elf
@@ -131,5 +128,3 @@
 done
 
 osc service localrun format_spec_file
-
-exit 0

++++++ cross.spec.in ++++++
--- /var/tmp/diff_new_pack.PiXKGK/_old  2021-12-05 22:45:47.345705115 +0100
+++ /var/tmp/diff_new_pack.PiXKGK/_new  2021-12-05 22:45:47.349705102 +0100
@@ -4,7 +4,7 @@
 #  cross-* packages, but by default, we do:
 %bcond_with ringdisabled
 
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with 
ringdisabled}
+%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && 
"%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with 
ringdisabled}
 ExclusiveArch: do-not-build
 %endif
 
@@ -159,8 +159,8 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}
-ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64 riscv64
+%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch: i586 ppc64le ppc64 x86_64 s390x aarch64 riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has

++++++ gcc-11.2.1+git610.tar.xz -> gcc-11.2.1+git1018.tar.xz ++++++
/work/SRC/openSUSE:Factory/gcc11/gcc-11.2.1+git610.tar.xz 
/work/SRC/openSUSE:Factory/.gcc11.new.31177/gcc-11.2.1+git1018.tar.xz differ: 
char 15, line 1

++++++ gcc.spec.in ++++++
--- /var/tmp/diff_new_pack.PiXKGK/_old  2021-12-05 22:45:47.409704907 +0100
+++ /var/tmp/diff_new_pack.PiXKGK/_new  2021-12-05 22:45:47.409704907 +0100
@@ -190,7 +190,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:          https://gcc.gnu.org/
-Version: 11.2.1+git610
+Version: 11.2.1+git1018
 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/+/-/')
@@ -1280,6 +1280,13 @@
 ln -sf /usr/%{_lib} host-tools/%{_lib}
 export PATH="`pwd`/host-tools/bin:$PATH"
 %endif
+
+# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
+# we don't have that yet in a pure cross environment
+%if 0%{?gcc_target_arch:1}
+       CONFARGS="$CONFARGS --disable-libsanitizer"
+%endif
+
 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
 TCFLAGS="$RPM_OPT_FLAGS" \
 ../configure \
@@ -1542,8 +1549,17 @@
 %ifarch riscv64
        --enable-link-mutex \
 %endif
+       $CONFARGS \
        --build=%{GCCDIST} \
-       --host=%{GCCDIST}
+       --host=%{GCCDIST} || \
+  {
+    rc=$?;
+    echo "------- BEGIN config.log ------";
+    %{__cat} config.log;
+    echo "------- END config.log ------";
+    exit $rc;
+  }
+
 
 # BUILD-COMMON-END
 
@@ -2126,6 +2142,7 @@
 %{libsubdir}/include/uintrintrin.h
 %{libsubdir}/include/keylockerintrin.h
 %{libsubdir}/include/avxvnniintrin.h
+%{libsubdir}/include/mwaitintrin.h
 %endif
 %ifarch m68k
 %{libsubdir}/include/math-68881.h

Reply via email to