Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gcc13 for openSUSE:Factory checked 
in at 2023-02-01 16:38:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcc13 (Old)
 and      /work/SRC/openSUSE:Factory/.gcc13.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gcc13"

Wed Feb  1 16:38:21 2023 rev:5 rq:1061993 version:13.0.1+git5428

Changes:
--------
--- /work/SRC/openSUSE:Factory/gcc13/gcc13.changes      2023-01-19 
16:43:53.433670994 +0100
+++ /work/SRC/openSUSE:Factory/.gcc13.new.32243/gcc13.changes   2023-02-01 
16:44:25.803590151 +0100
@@ -1,0 +2,26 @@
+Fri Jan 27 10:35:15 UTC 2023 - Martin LiÅ¡ka <[email protected]>
+
+- Add support for new front-ends Rust and Modula-2.
+- Align _multibuild order with gcc12 package.
+- Bump to ca8fb0096713a8477614ef874f16ba5bf16c48bc, git5428.
+
+-------------------------------------------------------------------
+Mon Jan 23 15:19:53 UTC 2023 - Richard Biener <[email protected]>
+
+- Add bootstrap conditional to allow --without=bootstrap to be
+  specified to speed up local builds for testing.
+
+-------------------------------------------------------------------
+Mon Jan 23 08:45:24 UTC 2023 - Richard Biener <[email protected]>
+
+- Bump included newlib to version 4.3.0. 
+
+-------------------------------------------------------------------
+Thu Jan 19 11:34:00 UTC 2023 - Richard Biener <[email protected]>
+
+- Update to GCC trunk head (r13-5254-g05b9868b182bb9) 
+  * pulls Go frontend fix to fix build fail on s390x
+  * pulls upstream fix for PR107678, obsoleting gcc13-pr107678.patch
+- Also package libhwasan_preinit.o on aarch64.
+
+-------------------------------------------------------------------

Old:
----
  gcc-13.0.1+git5199.tar.xz
  gcc13-pr107678.patch
  newlib-4.2.0.20211231.tar.xz

New:
----
  gcc-13.0.1+git5428.tar.xz
  newlib-4.3.0.20230120.tar.xz

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

Other differences:
------------------
++++++ cross-aarch64-gcc13-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.xherxn/_old  2023-02-01 16:44:26.987596593 +0100
+++ /var/tmp/diff_new_pack.xherxn/_new  2023-02-01 16:44:26.991596615 +0100
@@ -37,6 +37,8 @@
 %define build_nvptx 0
 %define build_gcn 0
 %define build_d 0
+%define build_rust 0
+%define build_m2 0
 
 %define enable_plugins 0
 %define build_jit 0
@@ -101,7 +103,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        13.0.1+git5199
+Version:        13.0.1+git5428
 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/+/-/')
@@ -115,7 +117,7 @@
 Source2:        gcc13-rpmlintrc
 Source3:        gcc13-testresults-rpmlintrc
 Source4:        README.First-for.SuSE.packagers
-Source5:        newlib-4.2.0.20211231.tar.xz
+Source5:        newlib-4.3.0.20230120.tar.xz
 Patch2:         gcc-add-defaultsspec.diff
 Patch5:         tls-no-direct.diff
 Patch6:         gcc43-no-unwind-tables.diff
@@ -127,7 +129,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc13-pr107678.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -305,7 +306,7 @@
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
-ln -s newlib-4.2.0.20211231/newlib .
+ln -s newlib-4.3.0.20230120/newlib .
 %else
 %setup -q -n gcc-%{version}
 %endif
@@ -329,7 +330,6 @@
 %if %{suse_version} < 1550
 %patch19 -p1
 %endif
-%patch21 -p0
 %patch51
 %patch60 -p1
 %patch61
@@ -395,6 +395,12 @@
 %if %{build_jit}
 languages=$languages,jit
 %endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
 
 # In general we want to ship release checking enabled compilers
 # which is the default for released compilers
