Bug 1981885 - Major performance differences when compiling/assembling certain code from toolset6 vs. toolset10 using binutils [dts-10.1.z]
Summary: Major performance differences when compiling/assembling certain code from too...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Developer Toolset
Classification: Red Hat
Component: binutils
Version: DTS 11.0 RHEL 7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: alpha
: 9.1
Assignee: Nick Clifton
QA Contact: Martin Cermak
URL:
Whiteboard:
Depends On: 1976958
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-13 16:19 UTC by RHEL Program Management Team
Modified: 2021-09-14 08:57 UTC (History)
14 users (show)

Fixed In Version: devtoolset-10-binutils-2.35-5.el7.2
Doc Type: Bug Fix
Doc Text:
ause: The binutils linker was updated with support for a new feature called 'secondary relocs'. Consequence: Whilst the feature worked, it caused a quadratic slowdown in the performance of the linker, even when working on files which did not contain secondary relocs. Fix: Add code to the linker to bypass the secondary reloc checks if an input file does not use that feature. Result: Normal linker performance restored - for files which do not use secondary relocs.
Clone Of: 1976958
Environment:
Last Closed: 2021-09-14 08:56:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:3525 0 None None None 2021-09-14 08:56:58 UTC

Comment 1 Nick Clifton 2021-07-15 13:07:28 UTC
Fixed in binutils-2.35-5.el7_9.1

Comment 6 Nick Clifton 2021-09-03 11:18:30 UTC
Hi Oss,

  RHEL 8.5 base OS binutils does not support secondary relocs, so the fix is not needed and slow down does not happen.
  RHEL 9.0 base OS binutils does support secondary relocs, and it already contains the fix.  (Hence there is no update needed).
  DTS 11 binutils is like RHEL-9, it supports secondary relocs, but it does not suffer from the slow down.

  So basically only DTS-10 needs the documentation update! :-)

Cheers
  Nick

Comment 8 Miloš Prchlík 2021-09-13 06:54:51 UTC
Verified with devtoolset-10-binutils-2.35-5.el7.2

Comment 12 errata-xmlrpc 2021-09-14 08:56:57 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 (devtoolset-10-binutils bug fix update), 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-2021:3525


Note You need to log in before you can comment on or make changes to this bug.