public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Christoph Erhardt <fedora@sicherha.de>
To: git-commits@fedoraproject.org
Subject: [rpms/blake3] epel10: Update to 1.8.3 (#2428092)
Date: Wed, 12 Aug 2026 21:59:49 GMT [thread overview]
Message-ID: <178657198909.1.15691253326161583870.rpms-blake3-f50f34a78d76@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/blake3
Branch : epel10
Commit : f50f34a78d76109c241258a26f48e8bacface336
Author : Christoph Erhardt <fedora@sicherha.de>
Date : 2026-01-09T11:46:19+01:00
Stats : +62/-2 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/blake3/c/f50f34a78d76109c241258a26f48e8bacface336?branch=epel10
Log:
Update to 1.8.3 (#2428092)
---
diff --git a/0001-Fix-building-the-test-application-on-non-x86-machine.patch b/0001-Fix-building-the-test-application-on-non-x86-machine.patch
new file mode 100644
index 0000000..c6ba0ca
--- /dev/null
+++ b/0001-Fix-building-the-test-application-on-non-x86-machine.patch
@@ -0,0 +1,56 @@
+From b78a5c52ea0161ba6e16302b15ba939971174e2f Mon Sep 17 00:00:00 2001
+Message-ID: <b78a5c52ea0161ba6e16302b15ba939971174e2f.1767954829.git.github@sicherha.de>
+From: Christoph Erhardt <github@sicherha.de>
+Date: Fri, 9 Jan 2026 10:45:25 +0100
+Subject: [PATCH] Fix building the test application on non-x86 machines
+
+On anything other than x86, `make -f Makefile.testing` fails due to
+undefined symbols:
+```
+/usr/bin/ld: /tmp/ccojePfa.o: in function `main':
+main.c:(.text.startup+0x758): undefined reference to `get_cpu_features'
+/usr/bin/ld: main.c:(.text.startup+0x75c): undefined reference to
+`g_cpu_features'
+/usr/bin/ld: main.c:(.text.startup+0x760): undefined reference to
+`g_cpu_features'
+/usr/bin/ld: main.c:(.text.startup+0xcfc): undefined reference to
+`g_cpu_features'
+/usr/bin/ld: main.c:(.text.startup+0xd00): undefined reference to
+`g_cpu_features'
+collect2: error: ld returned 1 exit status
+make: *** [Makefile.testing:50: all] Error 1
+```
+
+The regression was introduced by commit
+34d293eb2aa75005406d8a7d78687896f714e89a.
+
+Here is how the two affected symbols, `g_cpu_features` and
+`get_cpu_features()`, are used in the different configurations.
+
+| `IS_X86` | `BLAKE3_TESTING` | Use of symbols |
+| :------: | :--------------: | ------------------- |
+| X | | internal |
+| X | X | internal & external |
+| | | N/A |
+| | X | external |
+---
+ c/blake3_dispatch.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/c/blake3_dispatch.c b/c/blake3_dispatch.c
+index 14dfbbe..de993ed 100644
+--- a/c/blake3_dispatch.c
++++ b/c/blake3_dispatch.c
+@@ -89,6 +89,9 @@ static void cpuidex(uint32_t out[4], uint32_t id, uint32_t sid) {
+ #endif
+ }
+
++#endif
++
++#if defined(IS_X86) || defined(BLAKE3_TESTING)
+
+ enum cpu_feature {
+ SSE2 = 1 << 0,
+--
+2.52.0
+
diff --git a/blake3.spec b/blake3.spec
index ac3938c..283dfb4 100644
--- a/blake3.spec
+++ b/blake3.spec
@@ -12,7 +12,7 @@
%endif
Name: blake3
-Version: 1.8.2
+Version: 1.8.3
Release: %autorelease
Summary: Official C implementation of the BLAKE3 cryptographic hash function
@@ -20,6 +20,10 @@ License: Apache-2.0
URL: https://github.com/BLAKE3-team/BLAKE3/
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
+# Fix building the test application on non-x86 machines:
+# https://github.com/BLAKE3-team/BLAKE3/pull/539
+Patch0: 0001-Fix-building-the-test-application-on-non-x86-machine.patch
+
BuildRequires: cmake
%if %{needs_gcc_toolset}
BuildRequires: gcc-toolset-14
diff --git a/sources b/sources
index a493c25..31566d1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (blake3-1.8.2.tar.gz) = 5832d15373a0ec224e3c8dc86e1540e9246efbdf8db88fc2cce8924552f632532d9b74eeb15e1d31e3f13676656b5230d009151b4c57eb9d84224a9e385ba839
+SHA512 (blake3-1.8.3.tar.gz) = d0861c3c0294d84a46a3760e5e51734f4040036aa74d72d32242adb9311c0f85f580c17fbee9ca17dc2b3818ff68048b3156a19b8d11fe5c459c5e9266709fb9
reply other threads:[~2026-08-12 21:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178657198909.1.15691253326161583870.rpms-blake3-f50f34a78d76@fedoraproject.org \
--to=fedora@sicherha.de \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox