1. Feature Overview:
Feature Id: 
a. Name of Feature: binutils TOC and PLT optimizations
b. Feature Description
binutils TOC and PLT optimizations: Linker changes to improve performance of TOC addressability and PLT call stubs.
This is follow-on work to the Large-TOC changes made in the previous release. These changes allow us to improve the performance of some TOC accesses when the compiler/linker can determine a better sequence of instructions can be used. We also improve the sequence of instructions in the PLT call stubs to improve performance under certain circumstances.
2. Feature Details:
Sponsor: LTC Toolchain
Arch Specificity: both
Affects Kernel Modules: No
Delivery Mechanism: Backport
Request Type: Package - Feature from Upstream
d. Upstream Acceptance: In Progress
Sponsor Priority P2
f. Severity: high
IBM Confidential: No
Code Contribution: IBM code
g. Component Version Target: ---
3. Business Case
Recent reports of large programs (SAP, doxygen) failing during compile/link due to TOC overflow. Also, some applications experience performance degrading with the current multi-TOC support. This feature simplifies the build process while improving performance.
4. Primary contact at Red Hat:
John Jarvis, firstname.lastname@example.org
5. Primary contacts at Partner:
Project Management Contact:
Michael L. Hohnbaum, email@example.com
Peter E. Bergner, firstname.lastname@example.org
IBM is signed up to test and provide feedback, setting OtherQA.
Waiting on upstream patch incorporation & identification from IBM.
Created attachment 552249 [details]
rhel6 powerpc binutils patchset
------- Comment on attachment From email@example.com 2012-01-11 17:27 EDT-------
Patches related to toc/plt optimization plus a few others.
May I have an update on this please? We are now mid-way in the Development cycle and I'd like to know if we are still targeting to include this for RHEL 6.3.
------- Comment From firstname.lastname@example.org 2012-02-15 11:03 EDT-------
Patches are attached to this bugzilla - were attached Jan 11. Code is accepted upstream.
What additional information do you need?
Created attachment 564945 [details]
Tarball containing patches packaged in a suitable way to apply to the RHEL 6.3 binutils srpm
The tarball contains the patches supplied by IBM integrated into a single, large patchfile, plus an update to binutils.spec to include the patch in a binutils build.
This enhancement request was evaluated by the full Red Hat Enterprise Linux
team for inclusion in a Red Hat Enterprise Linux minor release. As a result
of this evaluation, Red Hat has tentatively approved inclusion of this feature
in the next Red Hat Enterprise Linux Update minor release. While it is a goal
to include this enhancement in the next minor release of Red Hat Enterprise
Linux, the enhancement is not yet committed for inclusion in the next minor
release pending the next phase of actual code integration and successful Red
Hat and partner testing.
Created attachment 580466 [details]
Nick, in looking over binutils-18.104.22.168.2-5.32.el6.src.rpm I noticed that a hunk is missing from binutils-rh739144.patch near the start of elf64-ppc.c:ppc64_elf_tls_optimize, probably due to a patch reject. Attached please find a replacement.
Flipping back to ASSIGNED to get the patch reevaluated.
(In reply to comment #15)
> Created attachment 580466 [details]
> replacement binutils-rh739144,patch
> Nick, in looking over binutils-22.214.171.124.2-5.32.el6.src.rpm I noticed that a
> hunk is missing from binutils-rh739144.patch near the start of
> elf64-ppc.c:ppc64_elf_tls_optimize, probably due to a patch reject. Attached
> please find a replacement.
Please note that this patch is missing testsuite updates.
Alan, please inspect binutils-126.96.36.199.2-5.34.el6 SRPM once it gets near to you.
I'd like IBM to have a look at binutils-188.8.131.52.2-5.34.el6 SRPM, please.
------- Comment From email@example.com 2012-05-14 15:35 EDT-------
I'll ping Alan offline to make sure he has a look at the updated binutils src rpm.
------- Comment From firstname.lastname@example.org 2012-05-15 04:59 EDT-------
Michal, I saw your note last week and have been waiting for the source rpm to appear on ftp3.linux.ibm.com. It's still not there. Can I access the rpm somewhere else?
------- Comment From email@example.com 2012-05-20 10:30 EDT-------
binutils-184.108.40.206.2-5.34.el6.src.rpm looks good to me. Thanks!
Added IBM to verified field.
Moving to VERIFIED per comment #30.
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.