From 3c3493dc40ebbd784fb8b74e24bdd535420216a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 24 Oct 2023 12:21:00 +0200 Subject: [PATCH 1/3] Docs: Fix a typo in %global build_type_safety_c --- buildflags.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildflags.md b/buildflags.md index 6252cb6..1a13c60 100644 --- a/buildflags.md +++ b/buildflags.md @@ -131,7 +131,7 @@ a construct like this to avoid *lowering* a future default: ``` %if %build_type_safety_c < 2 -%global %build_type_safety_c 2 +%global build_type_safety_c 2 %endif ``` From a65dee421c05707d6aaaed30ea5e19278422ea58 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 3 Nov 2023 13:51:14 -0400 Subject: [PATCH 2/3] ELN: Enable frame pointers for RHEL 11+ This will be active during the initial years of ELN development tracking RHEL 11. It may be reverted in the final Fedora cycle prior to branching if RHEL management decides to do so. See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/ODSVQKC2HHO5W3JD63DW3C53DG5WATUA/ for details. Signed-off-by: Stephen Gallagher --- macros | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/macros b/macros index 46ff156..0e75747 100644 --- a/macros +++ b/macros @@ -350,10 +350,12 @@ for k,_ in pairs(stripped_flags) do print(k .. " ") end # to move the annobin notes into the separate debuginfo file. %_find_debuginfo_extra_opts %{?_annotated_build:--remove-section .gnu.build.attributes} -# Include frame pointer information by default, except on RHEL +# Include frame pointer information by default, except on RHEL 10 and earlier +# On RHEL 11, we are enabling it for now, with the possibility of revoking it +# at a later date. # https://fedoraproject.org/wiki/Changes/fno-omit-frame-pointer # Use "%undefine _include_frame_pointers" to disable. -%_include_frame_pointers %{undefined rhel} +%_include_frame_pointers %{undefined rhel} || 0%{?rhel} >= 11 %_frame_pointers_cflags %{expr:0%{?_include_frame_pointers} ? "-fno-omit-frame-pointer" : ""} %_frame_pointers_cflags_x86_64 %{expr:0%{?_include_frame_pointers} ? "-mno-omit-leaf-frame-pointer" : ""} %_frame_pointers_cflags_aarch64 %{expr:0%{?_include_frame_pointers} ? "-mno-omit-leaf-frame-pointer" : ""} From 9446afdb0ad7aca487984f617803ad2172d85918 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Fri, 3 Nov 2023 17:44:18 -0400 Subject: [PATCH 3/3] Bump release and add changelog entry --- redhat-rpm-config.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index 5764e68..62241d0 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -4,7 +4,7 @@ # 2) When making changes, increment the version (in baserelease) by 1. # rpmdev-bumpspec and other tools update the macro below, which is used # in Version: to get the desired effect. -%global baserelease 270 +%global baserelease 271 Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config @@ -255,6 +255,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora common.lua %doc buildflags.md %changelog +* Fri Nov 03 2023 Stephen Gallagher - 271-1 +- ELN: Enable frame pointers for RHEL 11+ (for now) + * Thu Oct 5 2023 Florian Weimer - 270-1 - Disable -fstack-clash-protection on riscv64 (#2242327)