From 1886674cff1f293ee2613f15922611fffbfd59d3 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Fri, 6 Jun 2025 12:55:20 -0400 Subject: [PATCH] Harmonize with c10s Resolves: RHEL-95564 --- gcc-toolset-15-gcc.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc-toolset-15-gcc.spec b/gcc-toolset-15-gcc.spec index 2ae99d1..d701117 100644 --- a/gcc-toolset-15-gcc.spec +++ b/gcc-toolset-15-gcc.spec @@ -605,7 +605,11 @@ which is used for -fsanitize=address instrumented programs. %package -n %{?scl_prefix}libasan-devel Summary: The Address Sanitizer static library +%if 0%{?rhel} < 10 Requires: libasan8%{_isa} >= 12.1.1 +%else +Requires: libasan%{_isa} >= 14.2.1 +%endif Obsoletes: libasan5 <= 8.3.1 %description -n %{?scl_prefix}libasan-devel @@ -620,7 +624,7 @@ which is used for -fsanitize=hwaddress instrumented programs. %package -n %{?scl_prefix}libhwasan-devel Summary: The Hardware-assisted Address Sanitizer static library -Requires: libhwasan >= 13.1.1 +Requires: libhwasan >= 14.2.1 %description -n %{?scl_prefix}libhwasan-devel This package contains Hardware-assisted Address Sanitizer static runtime @@ -635,7 +639,11 @@ which is used for -fsanitize=thread instrumented programs. %package -n %{?scl_prefix}libtsan-devel Summary: The Thread Sanitizer static library +%if 0%{?rhel} < 10 Requires: libtsan2%{_isa} >= 12.1.1 +%else +Requires: libtsan%{_isa} >= 14.2.1 +%endif %description -n %{?scl_prefix}libtsan-devel This package contains Thread Sanitizer static runtime library.