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 1508966

Summary: Need to rebuild rpm in order to remove static relocations not known to older linkers
Product: Red Hat Enterprise Linux 7 Reporter: Nick Clifton <nickc>
Component: elfutilsAssignee: Mark Wielaard <mjw>
Status: CLOSED ERRATA QA Contact: Martin Cermak <mcermak>
Severity: medium Docs Contact: Vladimír Slávik <vslavik>
Priority: unspecified    
Version: 7.5CC: law, mbenitez, mcermak, mjw, nickc, ohudlick, qe-baseos-security, qe-baseos-tools-bugs, sgrubb, vslavik
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: elfutils-0.170-2.el7 Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: 1508965
: 1508968 (view as bug list) Environment:
Last Closed: 2018-04-10 16:17:17 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: 1508954, 1508965    
Bug Blocks: 1508968, 1508970, 1508979, 1508980, 1508983    

Comment 3 Mark Wielaard 2017-11-02 16:15:43 UTC
OK. There are no other outstanding bugs for 7.5. So I'll just do a rebuild.

Comment 8 Martin Cermak 2018-01-05 16:14:46 UTC
Reproduced with elfutils-devel-0.170-1.el7, verified with elfutils-devel-0.170-4.el7.

Comment 11 errata-xmlrpc 2018-04-10 16:17:17 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/RHEA-2018:0891

Comment 12 Martin Cermak 2018-12-05 08:32:53 UTC
Nick, I've noticed this static relocation on rhel8:

=======
 8.0 Server x86_64 # readelf -r -W /usr/lib64/libebl.a | grep GOTPCRELX
00000000000005d9  000000690000002a R_X86_64_REX_GOTPCRELX 0000000000000000 stdout - 4
 8.0 Server x86_64 # rpm -qf /usr/lib64/libebl.a
elfutils-devel-0.174-6.el8.x86_64
 8.0 Server x86_64 # 
=======

But I assume that that's OK, since on rhel8 we don't need to care about
compatibility with "older linkers", right?.  So the testcase respective
to this rhel7 bug is not relevant for rhel8.  Does this sound correct?

Comment 13 Nick Clifton 2018-12-05 11:17:07 UTC
Hi Martin,

  That is correct.

Cheers
  Nick