diff --git a/gcc.spec b/gcc.spec index 0a59dc7..7632dfe 100644 --- a/gcc.spec +++ b/gcc.spec @@ -204,7 +204,12 @@ URL: http://gcc.gnu.org # Need binutils which support .loc view >= 2.30 # Need binutils which support --generate-missing-build-notes=yes >= 2.31 BuildRequires: %{?scl_prefix}binutils >= 2.31 +# For VTA guality testing +%if 0%{?rhel} >= 9 +BuildRequires: gdb >= 7.4.50 +%else BuildRequires: %{?scl_prefix}gdb >= 7.4.50 +%endif # While gcc doesn't include statically linked binaries, during testing # -static is used several times. BuildRequires: glibc-static @@ -214,8 +219,6 @@ BuildRequires: texinfo, texinfo-tex, /usr/bin/pod2man #BuildRequires: gmp-devel >= 4.1.2-8, mpfr-devel >= 3.1.0, libmpc-devel >= 0.8.1 #BuildRequires: python3-devel, /usr/bin/python BuildRequires: gcc, gcc-c++, make -# For VTA guality testing -BuildRequires: gdb # Make sure pthread.h doesn't contain __thread tokens # Make sure glibc supports stack protector # Make sure glibc supports DT_GNU_HASH