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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |ian at airs dot com
             Status|UNCONFIRMED                 |NEW
                 CC|                            |cmang at google dot com,
                   |                            |iant at google dot com
   Last reconfirmed|                            |2022-02-23
     Ever confirmed|0                           |1
           Keywords|                            |build
          Component|bootstrap                   |go

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Well, that's because of

dependencies = { module=all-target-libgo; on=all-target-libbacktrace; };
dependencies = { module=all-target-libgo; on=all-target-libffi; };
dependencies = { module=all-target-libgo; on=all-target-libatomic; };

the reason the dependency is conditional is that libgo is not bootstrapped
(and so is libffi) but libbacktrace and libatomic are.

There might be an error in Makefile.tpl but maybe you can elaborate on the
exact issue that prevents you to build on GNU/Hurd?  How do you configure
there?  When I configure with --disable-bootstrap I do have all required
dependencies in the toplevel Makefile.  When I configure with bootstrapping
the the toplevel Makefile will not build libgo during stage1 but indeed
the all-target-libgo target seems to miss a dependency on
maybe-all-stage3-target-libbacktrace.

IIRC the "usual" workaround is to build a non-bootstrapped target library
as well here.

I guess I've never run into this because when I'm building go I'm also
building other bootstrapped target libs that build libbacktrace and libatomic.

Reply via email to