bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/20886] [2.23][ppc64le] ld hangs (indefinite loop) in ppc64_elf_s


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/20886] [2.23][ppc64le] ld hangs (indefinite loop) in ppc64_elf_size_stubs
Date: Wed, 30 Nov 2016 06:35:03 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20886

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_27-branch branch has been updated by Alan Modra
<address@hidden>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5d1f2ede8f0de48b90fd18a81f67382dc99661dc

commit 5d1f2ede8f0de48b90fd18a81f67382dc99661dc
Author: Alan Modra <address@hidden>
Date:   Wed Nov 30 15:33:07 2016 +1030

    PR20886, looping in ppc64_elf_size_stubs

    The PR20886 binary is large enough that there are two stub sections
    servicing .text (which is 88M).  It so happens that between one
    iteration of sizing and the next that one stub section grows while
    the other shrinks.  Since one section is always growing, the loop
    never terminates.

    This patch changes the algorithm to not update previous size on
    shrinking, once we go past a certain number of iterations.

        PR ld/20886
        * elf64-ppc.c (ppc64_elf_size_stubs): Make rawsize max size seen
        on any pass past STUB_SHRINK_ITER.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]