@@ -688,10 +694,14 @@
 %if "%{TARGET_ARCH}" == "riscv64"
        --disable-multilib \
 %endif
+%if %{with bootstrap}
 %if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
        --with-build-config=bootstrap-lto-lean \
        --enable-link-mutex \
 %endif
+%else
+       --disable-bootstrap \
+%endif
 %ifarch riscv64
        --enable-link-mutex \
 %endif

cross-aarch64-gcc13.spec: same change
cross-amdgcn-gcc13.spec: same change
cross-arm-gcc13.spec: same change
cross-arm-none-gcc13-bootstrap.spec: same change
cross-arm-none-gcc13.spec: same change
cross-avr-gcc13-bootstrap.spec: same change
cross-avr-gcc13.spec: same change
cross-epiphany-gcc13-bootstrap.spec: same change
cross-epiphany-gcc13.spec: same change
cross-hppa-gcc13-bootstrap.spec: same change
cross-hppa-gcc13.spec: same change
cross-m68k-gcc13.spec: same change
cross-mips-gcc13.spec: same change
cross-nvptx-gcc13.spec: same change
cross-ppc64-gcc13.spec: same change
cross-ppc64le-gcc13.spec: same change
cross-pru-gcc13-bootstrap.spec: same change
cross-pru-gcc13.spec: same change
cross-riscv64-elf-gcc13-bootstrap.spec: same change
cross-riscv64-elf-gcc13.spec: same change
cross-riscv64-gcc13-bootstrap.spec: same change
cross-riscv64-gcc13.spec: same change
cross-rx-gcc13-bootstrap.spec: same change
cross-rx-gcc13.spec: same change
cross-s390x-gcc13.spec: same change
cross-sparc-gcc13.spec: same change
cross-sparc64-gcc13.spec: same change
cross-x86_64-gcc13.spec: same change
++++++ gcc13-testresults.spec ++++++
--- /var/tmp/diff_new_pack.xherxn/_old  2023-02-01 16:44:27.755600773 +0100
+++ /var/tmp/diff_new_pack.xherxn/_new  2023-02-01 16:44:27.759600794 +0100
@@ -48,6 +48,8 @@
 %define usrmerged 1
 %endif
 
+%bcond_without bootstrap
+
 # Ada currently fails to build on a few platforms, enable it only
 # on those that work
 %if %{suse_version} >= 1310
@@ -89,16 +91,26 @@
 %define build_d 0
 %endif
 
+%define build_m2 1
+
 %if %{build_objcp}
 %define build_cp 1
 %define build_objc 1
 %endif
 
+%ifarch %ix86 x86_64 aarch64
+%define build_rust 1
+%else
+%define build_rust 0
+%endif
+
 # For optional compilers only build C, C++, Fortran, Ada and Go
 %if 0%{?build_optional_compiler_languages:1}
 %define build_objc 0
 %define build_objcp 0
 %define build_d 0
+%define build_rust 0
+%define build_m2 0
 %endif
 
 %ifarch x86_64
@@ -122,7 +134,7 @@
 %define use_lto_bootstrap 0
 %ifarch x86_64 ppc64le s390x aarch64
 %if %{suse_version} > 1500
-%define use_lto_bootstrap 1
+%define use_lto_bootstrap %{with bootstrap}
 %endif
 %endif
 
@@ -162,6 +174,7 @@
 %define libgphobos_sover 4
 %define libgdruntime_sover 4
 %define libgccjit_sover 0
+%define libm2_sover 18
 
 # Shared library package suffix
 # This is used for the "non-standard" set of libraries, the standard
@@ -195,6 +208,7 @@
 %define libgphobos_suffix %{plv libgphobos %{libgphobos_sover}}
 %define libgdruntime_suffix %{plv libgdruntime %{libgdruntime_sover}}
 %define libgccjit_suffix %{plv libgccjit %{libgccjit_sover}}
