https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88535
--- Comment #15 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #7 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot > Uni-Bielefeld.DE> --- >> --- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- >>> I wonder if the configure or make process should defend against the >>> possibility that the host compiler and the compiler that we are building >>> today have differing defaults for -m32 vs -m64. >> >> The problem is that we don't correctly detect the cross configuration here. > > That's because, as I suspected, config.guess doesn't distinguish sparc > and sparcv9 configurations of Solaris, unlike the i386/x86_64 case. I've now submitted a patch to do just that: http://lists.gnu.org/archive/html/config-patches/2019-01/msg00000.html Once it has been accepted, I'll import config.guess and config.sub into the gcc and binutils-gdb repos.