PR bootstrap/106472: Add libgo depends on libbacktrace to Makefile.def

Message ID 003801d8a45c$a729a360$f57cea20$@nextmovesoftware.com
State New, archived
Headers
Series PR bootstrap/106472: Add libgo depends on libbacktrace to Makefile.def |

Commit Message

Roger Sayle July 30, 2022, 9:38 p.m. UTC
  This patch fixes PR bootstrap/106472 by adding a missing dependency
to Makefile.def to allow make bootstrap when configured using
"--enable-languages=go" (and not using make with multiple threads).

Tested on x86-64-pc-linux-gnu.  Ok for mainline?


2022-07-30  Roger Sayle  <roger@nextmovesoftware.com>

ChangeLog
        PR bootstrap/106472
        * Makefile.def (dependencies): Make configure-target-libgo depend
        upon all-target-libbacktrace.


Thanks in advance,
Roger
--
  

Comments

Ian Lance Taylor July 31, 2022, 1:21 a.m. UTC | #1
On Sat, Jul 30, 2022 at 2:38 PM Roger Sayle <roger@nextmovesoftware.com> wrote:
>
>
> This patch fixes PR bootstrap/106472 by adding a missing dependency
> to Makefile.def to allow make bootstrap when configured using
> "--enable-languages=go" (and not using make with multiple threads).
>
> Tested on x86-64-pc-linux-gnu.  Ok for mainline?
>
>
> 2022-07-30  Roger Sayle  <roger@nextmovesoftware.com>
>
> ChangeLog
>         PR bootstrap/106472
>         * Makefile.def (dependencies): Make configure-target-libgo depend
>         upon all-target-libbacktrace.

This is OK.  Thanks.

Ian
  

Patch

diff --git a/Makefile.def b/Makefile.def
index 72d5854..8804ba6 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -663,6 +663,7 @@  dependencies = { module=configure-target-newlib; on=all-binutils; };
 dependencies = { module=configure-target-newlib; on=all-ld; };
 dependencies = { module=configure-target-libgfortran; on=all-target-libquadmath; };
 dependencies = { module=configure-target-libgfortran; on=all-target-libbacktrace; };
+dependencies = { module=configure-target-libgo; on=all-target-libbacktrace; };
 
 languages = { language=c;	gcc-check-target=check-gcc; };
 languages = { language=c++;	gcc-check-target=check-c++;