Bug 1778234 - Request For Comments: -Bsymbolic-functions in LDFLAGS by default
Summary: Request For Comments: -Bsymbolic-functions in LDFLAGS by default
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-rpm-config
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Florian Festi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-29 14:34 UTC by Paulo Andrade
Modified: 2019-12-03 14:42 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-12-03 14:42:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Paulo Andrade 2019-11-29 14:34:29 UTC
This bug report is only an initial attempt to get some feedback on this
issue.

  Ubuntu by default has this for quite some time:

$ dpkg-buildflags --get LDFLAGS
-Wl,-Bsymbolic-functions -Wl,-z,relro

  Searching around, there are very few cases of regressions, while most times,
it is caused by bad or broken code, the valid cases where it is not beneficial
are patched to not use it.

  Other than preventing issues with symbols from one library interfering or
clashing with symbols from another, it also have a nice side effect of
significantly reducing relocations.

Comment 1 Panu Matilainen 2019-12-03 14:42:07 UTC
You need to submit a Fedora change proposal for such a change, that is *the* way to get all the relevant parties involved.

We can reopen this for tracking the actual state if the proposal gets accepted.


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