https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100559
--- Comment #14 from Petr Sumbera <sumbera at volny dot cz> --- (In reply to Eric Botcazou from comment #13) > > $ cat gcc-11.1.0/gcc/config/sparc/t-sol2 > > MULTILIB_OPTIONS = m32/m64 > > MULTILIB_DIRNAMES = 32 sparcv9 > > MULTILIB_MATCHES = > > MULTILIB_OSDIRNAMES = . sparcv9 > > So you have a local modification after all, here is the pristine file: > > eric@fomalhaut:~/tmp/gcc-11.1.0> cat gcc/config/sparc/t-sol2 > MULTILIB_OPTIONS = m32/m64 > MULTILIB_DIRNAMES = sparcv8plus sparcv9 > MULTILIB_MATCHES = > MULTILIB_OSDIRNAMES = . sparcv9 > > You need to do s/sparcv8plus/32/ on $(srcdir)/gcc/ada/Makefile.rtl as well. Thank you very much! I'm trying it now. I don't know the history of the change: https://github.com/oracle/solaris-userland/blob/master/components/gcc10/patches/001-multilib-sparc.patch It has following comment: # We want sparc/i386 to match locations for their 32 bit support when building # multilib. For now use the more generic /32. This has not been filed # upstream. I wonder whether it makes sense to have it in upstream?