I noticed this in the RHEL 8.7 beta release notes: "GCC 12 and later supports _FORTIFY_SOURCE level 3 (rhbz#2033684)" And Pascal found this link, describing the benefits and implications: https://developers.redhat.com/articles/2022/09/17/gccs-new-fortification-level Our default fortify cflags are set in /usr/lib/rpm/mageia/macros in rpm-mageia-setup: %_fortify_cflags -Wp,-D_FORTIFY_SOURCE=2 After Cauldron opens for Mageia 10 development, we should set the value to 3.
"Mageia 10" target not yet available in Bugzilla, but will set that when it is.
Target Milestone: --- => Mageia 10
Hoping base system is the best place to lodge this, as Thomas has already commented it.
Assignee: bugsquad => basesystem
commit fc851c8f574799c42ec7b5505a005bdbf575c47f Author: Jani Välimaa <wally@...> Date: Wed Apr 10 20:33:06 2024 +0300 macros: use -D_FORTIFY_SOURCE=3 by default (mga#30920) --- Commit Link: https://gitweb.mageia.org/software/rpm/rpm-setup/commit/?id=fc851c8f574799c42ec7b5505a005bdbf575c47f
Fixed with rpm-mageia-setup-2.78-1.mga10.
Status: NEW => RESOLVEDResolution: (none) => FIXEDCC: (none) => jani.valimaa