On Wed, Jan 7, 2015 at 11:40 AM, Andrew Haley <aph@xxxxxxxxxx> wrote: > On 01/07/2015 04:57 PM, Cyd Haselton wrote: >> Adding -fno-lto to CFLAGS in the 4.9 libgcc Makefile worked. >> Libgcc_s.so built and linked successfully. I will add this to my list >> of build notes > > Ah, good. That was a very, very difficult thing to debug because the > runtime error from fakechroot looked so much like a linker error, even > to the point of producing the same error message. It's probably the > hairiest thing I've ever helped debug on gcc-help. > >> Thanks everyone for all of your help and patience. Anything else you >> need from me? > > It's be nice to see if you can do a clean build with the --disable-lto > configure option. Then we can think about how to auto-disable it in the > gcc configury. > > Andrew. Running it now. Will post back with results.