|
|
|
@ -11,10 +11,14 @@
|
|
|
|
|
# Turn off the brp-python-bytecompile automagic
|
|
|
|
|
%global _python_bytecompile_extra 0
|
|
|
|
|
|
|
|
|
|
# GTS magic sauce.
|
|
|
|
|
# GTS magic sauce. On GTS N (N >= 13), we always build using
|
|
|
|
|
# the system compiler and elfutils.
|
|
|
|
|
#
|
|
|
|
|
# For testing, we use the GTS (N-1) compiler and the system valgrind/elfutils.
|
|
|
|
|
|
|
|
|
|
%{?scl_package:%global scl gcc-toolset-13}
|
|
|
|
|
%global scl_prefix gcc-toolset-13-
|
|
|
|
|
%global scl_testing_prefix gcc-toolset-12-
|
|
|
|
|
%global scl_testing_cc_prefix gcc-toolset-12-
|
|
|
|
|
BuildRequires: scl-utils-build
|
|
|
|
|
|
|
|
|
|
# Only build on x86 for RHEL6 SCL, defining missing parallel make macros.
|
|
|
|
@ -69,7 +73,7 @@ Version: 12.1
|
|
|
|
|
|
|
|
|
|
# The release always contains a leading reserved number, start it at 1.
|
|
|
|
|
# `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
|
|
|
|
|
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL
|
|
|
|
|
# Do not provide URL for snapshots as the file lasts there only for 2 days.
|
|
|
|
@ -318,7 +322,7 @@ BuildRequires: elfutils-debuginfod-client-devel
|
|
|
|
|
%if 0%{!?el6:1} && 0%{?scl:1}
|
|
|
|
|
%global have_debuginfod 1
|
|
|
|
|
%global use_scl_for_debuginfod 1
|
|
|
|
|
BuildRequires: %{?scl_prefix}elfutils-debuginfod-client-devel
|
|
|
|
|
BuildRequires: elfutils-debuginfod-client-devel
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@ -347,14 +351,14 @@ BuildRequires: boost-devel
|
|
|
|
|
BuildRequires: sharutils dejagnu
|
|
|
|
|
# gcc-objc++ is not covered by the GDB testsuite.
|
|
|
|
|
# Test supported SCL toolchain components.
|
|
|
|
|
BuildRequires: %{?scl_testing_prefix}gcc %{?scl_testing_prefix}gcc-c++ %{?scl_testing_prefix}gcc-gfortran
|
|
|
|
|
BuildRequires: %{?scl_testing_cc_prefix}gcc %{?scl_testing_cc_prefix}gcc-c++ %{?scl_testing_cc_prefix}gcc-gfortran
|
|
|
|
|
|
|
|
|
|
%if 0%{!?rhel:1} || 0%{?rhel} < 8
|
|
|
|
|
BuildRequires: gcc-objc
|
|
|
|
|
%endif
|
|
|
|
|
# We don't support gcc-gdb-plugin on RHEL anymore.
|
|
|
|
|
%if 0%{!?rhel:1}
|
|
|
|
|
BuildRequires: %{?scl_testing_prefix}gcc-gdb-plugin%{?_isa}
|
|
|
|
|
BuildRequires: gcc-gdb-plugin%{?_isa}
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?rhel:1} && 0%{?rhel} < 7
|
|
|
|
|
BuildRequires: gcc-java libgcj%{bits_local} libgcj%{bits_other}
|
|
|
|
@ -424,12 +428,12 @@ BuildRequires: libquadmath%{bits_local} libquadmath%{bits_other}
|
|
|
|
|
BuildRequires: glibc-static%{bits_other}
|
|
|
|
|
%endif
|
|
|
|
|
%ifarch s390x
|
|
|
|
|
BuildRequires: %{?scl_testing_preifx}valgrind%{bits_local}
|
|
|
|
|
BuildRequires: valgrind%{bits_local}
|
|
|
|
|
%if 0%{!?rhel:1} || 0%{?rhel} > 7
|
|
|
|
|
BuildRequires: %{?scl_testing_prefix}valgrind%{bits_local} valgrind%{bits_other}
|
|
|
|
|
BuildRequires: valgrind%{bits_local} valgrind%{bits_other}
|
|
|
|
|
%endif
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: %{?scl_testing_prefix}valgrind%{bits_local} valgrind%{bits_other}
|
|
|
|
|
BuildRequires: valgrind%{bits_local} valgrind%{bits_other}
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{!?rhel:1} || 0%{?rhel} > 6
|
|
|
|
|
BuildRequires: xz
|
|
|
|
@ -438,7 +442,7 @@ BuildRequires: xz
|
|
|
|
|
BuildRequires: rust
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{!?el6:1}
|
|
|
|
|
BuildRequires: %{?scl_testing_prefix}elfutils-debuginfod
|
|
|
|
|
BuildRequires: elfutils-debuginfod
|
|
|
|
|
%endif
|
|
|
|
|
%endif # 0%{?_with_testsuite:1}
|
|
|
|
|
BuildRequires: make gmp-devel
|
|
|
|
@ -1201,6 +1205,15 @@ fi
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Oct 30 2023 Guinevere Larsen <blarsen@redhat.com> - 12.1-5.el9
|
|
|
|
|
- Fix issue introduced when backporting the recursion limit to the rust demangler.
|
|
|
|
|
|
|
|
|
|
* Tue Oct 10 2023 Guinevere Larsen <blarsen@redhat.com> - 12.1-4.el9
|
|
|
|
|
- Backport "Fix typo in recent code to add stack recursion limit to the Rust demangler."
|
|
|
|
|
(Nick Clifton)
|
|
|
|
|
- Backport "Add a recursion limit to the demangle_const function in the Rust demangler."
|
|
|
|
|
(Nick Clifton, RHEL-4234)
|
|
|
|
|
|
|
|
|
|
* Tue Jun 13 2023 Keith Seitz <keiths@redhat.com> - 12.1-3.el9
|
|
|
|
|
- Backport "Update gdb-add-index.sh ..."
|
|
|
|
|
(Andrew Burgess, RHBZ 2213228)
|
|
|
|
|