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 1527905 - gcc: Link libgcc with BIND_NOW
Summary: gcc: Link libgcc with BIND_NOW
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gcc
Version: 7.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Marek Polacek
QA Contact: Michael Petlan
URL:
Whiteboard:
Depends On: 1527903
Blocks: Fedora28BuildFlags 1527904
TreeView+ depends on / blocked
 
Reported: 2017-12-20 12:28 UTC by Florian Weimer
Modified: 2018-11-13 19:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1527903
Environment:
Last Closed: 2018-11-13 19:25:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Florian Weimer 2017-12-20 12:28:27 UTC
+++ This bug was initially created as a clone of Bug #1527903 +++

Bug 1527887 shows that PTHREAD_STACK_MIN is really low on x86-64 and cannot accomodate both a signal handler frame, the libgcc unwinder, and an ld.so trampoline on AVX-512 (where the XSAVE area is around 2.5 KiB, and it is needed twice).

We can immediately free around 2.5 KiB if we link libgcc with BIND_NOW, so that no trampoline is needed at run time.  Linking libgcc with BIND_NOW is desirable hardening, too.


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