https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577
--- Comment #233 from John Buddery <jvb at cyberscience dot com> --- One additional note - when building the patched binutils 2.36, it must be built as 64 bit executables. It seems that a 32 bit gas does not produce 64 bit object files properly on this platform, causing the linker to crash when making the 64 bit libstdc++.so. Build binutils as 64 bit, by using a configure something like: CFLAGS="-O2 -mlp64" ./configure -prefix=/usr/local