Red Hat Bugzilla – Bug 1488889
s390x: binutils strip tool segfaults
Last modified: 2018-04-10 06:00:55 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:
(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.
Fixed in binutils-2.27-16.base.el7
Verified with binutils-2.27-27.base.el7.s390x.
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