https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85994
--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #2 from Alexander Monakov <amonakov at gcc dot gnu.org> --- > Why does this affect only new files, i.e. how did existing libgcc .S files > avoid running into the same issue? Besides the {avx,sse}_{sav,res}ms64*.S files, there are only config/i386/crti.S config/i386/crtn.S config/i386/cygwin.S config/i386/morestack.S config/i386/sol2-c1.S cygwin.S is obviously not relevant to Solaris, neither is morestack.S (no -fsplit-stack support). crt[in].S and sol2-c1.S are compiled with $(crt_compile), which uses -g0 from CRTSTUFF_CFLAGS. The latter observation was why I suggested compiling the *ms64*.S files with -g0, too.