On Mon, May 22, 2017 at 12:28 PM, Martin Sebor <mse...@gmail.com> wrote: > On 05/19/2017 11:26 AM, Bernd Edlinger wrote: >> >> On 05/19/17 19:05, Dominique d'Humières wrote: >>> >>> Hi Bernd, >>> >>> Your patches are causing troubles when I try to do "incremental updates >>> »: >>> >>> After revision r248290 it fails with >>> >>> ../../work/gcc/cp/init.c:4916:10: fatal error: gt-cp-init.h: No such file >>> or directory >>> #include "gt-cp-init.h » >>> >>> and after r248242 with >>> >>> ../../work/gcc/c-family/c-format.c:4215:10: fatal error: >>> gt-c-family-c-format.h: No such file or directory >>> #include "gt-c-family-c-format.h » >>> >>> Note that after r248242 a full bootstrap succeeded (don’t know yet for >>> r248290). >>> >>> Is there a way to fix that? >>> >> >> No, unfortunately it looks like incremental does not work in this case. >> >> You can try to remove gcc/s-gtyp-input, maybe it un-breaks your >> build. However, I gave up at that point and did a full bootstrap >> instead. > > I also keep running into this error. Removing my build directory > and starting from scratch usually fixes it, but it seems that almost > every time git pull or svn update brings in new changes it comes back.
I've found that the key is ./config.status --recheck so that the GTFILES variable gets updated from config-lang.in. I'm not sure if plain ./config.status is also needed, and/or removing the gtype stuff from the build directory. Jason