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 1768593

Summary: GDB needs s390x arch13 binutils patches
Product: Red Hat Enterprise Linux 8 Reporter: Keith Seitz <keiths>
Component: gdbAssignee: Keith Seitz <keiths>
gdb sub component: system-version QA Contact: Michal Kolar <mkolar>
Status: CLOSED ERRATA Docs Contact: Oss Tikhomirova <otikhomi>
Severity: high    
Priority: unspecified CC: bugproxy, dsmith, gdb-bugs, hannsj_uhl, mcermak, ohudlick, otikhomi, tstaudt
Version: 8.2Keywords: OtherQA, Patch, Triaged
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.2   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
.GDB now supports the ARCH(13) extension on the IBM Z architecture With this enhancement, the GNU Debugger (GDB) now supports the new instructions implemented by the ARCH(13) extension on the IBM Z architecture.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 15:42:21 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:
Bug Depends On:    
Bug Blocks: 1659535, 1711971, 1776957    

Description Keith Seitz 2019-11-04 18:58:38 UTC
Description of problem:
GDB's internal copy of binutils (bfd, opcodes) needs patches to support arch13 on s390x. As it is today, objdump can disassemble code that gdb cannot.

Version-Release number of selected component (if applicable):
gdb-8.2-6

The needed commits (from bug 1659535):

commit 40f382e88d0391ffaa4098c92cbf339a7924a629
Author: Andreas Krebbel <krebbel.com>
Date:   Tue Mar 12 14:09:55 2019 +0100

S/390: arch13: Adjust to recent changes

This patch is a non-functional change but still desirable for sake of
completeness.

commit ba354106f02e25c9adc3dc1364d6a974216ec94e
Author: Andreas Krebbel <krebbel.com>
Date:   Tue Mar 12 14:09:55 2019 +0100

S/390: arch13: Add instruction descriptions

commit 126b2985ce48d879c9d829b2245e4f00d05a6a74
Author: Andreas Krebbel <krebbel.com>
Date:   Thu Jan 31 17:01:27 2019 +0100

S/390: Implement instruction set extensions

commit 13daa8e4889a971309f7d46a8d49129cb26088a5
Author: Andreas Krebbel <krebbel.com>
Date:   Fri Nov 9 11:00:47 2018 +0100

S/390: Fix optional operand handling after memory addresses

commit f47998d69f8d290564c022b010e63d5886a1fd7d
Author: Andreas Krebbel <krebbel.com>
Date:   Tue Oct 23 18:02:37 2018 +0200

S/390: Support vector alignment hints

These are all contained in the binutils package patch binutils-s390x-arch13.patch.

Comment 1 David Smith 2019-11-05 22:11:52 UTC
IBM, can you verify this fix once it goes in? (This is related to <https://bugzilla.redhat.com/show_bug.cgi?id=1659535>)

Comment 2 Hanns-Joachim Uhl 2019-11-07 13:17:34 UTC
(In reply to David Smith from comment #1)
> IBM, can you verify this fix once it goes in? (This is related to
> <https://bugzilla.redhat.com/show_bug.cgi?id=1659535>)
.
... yes, IBM will do fix verification ... setting OtherQA ...

Comment 8 Michal Kolar 2020-03-18 19:53:19 UTC
Verified SanityOnly against gdb-8.2-11.el8 because of deadline approaching.

Comment 9 Martin Cermak 2020-03-18 20:40:15 UTC
Hello IBM, Hanns,  Red Hat QE is still interested in your OtherQA test results.

Comment 11 Hanns-Joachim Uhl 2020-04-02 08:45:48 UTC
(In reply to Martin Cermak from comment #9)
> Hello IBM, Hanns,  Red Hat QE is still interested in your OtherQA test
> results.
.
fyi ... this bugzilla is verified with RHEL8.2 Snapshot 3 ... thanks ...

Comment 15 errata-xmlrpc 2020-04-28 15:42:21 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, 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-2020:1635