Hi!
This patch broke bootstrap when Ada is enabled on pretty much all arches,
see https://gcc.gnu.org/PR123490 (verified by reverting the commit and
the build then succeeds). Ada used to create directories like
objdir/gcc/ada/rts and objdir/gcc/ada/rts_32 for
gcc -print-multi-lib
.;
32;@m32
compiler, but now it creates objdir/gcc/ada/rts_. and objdir/gcc/ada/rts_32.
I suspect the
On Fri, Dec 19, 2025 at 07:18:30PM +0000, Aleksandar Rakic wrote:
> @@ -597,7 +614,8 @@ else
> fi
>
> if [ -z "${with_multisubdir}" ]; then
> - ml_subdir=
> + ml_top_subdir=`${CC-gcc} --print-multi-directory 2>/dev/null`
> + ml_subdir=/$ml_top_subdir
> ml_builddotdot=
> : # ml_srcdotdot= # already set
> else
hunk in config-ml.in. Why was this changed at all, or why haven't
you just set ml_top_subdir and kept ml_subdir empty? Can one blacklist
the primary multilib? In any case, even if you need it for some reason,
I think it has to special case x$ml_top_subdir = x. and keep ml_subdir
var empty in that case as before instead of using /.
Jakub