Would this issue affect all programs not just the rebuilding of gcc? I have been having a lot of problems with one lib or another failing when trying to rebuild code on my static musl gcc system (building both dynamic and static) 

thanks,
stephen

On Sat, Nov 1, 2014 at 6:01 PM, Felix Janda <felix.janda@posteo.de> wrote:
Rich Felker wrote:
> On Sat, Nov 01, 2014 at 10:41:28PM +0100, Felix Janda wrote:
[..]
> > The construct is used in a file in gmp and this caused my home-built gcc
> > to crash. I'm wondering why other people have not hit this issue. (I
> > guess it is because they didn't use dynamic linking.)
>
> Could you give a link to the code where it's used? It would be nice to
> see if this is actually something broken that's assuming the
> insecure-plt ABI or whether it's just binutils misinterpreting it and
> making trouble for us.

See

https://gmplib.org/repo/gmp/file/bfc8adc7cdfe/mpn/powerpc32/elf.m4
https://gmplib.org/list-archives/gmp-bugs/2014-November/003568.html

Felix