Bug 1981885
| Summary: | Major performance differences when compiling/assembling certain code from toolset6 vs. toolset10 using binutils [dts-10.1.z] | ||
|---|---|---|---|
| Product: | Red Hat Developer Toolset | Reporter: | RHEL Program Management Team <pgm-rhel-tools> |
| Component: | binutils | Assignee: | Nick Clifton <nickc> |
| Status: | CLOSED ERRATA | QA Contact: | Martin Cermak <mcermak> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | DTS 11.0 RHEL 7 | CC: | dsmith, fweimer, jcoopman, lkuprova, mcermak, mnewsome, mpolacek, mprchlik, nickc, ohudlick, otikhomi, qe-baseos-tools-bugs, sipoyare, tschelle |
| Target Milestone: | alpha | Keywords: | Bugfix, Triaged, ZStream |
| Target Release: | 9.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| 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.
|
Story Points: | --- |
| Clone Of: | 1976958 | Environment: | |
| Last Closed: | 2021-09-14 08:56:57 UTC | Type: | --- |
| 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: | 1976958 | ||
| Bug Blocks: | |||
|
Comment 1
Nick Clifton
2021-07-15 13:07:28 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 Verified with devtoolset-10-binutils-2.35-5.el7.2 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 |