Accepting request 1077145 from devel:gcc
OBS-URL: https://build.opensuse.org/request/show/1077145 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gcc13?expand=0&rev=7
This commit is contained in:
commit
29063422f1
@ -29,4 +29,5 @@
|
||||
<flavor>cross-rx-gcc13</flavor>
|
||||
<flavor>cross-nvptx-gcc13</flavor>
|
||||
<flavor>cross-amdgcn-gcc13</flavor>
|
||||
<flavor>cross-bpf-gcc13</flavor>
|
||||
</multibuild>
|
||||
|
@ -124,6 +124,7 @@ fi
|
||||
# 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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -881,7 +894,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
1011
cross-bpf-gcc13.spec
Normal file
1011
cross-bpf-gcc13.spec
Normal file
File diff suppressed because it is too large
Load Diff
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -881,7 +894,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -881,7 +894,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -881,7 +894,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -881,7 +894,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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 @@ Name: %{pkgname}
|
||||
%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: bison
|
||||
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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
@ -880,7 +893,7 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -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: bison
|
||||
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 @@ for ex in gcc cpp \
|
||||
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 @@ done
|
||||
--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 @@ fi
|
||||
%{_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 @@ fi
|
||||
%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
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d6f49d843a81380b39ef5bff764621814e2431a8ea960a29648236a2667978c7
|
||||
size 87941824
|
3
gcc-13.0.1+git6995.tar.xz
Normal file
3
gcc-13.0.1+git6995.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:05282b954dedf852f8c639adbc9e34f6f4f11914235161ef04d5bf6dfd82ea79
|
||||
size 88317328
|
16
gcc.spec.in
16
gcc.spec.in
@ -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 @@ BuildRequires: texinfo
|
||||
# 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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
|
@ -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 @@ BuildRequires: texinfo
|
||||
# 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 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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 @@ amdgcn-amdhsa,\
|
||||
--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 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
|
@ -1,7 +1,35 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 14 18:27:43 UTC 2023 - Martin Liška <mliska@suse.cz>
|
||||
Tue Apr 4 07:02:21 UTC 2023 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Bump to 42630fadbe248717859d61c0244c821c32b4e52c, git6669.
|
||||
- Bump to d0b961b802dd7d9d555ff4515835a479329326e9, git6995.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 24 14:44:48 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Add %limit_build for gcc13 to avoid OOM
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 24 13:37:38 UTC 2023 - Martin Liška <mliska@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 <mliska@suse.cz>
|
||||
|
||||
- Bump to c4792bd1de0621932a47fb86aca09fafafdb2972, git6840.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 21 10:45:33 UTC 2023 - Richard Biener <rguenther@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 <mliska@suse.cz>
|
||||
|
||||
- Bump to 5f413dc41ee4f8bc3a0fc295f98b75dceae52fa8, git6773.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 27 10:25:35 UTC 2023 - Richard Biener <rguenther@suse.com>
|
||||
|
16
gcc13.spec
16
gcc13.spec
@ -126,6 +126,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
|
||||
@ -201,7 +204,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/+/-/')
|
||||
@ -224,6 +227,9 @@ BuildRequires: texinfo
|
||||
# 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
|
||||
@ -2361,6 +2367,9 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
#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
|
||||
@ -2591,6 +2600,9 @@ amdgcn-amdhsa,\
|
||||
--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 \
|
||||
@ -2725,7 +2737,7 @@ amdgcn-amdhsa,\
|
||||
%else
|
||||
--disable-bootstrap \
|
||||
%endif
|
||||
--enable-link-mutex \
|
||||
--enable-link-serialization \
|
||||
$CONFARGS \
|
||||
--build=%{GCCDIST} \
|
||||
--host=%{GCCDIST} || \
|
||||
|
@ -84,10 +84,10 @@ gcc/java/ChangeLog:
|
||||
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 @@ index 6001c9e3b55..3dd359b63fe 100644
|
||||
|
||||
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 @@ index 6001c9e3b55..3dd359b63fe 100644
|
||||
-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 @@ index 6001c9e3b55..3dd359b63fe 100644
|
||||
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 @@ index a1daff92fbe..514931ec139 100644
|
||||
|
||||
@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 @@ index 4feebac982b..8a9ac65f8ab 100644
|
||||
-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 @@ index 4feebac982b..8a9ac65f8ab 100644
|
||||
-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 @@ index 4feebac982b..8a9ac65f8ab 100644
|
||||
|
||||
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 @@ index 24b6ee00478..1a35bb099e6 100644
|
||||
@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 @@ index a8ddb5c190e..e8fe1fcf2d8 100644
|
||||
@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 @@ index 1ae68b0f20a..b07b6c044da 100644
|
||||
@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 @@ index 7019365429d..9d9cb743a2d 100644
|
||||
+* 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 @@ index 33cf7fdafce..8c76bf8a0c6 100644
|
||||
|
||||
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 @@ index 8ef5c1414da..b6c3dec7a60 100644
|
||||
|
||||
@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 @@ index 04ca9d9b02b..92f6ba2bb67 100644
|
||||
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 @@ index 04ca9d9b02b..92f6ba2bb67 100644
|
||||
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 @@ index 04ca9d9b02b..92f6ba2bb67 100644
|
||||
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 @@ index 1666fd8f0ff..96ec8861a3d 100644
|
||||
#
|
||||
# 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 @@ index 2c81ccacc1d..0fb67876733 100644
|
||||
|
||||
# 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)
|
||||
|
Loading…
Reference in New Issue
Block a user