> On Jun 14, 2017, at 13:39 , Nathan Sidwell <nat...@acm.org> wrote: > > Olivier, >> During highly parallel builds on fast hosts, we have experienced >> sporadic bootstrap failures on libquadmath like > > I have encountered such a bootstrap problem too. I guessed dependency race > condition, but -j21 was a simpler fix :)
I see :) > I'm happy to try the patch. That would bring useful extra datapoints, Thanks! The patch might be more complex than it needs to be. The logic is very simple: I wasn't sure whether I could add @if gcc-no-bootstrap all-[+prefix+][+module+]: maybe-all-gcc @endif gcc-no-bootstrap to all "all" targets after the dependency to stage_current @if gcc-bootstrap (in Makefile.tpl). The "depgcc" boolean is simply a mechanism to do that only for cases where we were adding a extra explicit dependency to maybe-all-gcc before, that is, only for libcc1. Olivier