+%define libm2_suffix %{plv libm2 %{libm2_sover}}
 
 # libFOO-devel package suffix
 %define libdevel_suffix -gcc13
@@ -208,7 +222,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        13.0.1+git5199
+Version:        13.0.1+git5428
 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/+/-/')
@@ -373,7 +387,7 @@
 Source2:        gcc13-rpmlintrc
 Source3:        gcc13-testresults-rpmlintrc
 Source4:        README.First-for.SuSE.packagers
-Source5:        newlib-4.2.0.20211231.tar.xz
+Source5:        newlib-4.3.0.20230120.tar.xz
 Patch2:         gcc-add-defaultsspec.diff
 Patch5:         tls-no-direct.diff
 Patch6:         gcc43-no-unwind-tables.diff
@@ -385,7 +399,6 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:        gcc13-pr107678.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -500,7 +513,7 @@
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
-ln -s newlib-4.2.0.20211231/newlib .
+ln -s newlib-4.3.0.20230120/newlib .
 %else
 %setup -q -n gcc-%{version}
 %endif
@@ -524,7 +537,6 @@
 %if %{suse_version} < 1550
 %patch19 -p1
 %endif
-%patch21 -p0
 %patch51
 %patch60 -p1
 %patch61
@@ -590,6 +602,12 @@
 %if %{build_jit}
 languages=$languages,jit
 %endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
 
 # In general we want to ship release checking enabled compilers
 # which is the default for released compilers
@@ -883,10 +901,14 @@
 %if "%{TARGET_ARCH}" == "riscv64"
        --disable-multilib \
 %endif
+%if %{with bootstrap}
 %if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
        --with-build-config=bootstrap-lto-lean \
        --enable-link-mutex \
 %endif
+%else
+       --disable-bootstrap \
+%endif
 %ifarch riscv64
        --enable-link-mutex \
 %endif
@@ -904,9 +926,11 @@
 STAGE1_FLAGS="-g -O2"
 %if 0%{?do_profiling} && !0%{?building_testsuite:1}
 %ifarch x86_64 %ix86 ppc64le s390x aarch64
+%if %{with bootstrap}
 %define use_pgo_bootstrap 1
 %endif
 %endif
+%endif
 %{?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}

++++++ gcc13.spec ++++++
++++ 601 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/gcc13/gcc13.spec
++++ and /work/SRC/openSUSE:Factory/.gcc13.new.32243/gcc13.spec

++++++ _multibuild ++++++
--- /var/tmp/diff_new_pack.xherxn/_old  2023-02-01 16:44:27.883601469 +0100
+++ /var/tmp/diff_new_pack.xherxn/_new  2023-02-01 16:44:27.887601491 +0100
@@ -7,6 +7,8 @@
 <flavor>cross-arm-gcc13</flavor>
 <flavor>cross-avr-gcc13-bootstrap</flavor>
 <flavor>cross-avr-gcc13</flavor>
+<flavor>cross-pru-gcc13-bootstrap</flavor>
+<flavor>cross-pru-gcc13</flavor>
 <flavor>cross-x86_64-gcc13</flavor>
 <flavor>cross-s390x-gcc13</flavor>
 <flavor>cross-sparc-gcc13</flavor>
@@ -21,8 +23,6 @@
 <flavor>cross-arm-none-gcc13</flavor>
 <flavor>cross-epiphany-gcc13-bootstrap</flavor>
 <flavor>cross-epiphany-gcc13</flavor>
-<flavor>cross-pru-gcc13-bootstrap</flavor>
-<flavor>cross-pru-gcc13</flavor>
 <flavor>cross-riscv64-elf-gcc13-bootstrap</flavor>
 <flavor>cross-riscv64-elf-gcc13</flavor>
 <flavor>cross-rx-gcc13-bootstrap</flavor>

