https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109231
--- Comment #14 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- > I found I could perhaps use gcc211 on CompilerFarm to try to reproduce it, > currently building GCC 11 for working GDC there. Right, although on Solaris/SPARC GCC 9.3.0 works for me, too. > What exact configure should I use for the trunk gcc? During the reghunt, I used (albeit on Solaris 11.4) configure --without-ppl --without-cloog --enable-languages=d --disable-lto --disable-libatomic --disable-libcc1 --disable-libquadmath --disable-libssp --disable-libitm --disable-libvtv --disable-libsanitizer --disable-libgomp --with-ld=/usr/bin/ld --without-gnu-ld --with-as=/vol/gcc/bin/gas-2.40 --with-gnu-as --disable-multilib All the --disable-* options serve to speed up the build, including --disable-multilib. I'd strongly recommend using /bin/ld; that's what I've been using all the time. > For gcc 11 I'm trying > ../configure --prefix=/export/home/jakub/gcc-11-inst > --enable-languages=c,c++,d > --disable-libssp --disable-nls --enable-threads=posix --with-gmp=/opt/csw > --with-included-gettext --with-ld=/opt/csw/bin/gld --with-gnu-ld > --with-as=/opt/csw/bin/gas --with-gnu-as --with-libiconv-prefix=/opt/csw > --with-mpfr=/opt/csw --with-system-zlib=/opt/csw --enable-libphobos > --disable-bootstrap I don't think you need the explicit --enable-threads=posix --with-included-gettext; likewise I didn't have any need for --with-system-zlib=/opt/csw or similar. I've been working with a self-compiled gas 2.40; I'm uncertain if the /opt/csw one is ok, but guess so. You'll certainly need gmp/mpfr/mpc from /opt/csw; at least for one of the three the bundled version is too old on 11.3.