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-04-07 18:16:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gcc13 (Old) and /work/SRC/openSUSE:Factory/.gcc13.new.19717 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gcc13" Fri Apr 7 18:16:28 2023 rev:7 rq:1077145 version:13.0.1+git6995 Changes: -------- --- /work/SRC/openSUSE:Factory/gcc13/gcc13.changes 2023-03-19 16:16:57.883434794 +0100 +++ /work/SRC/openSUSE:Factory/.gcc13.new.19717/gcc13.changes 2023-04-07 18:16:36.336641961 +0200 @@ -2 +2 @@ -Tue Mar 14 18:27:43 UTC 2023 - Martin Liška <mli...@suse.cz> +Tue Apr 4 07:02:21 UTC 2023 - Martin Liška <mli...@suse.cz> @@ -4 +4,29 @@ -- Bump to 42630fadbe248717859d61c0244c821c32b4e52c, git6669. +- Bump to d0b961b802dd7d9d555ff4515835a479329326e9, git6995. + +------------------------------------------------------------------- +Fri Mar 24 14:44:48 UTC 2023 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Add %limit_build for gcc13 to avoid OOM + +------------------------------------------------------------------- +Fri Mar 24 13:37:38 UTC 2023 - Martin Liška <mli...@suse.cz> + +- Use --enable-link-serialization rather that --enable-link-mutex, + the benefit of the former one is that the linker jobs are not + holding tokens of the make's jobserver. + +------------------------------------------------------------------- +Thu Mar 23 22:14:59 UTC 2023 - Martin Liška <mli...@suse.cz> + +- Bump to c4792bd1de0621932a47fb86aca09fafafdb2972, git6840. + +------------------------------------------------------------------- +Tue Mar 21 10:45:33 UTC 2023 - Richard Biener <rguent...@suse.com> + +- Add cross-bpf packages. See https://gcc.gnu.org/wiki/BPFBackEnd + for the general state of BPF with GCC. + +------------------------------------------------------------------- +Tue Mar 21 08:39:35 UTC 2023 - Martin Liška <mli...@suse.cz> + +- Bump to 5f413dc41ee4f8bc3a0fc295f98b75dceae52fa8, git6773. Old: ---- gcc-13.0.1+git6669.tar.xz New: ---- cross-bpf-gcc13.spec gcc-13.0.1+git6995.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cross-aarch64-gcc13-bootstrap.spec ++++++ --- /var/tmp/diff_new_pack.t3C1AU/_old 2023-04-07 18:16:37.756650141 +0200 +++ /var/tmp/diff_new_pack.t3C1AU/_new 2023-04-07 18:16:37.760650164 +0200 @@ -23,7 +23,7 @@ # nospeccleaner %define build_cp 0%{!?gcc_accel:1} -%if 0%{?gcc_libc_bootstrap:1} +%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf" %define build_cp 0 %endif %define build_ada 0 @@ -73,6 +73,9 @@ %if "%{binutils_target}" == "arm" %define binutils_os %{canonical_target}-suse-linux-gnueabi %else +%if "%{binutils_target}" == "bpf" +%define binutils_os %{canonical_target}-none +%else %if 0%{?gcc_accel:1} %define binutils_os %{gcc_target_arch} %else @@ -81,6 +84,7 @@ %endif %endif %endif +%endif %if 0%{?gcc_icecream:1} %define sysroot %{_prefix}/%{gcc_target_arch} @@ -103,7 +107,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git6669 +Version: 13.0.1+git6995 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/+/-/') @@ -189,6 +193,9 @@ BuildRequires: flex BuildRequires: gettext-devel BuildRequires: glibc-devel-32bit +%if %{with limitbuild} +BuildRequires: memory-constraints +%endif BuildRequires: mpc-devel BuildRequires: mpfr-devel BuildRequires: perl @@ -337,6 +344,9 @@ #test patching end %build +%if %{with limitbuild} +%limit_build -m 900 +%endif %define _lto_cflags %{nil} # Avoid rebuilding of generated files contrib/gcc_update --touch @@ -567,6 +577,9 @@ --without-headers --with-newlib \ %endif %endif +%if "%{TARGET_ARCH}" == "bpf" + --disable-gcov \ +%endif %if "%{TARGET_ARCH}" == "spu" --with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \ --with-newlib \ @@ -701,7 +714,7 @@ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ @@ -880,7 +893,7 @@ c++ g++ \ %endif gcc-ar gcc-nm gcc-ranlib lto-dump \ -%if 0%{!?gcc_libc_bootstrap:1} +%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf" gcov gcov-dump gcov-tool \ %endif ; do @@ -896,7 +909,7 @@ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ --slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \ %endif -%if 0%{!?gcc_libc_bootstrap:1} +%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf" --slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \ --slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \ --slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \ @@ -926,7 +939,7 @@ %{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix} %{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix} %{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix} -%if 0%{!?gcc_libc_bootstrap:1} +%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf" %{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix} %{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix} %{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix} @@ -946,7 +959,7 @@ %ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm %ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib %ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump -%if 0%{!?gcc_libc_bootstrap:1} +%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf" %ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov %ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump %ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool 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-bpf-gcc13.spec ++++++ ++++ 1012 lines (skipped) ++++++ cross-epiphany-gcc13-bootstrap.spec ++++++ --- /var/tmp/diff_new_pack.t3C1AU/_old 2023-04-07 18:16:38.012651615 +0200 +++ /var/tmp/diff_new_pack.t3C1AU/_new 2023-04-07 18:16:38.016651638 +0200 @@ -24,7 +24,7 @@ # nospeccleaner %define build_cp 0%{!?gcc_accel:1} -%if 0%{?gcc_libc_bootstrap:1} +%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf" %define build_cp 0 %endif %define build_ada 0 @@ -74,6 +74,9 @@ %if "%{binutils_target}" == "arm" %define binutils_os %{canonical_target}-suse-linux-gnueabi %else +%if "%{binutils_target}" == "bpf" +%define binutils_os %{canonical_target}-none +%else %if 0%{?gcc_accel:1} %define binutils_os %{gcc_target_arch} %else @@ -82,6 +85,7 @@ %endif %endif %endif +%endif %if 0%{?gcc_icecream:1} %define sysroot %{_prefix}/%{gcc_target_arch} @@ -104,7 +108,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git6669 +Version: 13.0.1+git6995 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/+/-/') @@ -190,6 +194,9 @@ BuildRequires: flex BuildRequires: gettext-devel BuildRequires: glibc-devel-32bit +%if %{with limitbuild} +BuildRequires: memory-constraints +%endif BuildRequires: mpc-devel BuildRequires: mpfr-devel BuildRequires: perl @@ -338,6 +345,9 @@ #test patching end %build +%if %{with limitbuild} +%limit_build -m 900 +%endif %define _lto_cflags %{nil} # Avoid rebuilding of generated files contrib/gcc_update --touch @@ -568,6 +578,9 @@ --without-headers --with-newlib \ %endif %endif +%if "%{TARGET_ARCH}" == "bpf" + --disable-gcov \ +%endif %if "%{TARGET_ARCH}" == "spu" --with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \ --with-newlib \ @@ -702,7 +715,7 @@ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ @@ -881,7 +894,7 @@ c++ g++ \ %endif gcc-ar gcc-nm gcc-ranlib lto-dump \ -%if 0%{!?gcc_libc_bootstrap:1} +%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf" gcov gcov-dump gcov-tool \ %endif ; do @@ -897,7 +910,7 @@ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ --slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \ %endif -%if 0%{!?gcc_libc_bootstrap:1} +%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf" --slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \ --slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \ --slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \ @@ -927,7 +940,7 @@ %{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix} %{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix} %{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix} -%if 0%{!?gcc_libc_bootstrap:1} +%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf" %{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix} %{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix} %{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix} @@ -947,7 +960,7 @@ %ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm %ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib %ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump -%if 0%{!?gcc_libc_bootstrap:1} +%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf" %ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov %ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump %ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool 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.t3C1AU/_old 2023-04-07 18:16:38.688655509 +0200 +++ /var/tmp/diff_new_pack.t3C1AU/_new 2023-04-07 18:16:38.692655532 +0200 @@ -147,6 +147,9 @@ %define build_jit 0 %endif +# Limit the number of parallel jobs to avoid OOM +%bcond_without limitbuild + # Shared library SONAME versions %ifarch hppa %define libgcc_s 4 @@ -222,7 +225,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git6669 +Version: 13.0.1+git6995 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/+/-/') @@ -245,6 +248,9 @@ # until here, but at least renaming and patching info files breaks this BuildRequires: gcc-c++ BuildRequires: glibc-devel-32bit +%if %{with limitbuild} +BuildRequires: memory-constraints +%endif BuildRequires: mpc-devel BuildRequires: mpfr-devel BuildRequires: perl @@ -544,6 +550,9 @@ #test patching end %build +%if %{with limitbuild} +%limit_build -m 900 +%endif %define _lto_cflags %{nil} # Avoid rebuilding of generated files contrib/gcc_update --touch @@ -774,6 +783,9 @@ --without-headers --with-newlib \ %endif %endif +%if "%{TARGET_ARCH}" == "bpf" + --disable-gcov \ +%endif %if "%{TARGET_ARCH}" == "spu" --with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \ --with-newlib \ @@ -908,7 +920,7 @@ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ gcc13.spec: same change ++++++ _multibuild ++++++ --- /var/tmp/diff_new_pack.t3C1AU/_old 2023-04-07 18:16:38.832656339 +0200 +++ /var/tmp/diff_new_pack.t3C1AU/_new 2023-04-07 18:16:38.840656385 +0200 @@ -29,5 +29,6 @@ <flavor>cross-rx-gcc13</flavor> <flavor>cross-nvptx-gcc13</flavor> <flavor>cross-amdgcn-gcc13</flavor> +<flavor>cross-bpf-gcc13</flavor> </multibuild> ++++++ change_spec ++++++ --- /var/tmp/diff_new_pack.t3C1AU/_old 2023-04-07 18:16:38.864656523 +0200 +++ /var/tmp/diff_new_pack.t3C1AU/_new 2023-04-07 18:16:38.868656546 +0200 @@ -124,6 +124,7 @@ # the nvptx and amdgcn crosses are used for offloading add_cross cross-nvptx-gcc$base_ver nvptx nvptx-none %define gcc_accel 1 add_cross cross-amdgcn-gcc$base_ver amdgcn amdgcn-amdhsa %define gcc_accel 1 +add_cross cross-bpf-gcc$base_ver bpf bpf-none for f in *.spec; do sed -i -e '/^# .*-\(BEGIN\|END\)$/d' $f ++++++ cross.spec.in ++++++ --- /var/tmp/diff_new_pack.t3C1AU/_old 2023-04-07 18:16:38.956657053 +0200 +++ /var/tmp/diff_new_pack.t3C1AU/_new 2023-04-07 18:16:38.960657076 +0200 @@ -1,7 +1,7 @@ # nospeccleaner %define build_cp 0%{!?gcc_accel:1} -%if 0%{?gcc_libc_bootstrap:1} +%if 0%{?gcc_libc_bootstrap:1} || "%{cross_arch}" == "bpf" %define build_cp 0 %endif %define build_ada 0 @@ -51,6 +51,9 @@ %if "%{binutils_target}" == "arm" %define binutils_os %{canonical_target}-suse-linux-gnueabi %else +%if "%{binutils_target}" == "bpf" +%define binutils_os %{canonical_target}-none +%else %if 0%{?gcc_accel:1} %define binutils_os %{gcc_target_arch} %else @@ -59,6 +62,7 @@ %endif %endif %endif +%endif %if 0%{?gcc_icecream:1} %define sysroot %{_prefix}/%{gcc_target_arch} @@ -100,6 +104,9 @@ BuildRequires: flex BuildRequires: gettext-devel BuildRequires: glibc-devel-32bit +%if %{with limitbuild} +BuildRequires: memory-constraints +%endif BuildRequires: mpc-devel BuildRequires: mpfr-devel BuildRequires: perl @@ -383,7 +390,7 @@ c++ g++ \ %endif gcc-ar gcc-nm gcc-ranlib lto-dump \ -%if 0%{!?gcc_libc_bootstrap:1} +%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf" gcov gcov-dump gcov-tool \ %endif ; do @@ -399,7 +406,7 @@ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ --slave %{_bindir}/%{gcc_target_arch}-g++ %{gcc_target_arch}-g++ %{_bindir}/%{gcc_target_arch}-g++%{binsuffix} \ %endif -%if 0%{!?gcc_libc_bootstrap:1} +%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf" --slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \ --slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \ --slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} \ @@ -429,7 +436,7 @@ %{_prefix}/bin/%{gcc_target_arch}-gcc-nm%{binsuffix} %{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib%{binsuffix} %{_prefix}/bin/%{gcc_target_arch}-lto-dump%{binsuffix} -%if 0%{!?gcc_libc_bootstrap:1} +%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf" %{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix} %{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix} %{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix} @@ -449,7 +456,7 @@ %ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm %ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib %ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-lto-dump -%if 0%{!?gcc_libc_bootstrap:1} +%if 0%{!?gcc_libc_bootstrap:1} && "%{cross_arch}" != "bpf" %ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov %ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump %ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool ++++++ gcc-13.0.1+git6669.tar.xz -> gcc-13.0.1+git6995.tar.xz ++++++ /work/SRC/openSUSE:Factory/gcc13/gcc-13.0.1+git6669.tar.xz /work/SRC/openSUSE:Factory/.gcc13.new.19717/gcc-13.0.1+git6995.tar.xz differ: char 15, line 1 ++++++ gcc.spec.in ++++++ --- /var/tmp/diff_new_pack.t3C1AU/_old 2023-04-07 18:16:39.028657468 +0200 +++ /var/tmp/diff_new_pack.t3C1AU/_new 2023-04-07 18:16:39.032657490 +0200 @@ -127,6 +127,9 @@ %define build_jit 0 %endif +# Limit the number of parallel jobs to avoid OOM +%bcond_without limitbuild + # Shared library SONAME versions %ifarch hppa %define libgcc_s 4 @@ -205,7 +208,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.0.1+git6669 +Version: 13.0.1+git6995 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/+/-/') @@ -229,6 +232,9 @@ # until here, but at least renaming and patching info files breaks this BuildRequires: gcc-c++ BuildRequires: glibc-devel-32bit +%if %{with limitbuild} +BuildRequires: memory-constraints +%endif BuildRequires: mpc-devel BuildRequires: mpfr-devel BuildRequires: perl @@ -1353,6 +1359,9 @@ #test patching end %build +%if %{with limitbuild} +%limit_build -m 900 +%endif %define _lto_cflags %{nil} # Avoid rebuilding of generated files contrib/gcc_update --touch @@ -1583,6 +1592,9 @@ --without-headers --with-newlib \ %endif %endif +%if "%{TARGET_ARCH}" == "bpf" + --disable-gcov \ +%endif %if "%{TARGET_ARCH}" == "spu" --with-gxx-include-dir=%sysroot/include/c++/%{gcc_dir_version} \ --with-newlib \ @@ -1717,7 +1729,7 @@ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ ++++++ gcc44-rename-info-files.patch ++++++ --- /var/tmp/diff_new_pack.t3C1AU/_old 2023-04-07 18:16:39.080657767 +0200 +++ /var/tmp/diff_new_pack.t3C1AU/_new 2023-04-07 18:16:39.084657790 +0200 @@ -84,10 +84,10 @@ 22 files changed, 131 insertions(+), 70 deletions(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in -index 6001c9e3b55..3dd359b63fe 100644 +index d8b76d83d68..4f9c274ee38 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in -@@ -3330,8 +3330,29 @@ install-no-fixedincludes: +@@ -3333,8 +3333,29 @@ install-no-fixedincludes: doc: $(BUILD_INFO) $(GENERATED_MANPAGES) @@ -119,7 +119,7 @@ info: $(INFOFILES) lang.info @GENINSRC@ srcinfo lang.srcinfo -@@ -3387,21 +3408,41 @@ gcc-vers.texi: $(BASEVER) $(DEVPHASE) +@@ -3390,21 +3411,41 @@ gcc-vers.texi: $(BASEVER) $(DEVPHASE) # patterns. To use them, put each of the specific targets with its # specific dependencies but no build commands. @@ -168,7 +168,7 @@ -I $(gcc_docdir)/include -o $@ $<; \ fi -@@ -3811,11 +3852,11 @@ install-driver: installdirs xgcc$(exeext) +@@ -3815,11 +3856,11 @@ install-driver: installdirs xgcc$(exeext) # $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir # to do the install. install-info:: doc installdirs \ @@ -185,7 +185,7 @@ lang.install-info $(DESTDIR)$(infodir)/%.info: doc/%.info installdirs -@@ -4054,8 +4095,11 @@ uninstall: lang.uninstall +@@ -4058,8 +4099,11 @@ uninstall: lang.uninstall -rm -rf $(DESTDIR)$(bindir)/$(GCOV_INSTALL_NAME)$(exeext) -rm -rf $(DESTDIR)$(man1dir)/$(GCC_INSTALL_NAME)$(man1ext) -rm -rf $(DESTDIR)$(man1dir)/cpp$(man1ext) @@ -239,10 +239,10 @@ @c %**end of header diff --git a/gcc/d/Make-lang.in b/gcc/d/Make-lang.in -index 4feebac982b..8a9ac65f8ab 100644 +index 1679fb81097..6845aa67d43 100644 --- a/gcc/d/Make-lang.in +++ b/gcc/d/Make-lang.in -@@ -246,10 +246,11 @@ D_TEXI_FILES = \ +@@ -247,10 +247,11 @@ D_TEXI_FILES = \ $(gcc_docdir)/include/gcc-common.texi \ gcc-vers.texi @@ -257,7 +257,7 @@ -I $(gcc_docdir)/include -o $@ $<; \ else true; fi -@@ -274,11 +275,11 @@ gdc.pod: d/gdc.texi +@@ -275,11 +276,11 @@ gdc.pod: d/gdc.texi d.all.cross: gdc-cross$(exeext) d.start.encap: gdc$(exeext) d.rest.encap: @@ -271,7 +271,7 @@ -cp -p $^ $(srcdir)/doc d.srcextra: -@@ -319,7 +320,7 @@ d.install-common: installdirs +@@ -320,7 +321,7 @@ d.install-common: installdirs d.install-plugin: @@ -280,7 +280,7 @@ d.install-pdf: doc/gdc.pdf @$(NORMAL_INSTALL) -@@ -369,7 +370,7 @@ d.uninstall: +@@ -370,7 +371,7 @@ d.uninstall: -rm -rf $(DESTDIR)$(bindir)/$(D_INSTALL_NAME)$(exeext) -rm -rf $(DESTDIR)$(man1dir)/$(D_INSTALL_NAME)$(man1ext) -rm -rf $(DESTDIR)$(bindir)/$(D_TARGET_INSTALL_NAME)$(exeext) @@ -303,7 +303,7 @@ @end format diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi -index 536167445ab..8afa4b2521e 100644 +index b0a2ce3ac6b..922a1c95181 100644 --- a/gcc/doc/cpp.texi +++ b/gcc/doc/cpp.texi @@ -50,7 +50,7 @@ This manual contains no Invariant Sections. The Front-Cover Texts are @@ -329,10 +329,10 @@ @end ifinfo diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi -index 1ae68b0f20a..b07b6c044da 100644 +index 3adb67aa47a..0fae318cade 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi -@@ -24497,7 +24497,7 @@ want to write code that checks whether these features are available, you can +@@ -24488,7 +24488,7 @@ want to write code that checks whether these features are available, you can test for the GNU compiler the same way as for C programs: check for a predefined macro @code{__GNUC__}. You can also use @code{__GNUG__} to test specifically for GNU C++ (@pxref{Common Predefined Macros,, @@ -342,10 +342,10 @@ @menu * C++ Volatiles:: What constitutes an access to a volatile object. diff --git a/gcc/doc/gcc.texi b/gcc/doc/gcc.texi -index 7019365429d..9d9cb743a2d 100644 +index b3d500d4f47..d58e57dd480 100644 --- a/gcc/doc/gcc.texi +++ b/gcc/doc/gcc.texi -@@ -63,12 +63,12 @@ Texts being (a) (see below), and with the Back-Cover Texts being (b) +@@ -70,12 +70,12 @@ Texts being (a) (see below), and with the Back-Cover Texts being (b) @ifnottex @dircategory Software development @direntry @@ -363,8 +363,8 @@ +* lto-dump: (@value{fngcc}) Lto-dump. @command{lto-dump}---Tool for dumping LTO object files. @end direntry - This file documents the use of the GNU compilers. -@@ -129,7 +129,7 @@ version @value{version-GCC}. + @sp 1 +@@ -135,7 +135,7 @@ version @value{version-GCC}. The internals of the GNU compilers, including how to port them to new targets and some information about how to write front ends for new languages, are documented in a separate manual. @xref{Top,, @@ -396,7 +396,7 @@ This manual is mainly a reference manual rather than a tutorial. It diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi -index 8ef5c1414da..b6c3dec7a60 100644 +index 63fc949b447..a5a1b01fc55 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -89,7 +89,7 @@ Free Documentation License}''. @@ -409,10 +409,10 @@ @c Part 3 Titlepage and Copyright diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi -index 04ca9d9b02b..92f6ba2bb67 100644 +index def2df4584b..e5385a6140f 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi -@@ -17687,7 +17687,7 @@ One of the standard libraries bypassed by @option{-nostdlib} and +@@ -17722,7 +17722,7 @@ One of the standard libraries bypassed by @option{-nostdlib} and @option{-nodefaultlibs} is @file{libgcc.a}, a library of internal subroutines which GCC uses to overcome shortcomings of particular machines, or special needs for some languages. @@ -421,7 +421,7 @@ Collection (GCC) Internals}, for more discussion of @file{libgcc.a}.) In most cases, you need @file{libgcc.a} even when you want to avoid -@@ -17696,7 +17696,7 @@ or @option{-nodefaultlibs} you should usually specify @option{-lgcc} as well. +@@ -17731,7 +17731,7 @@ or @option{-nodefaultlibs} you should usually specify @option{-lgcc} as well. This ensures that you have no unresolved references to internal GCC library subroutines. (An example of such an internal subroutine is @code{__main}, used to ensure C++ @@ -430,7 +430,7 @@ GNU Compiler Collection (GCC) Internals}.) @opindex nostdlib++ -@@ -35074,7 +35074,7 @@ Note that you can also specify places to search using options such as +@@ -35109,7 +35109,7 @@ Note that you can also specify places to search using options such as @option{-B}, @option{-I} and @option{-L} (@pxref{Directory Options}). These take precedence over places specified using environment variables, which in turn take precedence over those specified by the configuration of GCC@. @@ -439,7 +439,7 @@ GNU Compiler Collection (GCC) Internals}. @table @env -@@ -35254,7 +35254,7 @@ the headers it contains change. +@@ -35289,7 +35289,7 @@ the headers it contains change. A precompiled header file is searched for when @code{#include} is seen in the compilation. As it searches for the included file @@ -507,7 +507,7 @@ # # Clean hooks: diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi -index c483e13686d..d0c243de08c 100644 +index b96712987e1..55ed2a540c2 100644 --- a/gcc/fortran/gfortran.texi +++ b/gcc/fortran/gfortran.texi @@ -101,7 +101,7 @@ Texts being (a) (see below), and with the Back-Cover Texts being (b) @@ -668,7 +668,7 @@ # target overrides diff --git a/libgomp/libgomp.texi b/libgomp/libgomp.texi -index 1b6358db4dc..99726051c33 100644 +index 5bcb84a1d6f..60715911924 100644 --- a/libgomp/libgomp.texi +++ b/libgomp/libgomp.texi @@ -31,7 +31,7 @@ texts being (a) (see below), and with the Back-Cover Texts being (b)