Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1508954 - Need to rebuild rpm in order to remove static relocations not known to older linkers
Need to rebuild rpm in order to remove static relocations not known to older ...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: binutils (Show other bugs)
7.5
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Nick Clifton
Miloš Prchlík
Vladimír Slávik
:
Depends On:
Blocks: 1508965 1508966 1508968 1508970 1508979 1508980 1508983
  Show dependency treegraph
 
Reported: 2017-11-02 10:57 EDT by Nick Clifton
Modified: 2018-04-10 06:02 EDT (History)
5 users (show)

See Also:
Fixed In Version: binutils-2.27-20.base.el7
Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
: 1508965 (view as bug list)
Environment:
Last Closed: 2018-04-10 06:01:15 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:02 EDT

  None (edit)
Description Nick Clifton 2017-11-02 10:57:28 EDT
Description of problem:

  The rebase of the binutils rpm in RHEL 7.5 has exposed a problem in that
  static i686 and x86_64 libraries and object files built with the rebased
  assembler now contain relocations that are not recognised by older linkers,
  including those shipped with RHEL 7.4 and earlier.

  The RHEL 7.5 assembler has now been patched to prevent the generation of
  these relocations, (which were only used to enable a link time optimization)
  but the following rpms still contain them and need to be rebuilt: 

    binutils-devel-2.27-19.base.el7.i686.rpm
    binutils-devel-2.27-19.base.el7.x86_64.rpm

Version-Release number of selected component (if applicable):

  2.27-19

How reproducible:

  Always.

Steps to Reproduce:

0. mkdir /dev/shm/delme; pushd /dev/shm/delme
1. rpm2cpio <suspect-rpm> | cpio -dim
2. find . -type f -exec readelf -r -W {} \; > relocs.out
3. grep -e GOTPCRELX -e GOT32X relocs.out

Actual results:

  Relocs found.

Expected results:

  No relocs found.

Additional info:

  The fix to the assembler is covered by this BZ:
  https://bugzilla.redhat.com/show_bug.cgi?id=1506004
Comment 2 Nick Clifton 2017-11-03 06:17:55 EDT
Fixed in binutils-2.27-20.base.el7.
Comment 4 Miloš Prchlík 2018-01-31 08:09:11 EST
Verified with binutils-2.27-19.base.el7.
Comment 7 errata-xmlrpc 2018-04-10 06:01:15 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.