Bug 46173 - [4.4 Regression] gcc/gencheck.c:30:24: error: all-tree.def: No such file or directory
Summary: [4.4 Regression] gcc/gencheck.c:30:24: error: all-tree.def: No such file or d...
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.4.6
: P3 normal
Target Milestone: 4.5.0
Assignee: Not yet assigned to anyone
URL:
Keywords: build
Depends on:
Blocks:
 
Reported: 2010-10-25 21:32 UTC by Ryan Hill
Modified: 2012-03-13 13:23 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2010-10-27 21:35:46


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill 2010-10-25 21:32:25 UTC
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.
Comment 1 Andrew Pinski 2010-10-27 21:35:46 UTC
Confirmed.
Comment 2 Jakub Jelinek 2012-03-13 13:23:13 UTC
Fixed in 4.5+, 4.4 is no longer supported.