Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1488889 - s390x: binutils strip tool segfaults
s390x: binutils strip tool segfaults
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: binutils (Show other bugs)
7.5
s390x Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Nick Clifton
Miloš Prchlík
Vladimír Slávik
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-06 08:01 EDT by David Hildenbrand
Modified: 2018-04-10 06:00 EDT (History)
8 users (show)

See Also:
Fixed In Version: binutils-2.27-16.base.el7
Doc Type: Bug Fix
Doc Text:
The *strip* utility works again Previously, the BFD library missed a NULL pointer check on the IBM z Systems architecture. As a consequence, running the *strip* utility caused a segmentation fault. This bug has been fixed, and *strip* now works as expected.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-10 05:59:05 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0686 None None None 2018-04-10 06:00 EDT

  None (edit)
Description David Hildenbrand 2017-09-06 08:01:40 EDT
Description of problem:
While playing with the patch for bz 1485398, I noticed that the strip command is completely broken on s390x.

Version-Release number of selected component (if applicable):
binutils-2.27-15.base.el7

How reproducible:
100%

Steps to Reproduce:
1. Create a simple C program

test.c:
int main()
{
        return 0;
}


2. Compile it
$ gcc test.c -o test

3. Try to strip it using the strip tool

Actual results:


Expected results:


Additional info:
Comment 2 David Hildenbrand 2017-09-06 08:04:55 EDT
(new try after I pushed the enter key too early ...)

Description of problem:
While playing with the patch for bz 1485398, I noticed that the strip command is completely broken on s390x.

Version-Release number of selected component (if applicable):
binutils-2.27-15.base.el7

How reproducible: 100%

Steps to Reproduce:
1. Create a simple C program

test.c:
int main()
{
        return 0;
}


2. Compile it
$ gcc test.c -o test

3. Try to strip it using the strip tool
$ strip --strip-unneeded test -o test.strip


Actual results: "Segmentation fault"
Expected results: No segmentation fault.
Comment 3 Nick Clifton 2017-09-06 10:51:34 EDT
Fixed in  binutils-2.27-16.base.el7
Comment 7 Miloš Prchlík 2018-01-31 06:37:26 EST
Verified with binutils-2.27-27.base.el7.s390x.
Comment 10 errata-xmlrpc 2018-04-10 05:59:05 EDT
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/RHBA-2018:0686

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