Bug 2161385 - ceph: Use %_fortify_level to disable fortification
Summary: ceph: Use %_fortify_level to disable fortification
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ceph
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kaleb KEITHLEY
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2158232
TreeView+ depends on / blocked
 
Reported: 2023-01-16 19:12 UTC by Siddhesh Poyarekar
Modified: 2023-01-24 22:26 UTC (History)
9 users (show)

Fixed In Version: ceph-17.2.5-6
Clone Of:
Environment:
Last Closed: 2023-01-24 22:26:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 58519 0 None None None 2023-01-20 12:37:41 UTC

Description Siddhesh Poyarekar 2023-01-16 19:12:43 UTC
Description of problem:
Instead of twiddling CFLAGS, use the %_fortify_level macro instead, see "Fortification level" in the build flags guide:

https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/buildflags.md#source-fortification

To disable fortification, simply undefine the %_fortify_level macro:

%undefine _fortify_level

Comment 1 Kaleb KEITHLEY 2023-01-24 22:26:41 UTC
fixed in 17.2.5-6 in f38/rawhide


Note You need to log in before you can comment on or make changes to this bug.