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.
Created attachment 1119392[details]
Update linker test case
This test case in the linker testsuite is out of date with respect to the latest output from objdump. (It was expecting just raw bytes as the output, but now objdump tries to disassemble them).
This patch updates the test case.
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://rhn.redhat.com/errata/RHBA-2016-2265.html
Description of problem: ld's test suite reports one unexpected failed test, apaprently it's this one: /root/rpmbuild/BUILD/binutils-2.25.1/ld/ld-new -znorelro -o tmpdir/gotreloc_31-1 -L/root/rpmbuild/BUILD/binutils-2.25.1/ld/testsuite/ld-s390 -shared -melf_s390 --version-script=gotreloc-1.ver tmpdir/gotreloc-1.o Executing on host: sh -c {/root/rpmbuild/BUILD/binutils-2.25.1/ld/ld-new -znorelro -o tmpdir/gotreloc_31-1 -L/root/rpmbuild/BUILD/binutils-2.25.1/ld/testsuite/ld-s390 -shared -melf_s390 --version-script=gotreloc-1.ver tmpdir/gotreloc-1.o 2>&1} /dev/null ld.tmp (timeout = 300) spawn [open ...] Executing on host: sh -c {/root/rpmbuild/BUILD/binutils-2.25.1/ld/../binutils/objdump -dzrj.text tmpdir/gotreloc_31-1 >dump.out 2>ld.stderr} /dev/null (timeout = 300) spawn [open ...] /root/rpmbuild/BUILD/binutils-2.25.1/ld/../binutils/objdump -dzrj.text tmpdir/gotreloc_31-1 regexp_diff match failure regexp "^.*: c4 18 00 00 .long 0xc4180000$" line " 14c: c4 18 00 00 08 4e lgrl %r1,11e8 <_GLOBAL_OFFSET_TABLE_+0xc>" regexp_diff match failure regexp "^.*: 08 4e e3 10 .long 0x084ee310$" line " 152: e3 10 c0 0c 00 04 lg %r1,12(%r12)" regexp_diff match failure regexp "^.*: c0 0c 00 04 .long 0xc00c0004$" line " 158: c0 10 00 00 00 08 larl %r1,168 <bar>" regexp_diff match failure regexp "^.*: c0 10 00 00 00 08 [ ]*larl %r1,168 <bar>$" line " 15e: 58 10 c0 0c l %r1,12(%r12)" regexp_diff match failure regexp "^.*: 58 10 c0 0c [ ]*l %r1,12\(%r12\)$" line " 162: c0 10 00 00 00 03 larl %r1,168 <bar>" regexp_diff match failure regexp "^.*: c0 10 00 00 00 03 [ ]*larl %r1,168 <bar>$" line "00000168 <bar>:" regexp_diff match failure regexp "^.* <bar>:$" line " 168: 00 00 01 23 .long 0x00000123" extra regexps in /root/rpmbuild/BUILD/binutils-2.25.1/ld/testsuite/ld-s390/gotreloc_31-1.dd starting with "^.*: 00 00 01 23 .long 0x00000123$" EOF from dump.out FAIL: GOT: symbol address load from got to larl 64bit version seems to pass quite fine: /root/rpmbuild/BUILD/binutils-2.25.1/ld/ld-new -znorelro -o tmpdir/gotreloc_64-1 -L/root/rpmbuild/BUILD/binutils-2.25.1/ld/testsuite/ld-s390 -shared -melf64_s390 --version-script=gotreloc-1.ver tmpdir/gotreloc-1.o Executing on host: sh -c {/root/rpmbuild/BUILD/binutils-2.25.1/ld/ld-new -znorelro -o tmpdir/gotreloc_64-1 -L/root/rpmbuild/BUILD/binutils-2.25.1/ld/testsuite/ld-s390 -shared -melf64_s390 --version-script=gotreloc-1.ver tmpdir/gotreloc-1.o 2>&1} /dev/null ld.tmp (timeout = 300) spawn [open ...] Executing on host: sh -c {/root/rpmbuild/BUILD/binutils-2.25.1/ld/../binutils/objdump -dzrj.text tmpdir/gotreloc_64-1 >dump.out 2>ld.stderr} /dev/null (timeout = 300) spawn [open ...] /root/rpmbuild/BUILD/binutils-2.25.1/ld/../binutils/objdump -dzrj.text tmpdir/gotreloc_64-1 PASS: GOT: symbol address load from got to larl Version-Release number of selected component (if applicable): binutils-2.25.1-10.el7.s390x How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: