I've just committed the attached back port of: http://gcc.gnu.org/ml/gcc-patches/2012-11/msg01775.html
to the ARM/aarch64-4.7-branch. /Marcus 2012-11-21 Marcus Shawcroft <marcus.shawcr...@arm.com> * Makefile.in (gengtype-lex.o): Add dependency on $(BCONFIG_H).
Index: gcc/Makefile.in =================================================================== --- gcc/Makefile.in (revision 193692) +++ gcc/Makefile.in (revision 193693) @@ -3888,7 +3888,7 @@ $(SYSTEM_H) coretypes.h $(GTM_H) errors.h $(READ_MD_H) gensupport.h build/gengenrtl.o : gengenrtl.c $(BCONFIG_H) $(SYSTEM_H) rtl.def gengtype-lex.o build/gengtype-lex.o : gengtype-lex.c gengtype.h $(SYSTEM_H) -gengtype-lex.o: $(CONFIG_H) +gengtype-lex.o: $(CONFIG_H) $(BCONFIG_H) build/gengtype-lex.o: $(BCONFIG_H) gengtype-parse.o build/gengtype-parse.o : gengtype-parse.c gengtype.h \ $(SYSTEM_H)