Bug 1978174
| Summary: | Major performance differences when compiling/assembling certain code from toolset6 vs. toolset10 using binutils [rhel-8.4.0.z] | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | RHEL Program Management Team <pgm-rhel-tools> |
| Component: | binutils | Assignee: | Nick Clifton <nickc> |
| binutils sub component: | gcc-toolset-10 | QA Contact: | Miloš Prchlík <mprchlik> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | unspecified | CC: | dsmith, fweimer, kwalker, mprchlik, nickc, ohudlick |
| Version: | 8.4 | Keywords: | Bugfix, Triaged, ZStream, ZStreamTracked |
| Target Milestone: | beta | Flags: | pm-rhel:
mirror+
|
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | gcc-toolset-10-binutils-2.35-8.el8_4.4 | Doc Type: | Bug Fix |
| Doc Text: |
Cause:
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: | 1975810 | Environment: | |
| Last Closed: | 2021-09-21 08:38:59 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: | 1975810 | ||
| Bug Blocks: | |||
|
Comment 1
Nick Clifton
2021-07-01 14:32:05 UTC
Oops - typo in Fixed In field. It should be: gcc-toolset-10-binutils-2.35-8.el8_4.1 Verified with gcc-toolset-10-binutils-2.35-8.el8_4.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 (gcc-toolset-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:3575 |