++++++ change_spec ++++++
--- /var/tmp/diff_new_pack.xherxn/_old  2023-02-01 16:44:27.903601578 +0100
+++ /var/tmp/diff_new_pack.xherxn/_new  2023-02-01 16:44:27.907601600 +0100
@@ -103,6 +103,7 @@
 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_newlib_cross cross-pru-gcc$base_ver pru pru
 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
@@ -115,7 +116,6 @@
 add_cross cross-hppa-gcc$base_ver hppa hppa-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-pru-gcc$base_ver pru pru
 #add_newlib_cross cross-nds32le-gcc$base_ver nds32le nds32le-elf
 add_newlib_cross cross-riscv64-elf-gcc$base_ver riscv64 riscv64-elf
 #add_newlib_cross cross-rl78-gcc$base_ver rl78 rl78-elf

++++++ cross.spec.in ++++++
--- /var/tmp/diff_new_pack.xherxn/_old  2023-02-01 16:44:27.971601949 +0100
+++ /var/tmp/diff_new_pack.xherxn/_new  2023-02-01 16:44:27.975601970 +0100
@@ -15,6 +15,8 @@
 %define build_nvptx 0
 %define build_gcn 0
 %define build_d 0
+%define build_rust 0
+%define build_m2 0
 
 %define enable_plugins 0
 %define build_jit 0

++++++ gcc-13.0.1+git5199.tar.xz -> gcc-13.0.1+git5428.tar.xz ++++++
/work/SRC/openSUSE:Factory/gcc13/gcc-13.0.1+git5199.tar.xz 
/work/SRC/openSUSE:Factory/.gcc13.new.32243/gcc-13.0.1+git5428.tar.xz differ: 
char 15, line 1

++++++ gcc.spec.in ++++++
--- /var/tmp/diff_new_pack.xherxn/_old  2023-02-01 16:44:28.031602275 +0100
+++ /var/tmp/diff_new_pack.xherxn/_new  2023-02-01 16:44:28.039602319 +0100
@@ -28,6 +28,8 @@
 %define usrmerged 1
 %endif
 
+%bcond_without bootstrap
+
 # Ada currently fails to build on a few platforms, enable it only
 # on those that work
 %if %{suse_version} >= 1310
@@ -69,16 +71,26 @@
 %define build_d 0
 %endif
 
+%define build_m2 1
+
 %if %{build_objcp}
 %define build_cp 1
 %define build_objc 1
 %endif
 
+%ifarch %ix86 x86_64 aarch64
+%define build_rust 1
+%else
+%define build_rust 0
+%endif
+
 # For optional compilers only build C, C++, Fortran, Ada and Go
 %if 0%{?build_optional_compiler_languages:1}
 %define build_objc 0
 %define build_objcp 0
 %define build_d 0
+%define build_rust 0
+%define build_m2 0
 %endif
 
 %ifarch x86_64
@@ -102,7 +114,7 @@
 %define use_lto_bootstrap 0
 %ifarch x86_64 ppc64le s390x aarch64
 %if %{suse_version} > 1500
-%define use_lto_bootstrap 1
+%define use_lto_bootstrap %{with bootstrap}
 %endif
 %endif
 
@@ -142,6 +154,7 @@
 %define libgphobos_sover 4
 %define libgdruntime_sover 4
 %define libgccjit_sover 0
+%define libm2_sover 18
 
 # Shared library package suffix
 # This is used for the "non-standard" set of libraries, the standard
@@ -175,6 +188,7 @@
 %define libgphobos_suffix %{plv libgphobos %{libgphobos_sover}}
 %define libgdruntime_suffix %{plv libgdruntime %{libgdruntime_sover}}
 %define libgccjit_suffix %{plv libgccjit %{libgccjit_sover}}
+%define libm2_suffix %{plv libm2 %{libm2_sover}}
 
 
 # libFOO-devel package suffix
