Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
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
Doc Type: If docs needed, set a value
Doc Text:
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.