https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123045
--- Comment #3 from Kirill A. Korinsky <kirill at korins dot ky> ---
This patch is enough to pass make bootstrap2 -j2
Index: Makefile.in
--- Makefile.in.orig
+++ Makefile.in
@@ -54438,7 +54437,7 @@ configure-stage1-target-libphobos:
maybe-configure-stage2-target-libphobos:
@if target-libphobos-bootstrap
maybe-configure-stage2-target-libphobos: configure-stage2-target-libphobos
-configure-stage2-target-libphobos:
+configure-stage2-target-libphobos: all-stage2-target-libstdc++-v3
@[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
@$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
@r=`${PWD_COMMAND}`; export r; \