@@ -191,7 +205,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:          https://gcc.gnu.org/
-Version: 13.0.1+git5199
+Version: 13.0.1+git5428
 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/+/-/')
@@ -357,7 +371,7 @@
 Source2:       gcc13-rpmlintrc
 Source3:       gcc13-testresults-rpmlintrc
 Source4:       README.First-for.SuSE.packagers
-Source5:       newlib-4.2.0.20211231.tar.xz
+Source5:       newlib-4.3.0.20230120.tar.xz
 Patch2:                gcc-add-defaultsspec.diff
 Patch5:                tls-no-direct.diff
 Patch6:                gcc43-no-unwind-tables.diff
@@ -369,7 +383,6 @@
 Patch18:       gcc10-amdgcn-llvm-as.patch
 Patch19:       gcc11-gdwarf-4-default.patch
 Patch20:       gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21:       gcc13-pr107678.patch
 # A set of patches from the RH srpm
 Patch51:       gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -386,7 +399,8 @@
 frontend.
 
 Language frontends other than C are split to different sub-packages,
-namely gcc-ada, gcc-c++, gcc-fortran, gcc-obj, gcc-obj-c++ and gcc-go.
+namely gcc-ada, gcc-c++, gcc-fortran, gcc-obj, gcc-obj-c++, gcc-go,
+gcc-rust and gcc-m2.
 
 
 
@@ -1064,6 +1078,134 @@
 %description -n libgccjit%{libgccjit_sover}-devel%{libdevel_suffix}
 Package contains header files and documentation for GCC JIT front-end.
 
+
+# PACKAGE-BEGIN
+%package rust@variant@
+Summary:      GNU Rust Compiler
+License:        GPL-3.0-or-later
+Group:        Development/Languages/Other
+Requires: gcc@base_ver@@variant@ = %{version}-%{release}
+Requires: gcc@base_ver@-rust = %{version}-%{release}
+
+%description rust@variant@
+This package contains a Rust compiler.
+# PACKAGE-END
+
+
+# PACKAGE-BEGIN
+%package m2@variant@
+Summary:      GNU Modula-2 Compiler
+License:        GPL-3.0-or-later
+Group:        Development/Languages/Other
+Requires: gcc@base_ver@@variant@ = %{version}-%{release}
+Requires: gcc@base_ver@-m2 = %{version}-%{release}
+Requires: libm2log%{libm2_sover}@variant@ >= %{version}-%{release}
+Requires: libm2cor%{libm2_sover}@variant@ >= %{version}-%{release}
+Requires: libm2iso%{libm2_sover}@variant@ >= %{version}-%{release}
+Requires: libm2pim%{libm2_sover}@variant@ >= %{version}-%{release}
+Requires: libm2min%{libm2_sover}@variant@ >= %{version}-%{release}
+
+
+%description m2@variant@
+This package contains a Modula-2 compiler.
+# PACKAGE-END
+
+
+# PACKAGE-BEGIN
+%package -n libm2log%{libm2_sover}%{libm2_suffix}@variant@
+Summary:      GNU Modula-2 compiler runtime library
+License:        BSL-1.0
+Group:        Development/Languages/Other
+Provides:      libm2log%{libm2_sover}@variant@ = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts:     %selfconflict libm2log%{libm2_sover}@variant@
+
+%description -n libm2log%{libm2_sover}%{libm2_suffix}@variant@
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2log%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+
+%postun -n libm2log%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+# PACKAGE-END
+
+
+# PACKAGE-BEGIN
+%package -n libm2cor%{libm2_sover}%{libm2_suffix}@variant@
+Summary:      GNU Modula-2 compiler runtime library
+License:        BSL-1.0
+Group:        Development/Languages/Other
+Provides:      libm2cor%{libm2_sover}@variant@ = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts:     %selfconflict libm2cor%{libm2_sover}@variant@
+
+%description -n libm2cor%{libm2_sover}%{libm2_suffix}@variant@
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2cor%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+
+%postun -n libm2cor%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+# PACKAGE-END
+
+
+# PACKAGE-BEGIN
+%package -n libm2iso%{libm2_sover}%{libm2_suffix}@variant@
+Summary:      GNU Modula-2 compiler runtime library
+License:        BSL-1.0
+Group:        Development/Languages/Other
+Provides:      libm2iso%{libm2_sover}@variant@ = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts:     %selfconflict libm2iso%{libm2_sover}@variant@
+
+%description -n libm2iso%{libm2_sover}%{libm2_suffix}@variant@
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2iso%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+
+%postun -n libm2iso%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+# PACKAGE-END
+
+
+# PACKAGE-BEGIN
+%package -n libm2pim%{libm2_sover}%{libm2_suffix}@variant@
+Summary:      GNU Modula-2 compiler runtime library
+License:        BSL-1.0
+Group:        Development/Languages/Other
+Provides:      libm2pim%{libm2_sover}@variant@ = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts:     %selfconflict libm2pim%{libm2_sover}@variant@
+
+%description -n libm2pim%{libm2_sover}%{libm2_suffix}@variant@
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2pim%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+
+%postun -n libm2pim%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+# PACKAGE-END
+
+
+# PACKAGE-BEGIN
+%package -n libm2min%{libm2_sover}%{libm2_suffix}@variant@
+Summary:      GNU Modula-2 compiler runtime library
+License:        BSL-1.0
+Group:        Development/Languages/Other
+Provides:      libm2min%{libm2_sover}@variant@ = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts:     %selfconflict libm2min%{libm2_sover}@variant@
+
+%description -n libm2min%{libm2_sover}%{libm2_suffix}@variant@
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2min%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+
+%postun -n libm2min%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+# PACKAGE-END
+
+
 %package -n gcc@base_ver@-testresults
 # GCC-TESTSUITE-DELETE-END
 Summary:      Testsuite results
