Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2142816

Summary: addr2line from gcc-toolset-11-binutils having errors while compiling code using LTO and Dwarf5
Product: Red Hat Enterprise Linux 8 Reporter: Vikramsingh Patil <vikpatil>
Component: gcc-toolset-12-binutilsAssignee: yara ahmad <yahmad>
Status: CLOSED ERRATA QA Contact: Miloš Prchlík <mprchlik>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.6CC: casantos, fweimer, ganandan, mcermak, nickc, pfrankli, sipoyare, tminor, yahmad
Target Milestone: rcKeywords: Bugfix, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gcc-toolset-12-binutils-2.38-16.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-16 08:40:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vikramsingh Patil 2022-11-15 10:58:47 UTC
Description of problem:

addr2line from gcc-toolset-11-binutils having errors while compiling  code using LTO and Dwarf5 

Version-Release number of selected component (if applicable):
gcc-toolset-11-binutils-2.36.1-2.el8.x86_64
gcc-toolset-11-gcc-11.2.1-9.1.el8.x86_64

How reproducible:
Everytime

Steps to Reproduce:
1. Run below command.

--
echo 0x2eae60|/opt/rh/gcc-toolset-11/root/usr/bin/addr2line -C -f -e libCATAfrNavigator.so
--

2.
3.

Actual results:
/opt/rh/gcc-toolset-11/root/usr/bin/addr2line: DWARF error: invalid abstract instance DIE ref
CATFrmNavigGraphicWindow::~CATFrmNavigGraphicWindow() [clone .localalias]
:?

Expected results:
CATFrmNavigGraphicWindow::~CATFrmNavigGraphicWindow()
/mnt/data/RTVs/test/AfrNavigator/CATAfrNavigator_Window.m/src/CATFrmNavigGraphicWindow.cpp:604

Additional info:

It is seems to be related to below bug upstream.

https://sourceware.org/bugzilla/show_bug.cgi?id=27587

Comment 12 Nick Clifton 2023-01-24 11:28:23 UTC
Fixed in binutils-2.38-16.el8

Comment 13 Nick Clifton 2023-01-24 11:36:24 UTC
Sorry, fixed in: gcc-toolset-12-binutils-2.38-16.el8

Comment 21 errata-xmlrpc 2023-05-16 08:40:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: gcc-toolset-12-binutils security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:2873