Patchwork [AARCH64-4.7,committed] Fix race in parallel build.

login
register
mail settings
Submitter Marcus Shawcroft
Date Nov. 21, 2012, 1:31 p.m.
Message ID <50ACD7BE.9090409@arm.com>
Download mbox | patch
Permalink /patch/200730/
State New
Headers show

Comments

Marcus Shawcroft - Nov. 21, 2012, 1:31 p.m.
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.shawcroft@arm.com>

	* Makefile.in (gengtype-lex.o): Add dependency on $(BCONFIG_H).
Richard Earnshaw - Dec. 10, 2012, 4:37 p.m.
On 21/11/12 13:31, Marcus Shawcroft wrote:
> 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.shawcroft@arm.com>
>
> 	* Makefile.in (gengtype-lex.o): Add dependency on $(BCONFIG_H).
>
>
> backport-aarch64-4.7-fix-parallel.patch
>
>
> 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)
>

Is this also needed on the other release branches?

R.

Patch

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)