https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104006
--- Comment #7 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- > (In reply to r...@cebitec.uni-bielefeld.de from comment #3) >> Really strange. If kinds.h were missing completely at that point, I'd >> expect gcc message to that effect, that's why I suspected the header >> being incomplete instead. > > You can hit the case where kinds.h has been created already but nothing has > been stored to it yet, mk-kinds-h.sh script is invoked with > kinds.h so that > is created immediately kinds.h goal starts, but does some compilations first > before it echoes something to stdout. Which suggests kinds.h (and other files generated in a similar way) should use move-if-change to avoid this. make kinds.h takes about 1.2s on my sparc box, so there's a considerable window the file could be incomplete.