[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:30:34 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20886
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ea3d7d1cab4221ab729327bb4d957352c79d05f0
commit ea3d7d1cab4221ab729327bb4d957352c79d05f0
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.