https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77512
--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > ../gcc-6.2.0/configure --prefix=/export/home2/mi/gcc-6.2.0-bin --with-gnu-as > --with-gnu-ld --disable-libgcj --enable-languages=c,c++ Please add --build=sparc-sun-solaris2.10 and use an absolute path.