public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Rajeev Shrestha <rajeev.shrestha@usm.edu>
To: git-commits@fedoraproject.org
Subject: [rpms/zstd] f45: Pass build flags to the assembler so libzstd keeps IBT/SHSTK markings
Date: Tue, 24 Nov 2026 20:56:40 GMT [thread overview]
Message-ID: <179555380032.1.3363246997939831508.rpms-zstd-4e2944c9b5d5@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/zstd
Branch : f45
Commit : 4e2944c9b5d53b499ddd77bdbacefd1545965f21
Author : Rajeev Shrestha <rajeev.shrestha@usm.edu>
Date : 2026-11-22T23:05:27-06:00
Stats : +5/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/zstd/c/4e2944c9b5d53b499ddd77bdbacefd1545965f21?branch=f45
Log:
Pass build flags to the assembler so libzstd keeps IBT/SHSTK markings
CMake builds lib/decompress/huf_decompress_amd64.S as ASM, which reads
ASMFLAGS rather than CFLAGS, so the file was compiled without
-fcf-protection and the linker dropped the x86 IBT/SHSTK property from
libzstd.so.1. Regressed in 1.5.7-3 with the switch to CMake.
Resolves: rhbz#2581510
Assisted-by: Claude
---
diff --git a/zstd.spec b/zstd.spec
index 5ad4502..0517d13 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -18,7 +18,7 @@
Name: zstd
Version: 1.5.7
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Zstd compression library
License: BSD-3-Clause OR GPL-2.0-only
@@ -74,6 +74,7 @@ find -name .gitignore -delete
%patch 1 -p1
%build
+export ASMFLAGS="%{build_cflags}"
%if !%{with asm}
export CPPFLAGS=-DZSTD_DISABLE_ASM
%endif
@@ -146,6 +147,9 @@ make PZSTD_CXX_STD=-std=c++17 -C contrib/pzstd tests check
%ldconfig_scriptlets -n lib%{name}
%changelog
+* Sun Nov 22 2026 Rajeev Shrestha <rajeev.shrestha@usm.edu> - 1.5.7-7
+- Pass build flags to the assembler so libzstd keeps IBT/SHSTK markings (rhbz#2581510)
+
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.7-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
reply other threads:[~2026-11-24 20:56 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=179555380032.1.3363246997939831508.rpms-zstd-4e2944c9b5d5@fedoraproject.org \
--to=rajeev.shrestha@usm.edu \
--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