@@ -1180,7 +1322,7 @@
 %prep
 %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
 %setup -q -n gcc-%{version} -a 5
-ln -s newlib-4.2.0.20211231/newlib .
+ln -s newlib-4.3.0.20230120/newlib .
 %else
 %setup -q -n gcc-%{version}
 %endif
@@ -1204,7 +1346,6 @@
 %if %{suse_version} < 1550
 %patch19 -p1
 %endif
-%patch21 -p0
 %patch51
 %patch60 -p1
 %patch61
@@ -1270,6 +1411,12 @@
 %if %{build_jit}
 languages=$languages,jit
 %endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
 
 # In general we want to ship release checking enabled compilers
 # which is the default for released compilers
@@ -1563,10 +1710,14 @@
 %if "%{TARGET_ARCH}" == "riscv64"
        --disable-multilib \
 %endif
+%if %{with bootstrap}
 %if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
        --with-build-config=bootstrap-lto-lean \
        --enable-link-mutex \
 %endif
+%else
+       --disable-bootstrap \
+%endif
 %ifarch riscv64
        --enable-link-mutex \
 %endif
@@ -1587,9 +1738,11 @@
 STAGE1_FLAGS="-g -O2"
 %if 0%{?do_profiling} && !0%{?building_testsuite:1}
 %ifarch x86_64 %ix86 ppc64le s390x aarch64
+%if %{with bootstrap}
 %define use_pgo_bootstrap 1
 %endif
 %endif
+%endif
 %{?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}
@@ -1630,7 +1783,8 @@
     libgomp libgomp-plugin-hsa libstdc++ libsupc++ libgo \
     libasan libhwasan libatomic libitm libtsan liblsan libubsan libvtv \
     libstdc++fs libgomp-plugin-nvptx libgomp-plugin-gcn \
-    libgdruntime libgphobos libstdc++exp; do
+    libgdruntime libgphobos libstdc++exp \
+    libm2cor libm2iso libm2log libm2min libm2pim; do
   rm -f %{buildroot}/%{versmainlibdir}/$lib.la
 %if %{biarch}
   rm -f %{buildroot}/%{versmainlibdirbi}/$lib.la
