Bug 1248744 - RFE: disallow shared libraries linked with -ffast-math
RFE: disallow shared libraries linked with -ffast-math
Product: Fedora
Classification: Fedora
Component: rpmlint (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Tom "spot" Callaway
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-07-30 14:05 EDT by Andy Lutomirski
Modified: 2018-02-15 13:36 EST (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2018-02-15 13:36:56 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Andy Lutomirski 2015-07-30 14:05:53 EDT
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 13:36:56 EST
This is more a policy-decision (ie, something for FESCo to consider), not something to be enforceable via any individual (ie, maintainer of rpmlint)

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