public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/blake3] epel10: Use `gcc-toolset-14` on EL8 and EL9
@ 2026-08-12 21:59 Christoph Erhardt
0 siblings, 0 replies; only message in thread
From: Christoph Erhardt @ 2026-08-12 21:59 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/blake3
Branch : epel10
Commit : 9d845b3ebe94d7822d0d88f44b913958fc2b4a74
Author : Christoph Erhardt <fedora@sicherha.de>
Date : 2026-01-09T11:45:12+01:00
Stats : +7/-13 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/blake3/c/9d845b3ebe94d7822d0d88f44b913958fc2b4a74?branch=epel10
Log:
Use `gcc-toolset-14` on EL8 and EL9
[skip changelog]
---
diff --git a/blake3.spec b/blake3.spec
index 350a891..ac3938c 100644
--- a/blake3.spec
+++ b/blake3.spec
@@ -1,7 +1,8 @@
-# EL8 and EL9 require `gcc-toolset-13` as build dependency.
+# EL8 and EL9 require `gcc-toolset-14` as build dependency.
# * On EL8, Binutils 2.30 do not support the `vmovdqu` AVX-512 instruction.
# * On EL8 and EL9, GCC 8.5.0/11.4.1 generates ultra-slow test code for aarch64.
# * When building with `gcc-toolset-12`, the `gcc-annobin` plugin is not found.
+# * With `gcc-toolset-13`, the AVX-512 test segfaults when ASAN is enabled.
%global needs_gcc_toolset 0%{?el8} || 0%{?el9}
%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10
@@ -21,9 +22,9 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake
%if %{needs_gcc_toolset}
-BuildRequires: gcc-toolset-13
-BuildRequires: gcc-toolset-13-libasan-devel
-BuildRequires: gcc-toolset-13-libubsan-devel
+BuildRequires: gcc-toolset-14
+BuildRequires: gcc-toolset-14-libasan-devel
+BuildRequires: gcc-toolset-14-libubsan-devel
%else
BuildRequires: gcc
BuildRequires: libasan
@@ -66,7 +67,7 @@ Development files for the %{name} library.
export ASMFLAGS="%{build_cflags}"
%if %{needs_gcc_toolset}
-. /opt/rh/gcc-toolset-13/enable
+. /opt/rh/gcc-toolset-14/enable
%endif
cd c
%cmake \
@@ -80,20 +81,13 @@ cd c
# These make-flag definitions are only used locally
%ifnarch x86_64
%define non_x86_64_flags BLAKE3_NO_SSE2=1 BLAKE3_NO_SSE41=1 BLAKE3_NO_AVX2=1 BLAKE3_NO_AVX512=1
-%else
-%if %{needs_gcc_toolset}
-# Do not run the AVX-512 test because it segfaults when instrumented with ASAN
-# (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110027 - fixed upstream, but
-# `gcc-toolset-13` does not include the fix)
-%define non_x86_64_flags BLAKE3_NO_AVX512=1
-%endif
%endif
%ifarch %{arm32} aarch64
%define arm_flags %{?flags} BLAKE3_USE_NEON=1
%endif
%if %{needs_gcc_toolset}
-. /opt/rh/gcc-toolset-13/enable
+. /opt/rh/gcc-toolset-14/enable
%endif
cd c
%make_build %{?non_x86_64_flags} %{?arm_flags} -f Makefile.testing test
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-12 21:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-12 21:59 [rpms/blake3] epel10: Use `gcc-toolset-14` on EL8 and EL9 Christoph Erhardt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox