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