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 1548847 - gcc: Generate unwind tables by default on ppc64, ppc64le
Summary: gcc: Generate unwind tables by default on ppc64, ppc64le
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1548498 1550914
TreeView+ depends on / blocked
 
Reported: 2018-02-25 13:19 UTC by Florian Weimer
Modified: 2018-05-02 09:50 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1548498
Environment:
Last Closed: 2018-05-02 09:50:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1536431 0 unspecified CLOSED redhat-rpm-config: Be more explicit about -fasynchronous-unwind-tables 2022-05-16 11:32:56 UTC

Internal Links: 1536431

Description Florian Weimer 2018-02-25 13:19:53 UTC
It has been suggested that we need (synchronous) unwind tables on POWER.  The elfutils testsuite fails without them.

In general, we get them for most packages because we compile with -fexceptions.  But some parts of glibc are compiled without that, and they do not receive any unwind tables at all.

POWER doesn't need asynchronous unwind tables, but I suggest to patch gcc (like we do for aarch64) so that it generates, by default, the unwind tables our tools expected.

Comment 1 Florian Weimer 2018-02-28 11:16:57 UTC
I have put a redhat-rpm-config workaround into rawhide (f28 will follow), but the GCC defaults really should align with the flags in redhat-rpm-config in this area IMHO.

Comment 2 Mark Wielaard 2018-03-01 17:34:00 UTC
This seems to work fine for both rawhide and f28, but it looks like we also need it in f27.

Comment 3 Florian Weimer 2018-05-02 09:50:04 UTC
Upstream has:

2018-04-10  Segher Boessenkool  <segher.org>

        * common/config/rs6000/rs6000-common.c (rs6000_option_init_struct):
        Enable -fasynchronous-unwind-tables by default if OBJECT_FORMAT_ELF.

I'm not sure which Fedora package release contains the change, but it's been committed upstream before the GCC 8 branch was created, so Fedora 28 and rawhide will eventually receive this change.

I will update redhat-rpm-config accordingly.


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