https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87836
--- Comment #25 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #24 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot > Uni-Bielefeld.DE> --- [...] > I may try a build on Solaris 10 with the snv_121 assembler myself. > The sparc machine is busy until tomorrow night; I may try a Solaris > 10/x86 build instead since you say you're seeing the same error there. I've now completed c,c++-only bootstraps of gcc 7.4.0 with the snv_121 as on Solaris 10/SPARC and x86 without issues, using a self-compiled gcc 4.9.0 as bootstrap compiler. Which brings me back to a previous suggestion: please try bootstrapping a vanilla gcc 4.9.x yourself and use the result to build gcc 7.3.0/7.4.0.