https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64636
--- Comment #5 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- I can confirm that disabling LTO on sparc64 makes gcc build fine.
glaubitz at physik dot fu-berlin.de Sun, 18 Aug 2019 11:01:30 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64636
--- Comment #5 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- I can confirm that disabling LTO on sparc64 makes gcc build fine.