@@ -1720,6 +1874,13 @@
 %if %{build_gcn}
   libgomp-plugin-gcn \
 %endif
+%if %{build_m2}
+  libm2log \
+  libm2cor \
+  libm2iso \
+  libm2pim \
+  libm2min \
+%endif
 %ifarch %atomic_arch
   libatomic \
 %endif
@@ -2836,6 +2997,98 @@
 %{_infodir}/libgccjit.info.gz
 %endif
 
+%if %{build_rust}
+%files rust
+%defattr(-,root,root)
+%{_prefix}/bin/gccrs%{binsuffix}
+%{libsubdir}/rust1
+%endif
+
+%if %{build_m2}
+%files m2
+%defattr(-,root,root)
+%{_prefix}/bin/gm2%{binsuffix}
+%{libsubdir}/cc1gm2
+%{versmainlibdir}/m2
+%versmainlib libm2log.a
+%versmainlib libm2log.so
+%versmainlib libm2cor.a
+%versmainlib libm2cor.so
+%versmainlib libm2iso.a
+%versmainlib libm2iso.so
+%versmainlib libm2pim.a
+%versmainlib libm2pim.so
+%versmainlib libm2min.a
+%versmainlib libm2min.so
+%doc %{_mandir}/man1/gm2%{binsuffix}.1.gz
+
+%if %{separate_biarch}
+%files m2%{separate_biarch_suffix}
+%defattr(-,root,root)
+%{versmainlibdirbi}/m2
+%versbiarchlib libm2log.a
+%versbiarchlib libm2log.so
+%versbiarchlib libm2cor.a
+%versbiarchlib libm2cor.so
+%versbiarchlib libm2iso.a
+%versbiarchlib libm2iso.so
+%versbiarchlib libm2pim.a
+%versbiarchlib libm2pim.so
+%versbiarchlib libm2min.a
+%versbiarchlib libm2min.so
+%endif
+
+%files -n libm2log%{libm2_sover}%{libm2_suffix}
+%defattr(-,root,root)
+%mainlib libm2log.so.%{libm2_sover}*
+
+%if %{separate_biarch}
+%files -n libm2log%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libm2log.so.%{libm2_sover}*
+%endif
+
+%files -n libm2cor%{libm2_sover}%{libm2_suffix}
+%defattr(-,root,root)
+%mainlib libm2cor.so.%{libm2_sover}*
+
+%if %{separate_biarch}
+%files -n libm2cor%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libm2cor.so.%{libm2_sover}*
+%endif
+
+%files -n libm2iso%{libm2_sover}%{libm2_suffix}
+%defattr(-,root,root)
+%mainlib libm2iso.so.%{libm2_sover}*
+
+%if %{separate_biarch}
+%files -n libm2iso%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libm2iso.so.%{libm2_sover}*
+%endif
+
+%files -n libm2pim%{libm2_sover}%{libm2_suffix}
+%defattr(-,root,root)
+%mainlib libm2pim.so.%{libm2_sover}*
+
+%if %{separate_biarch}
+%files -n libm2pim%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libm2pim.so.%{libm2_sover}*
+%endif
+
+%files -n libm2min%{libm2_sover}%{libm2_suffix}
+%defattr(-,root,root)
+%mainlib libm2min.so.%{libm2_sover}*
+
+%if %{separate_biarch}
+%files -n libm2min%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libm2min.so.%{libm2_sover}*
+%endif
+%endif
+
 # GCC-TESTSUITE-DELETE-END
 
 %if 0%{?run_tests:1}

++++++ newlib-4.2.0.20211231.tar.xz -> newlib-4.3.0.20230120.tar.xz ++++++
++++ 1423531 lines of diff (skipped)

Reply via email to