https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91379
--- Comment #4 from Clinton Bunch <cbunch at cfhp dot com> --- Setting the CFLAGS and CXXFLAGS to -O0 -g as suggested didn't help. It still blew up at the same point building libgcc. Interestingly, I noticed that it doesn't blow up if the code is compiled in -mlp64 mode, only in the default -milp32 mode. The process successfully builds a 64-bit libgcc_s.so