http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46173

           Summary: gcc/gencheck.c:30:24: error: all-tree.def: No such
                    file or directory
           Product: gcc
           Version: 4.4.6
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: dirtye...@gentoo.org


Rev 137006 included this change:

* gencheck.c (tree_codes): Include all-tree.def, rather than
    tree.def, c-common.def, and gencheck.h.  Undefined DEFTREECODE
    after it is used.

However the change to the build/gencheck.o target in gcc/Makefile.in was:

@@ -3239,7 +3245,7 @@ build/genattrtab.o : genattrtab.c $(RTL_BASE_H)
$(OBSTACK_H)              \
 build/genautomata.o : genautomata.c $(RTL_BASE_H) $(OBSTACK_H)         \
   $(BCONFIG_H) $(SYSTEM_H) coretypes.h $(GTM_H) errors.h vec.h         \
   $(HASHTAB_H) gensupport.h
-build/gencheck.o : gencheck.c gencheck.h tree.def $(BCONFIG_H) $(GTM_H)       
\
+build/gencheck.o : gencheck.c tree.def $(BCONFIG_H) $(GTM_H)           \
        $(SYSTEM_H) coretypes.h $(lang_tree_files)
 build/genchecksum.o : genchecksum.c $(BCONFIG_H) $(SYSTEM_H) $(MD5_H)
 build/gencodes.o : gencodes.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H)   \

rather than depending on tree.def, it should be all-tree.def.  This leads to a
sporadic parallel build error we're seeing on our weekly builds.

This was fixed with rev 147491 but never made it onto the 4.4 branch.

Reply via email to