Bug 1248744 - RFE: disallow shared libraries linked with -ffast-math
Summary: RFE: disallow shared libraries linked with -ffast-math
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmlint
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-30 18:05 UTC by Andy Lutomirski
Modified: 2022-09-12 05:29 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-02-15 18:36:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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)


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