https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123490

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I've reverted r16-6584 in my build and it still failed the same way.
So I suspect r16-6582 instead.
./xgcc -B ./ -print-multi-directory
.
before and after, I suspect the
@@ -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.  If that hunk is really needed, then I think it needs to
special case ml_top_subdir being . and unset ml_subdir in that case, rather
than setting it to /.
which is what appears in these gcc/ada/rts_. (where there was
RTSDIR = rts$(subst /,_,$(MULTISUBDIR))
).

Reply via email to