Bug 1248744

Summary: RFE: disallow shared libraries linked with -ffast-math
Product: [Fedora] Fedora Reporter: Andy Lutomirski <luto>
Component: rpmlintAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dmalcolm, gabravier, ismail, jasonww, kevin, orion, rdieter, tcallawa, tmz, twoerner, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-15 18:36:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andy Lutomirski 2015-07-30 18:05:53 UTC
Linking anything with -ffast-math adds code that runs on load that reprograms the FPU for reduced accuracy.  This applies even to shared libraries, which means that merely loading a shared library linked with -ffast-math can break programs.

Please consider disallowing any shared library linked with -ffast-math in rpmlint.

See, for example, bug 1127544.

Comment 1 Rex Dieter 2018-02-15 18:36:56 UTC
This is more a policy-decision (ie, something for FESCo to consider), not something to be enforceable via any individual (ie, maintainer of rpmlint)