diff mbox

cc/gcc: fix parallel build with gcc 4.8.0, 4.8.1 and 4.8.2

Message ID 555cc9f853ac43312a1d.1385105628@haus-VirtualBox
State Superseded
Headers show

Commit Message

Daniel Zimmermann Nov. 22, 2013, 7:33 a.m. UTC
# HG changeset patch
# User Daniel Zimmermann <netzimme@gmail.com>
# Date 1385076889 -3600
#      Fri Nov 22 00:34:49 2013 +0100
# Node ID 555cc9f853ac43312a1d97953ca8726ae53c4daa
# Parent  7e569a9cb5fd3ab591bb307328b947a5b7312cba
cc/gcc: fix parallel build with gcc 4.8.0, 4.8.1 and 4.8.2

Fix the problem with parallel build on gcc 4.8.0, 4.8.1 and 4.8.2
See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57681

and

http://gcc.gnu.org/viewcvs?rev=205189&root=gcc&view=rev
Log:
2013-11-21  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

	PR bootstrap/57683
	Backport from mainline: r197467 and r198999.
	2013-04-03  Jeff Law  <law@redhat.com>

	* Makefile.in (lra-constraints.o): Depend on $(OPTABS_H).
	(lra-eliminations.o): Likewise.

	2013-05-16  Jeff Law  <law@redhat.com>

	* Makefile.in (tree-switch-conversion.o): Depend on $(OPTABS_H).

Signed-off-by: "Daniel Zimmermann" <netzimme@gmail.com>


--
For unsubscribe information see http://sourceware.org/lists.html#faq
diff mbox

Patch

diff -r 7e569a9cb5fd -r 555cc9f853ac patches/gcc/4.8.0/001_gcc_4_8_0_backport_patches_to_fix_parallel_build_fail_PR_57683.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/gcc/4.8.0/001_gcc_4_8_0_backport_patches_to_fix_parallel_build_fail_PR_57683.patch	Fri Nov 22 00:34:49 2013 +0100
@@ -0,0 +1,26 @@ 
+--- gcc-4.8.2/gcc/Makefile.in	2013-11-22 02:14:33.815230904 +0100
++++ gcc-4.8.2_patch/gcc/Makefile.in	2013-11-22 02:14:38.391230732 +0100
+@@ -3037,7 +3037,7 @@
+     $(TM_H) coretypes.h $(GIMPLE_H) \
+     $(TREE_PASS_H) $(FLAGS_H) $(EXPR_H) $(BASIC_BLOCK_H) \
+     $(GGC_H) $(OBSTACK_H) $(PARAMS_H) $(CPPLIB_H) $(PARAMS_H) \
+-    $(GIMPLE_PRETTY_PRINT_H) langhooks.h
++    $(GIMPLE_PRETTY_PRINT_H) langhooks.h $(OPTABS_H)
+ tree-complex.o : tree-complex.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
+     $(TM_H) $(FLAGS_H) $(TREE_FLOW_H) $(GIMPLE_H) \
+     tree-iterator.h $(TREE_PASS_H) tree-ssa-propagate.h
+@@ -3276,12 +3276,12 @@
+    $(TM_H) $(RTL_H) $(REGS_H) insn-config.h insn-codes.h $(DF_H) \
+    $(RECOG_H) output.h addresses.h $(REGS_H) hard-reg-set.h $(FLAGS_H) \
+    $(FUNCTION_H) $(EXPR_H) $(BASIC_BLOCK_H) $(TM_P_H) $(EXCEPT_H) \
+-   ira.h rtl-error.h $(LRA_INT_H)
++   ira.h rtl-error.h $(LRA_INT_H) $(OPTABS_H)
+ lra-eliminations.o : lra-eliminations.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
+    $(TM_H) $(RTL_H) $(REGS_H) insn-config.h $(DF_H) \
+    $(RECOG_H) output.h $(REGS_H) hard-reg-set.h $(FLAGS_H) $(FUNCTION_H) \
+    $(EXPR_H) $(BASIC_BLOCK_H) $(TM_P_H) $(EXCEPT_H) ira.h \
+-   rtl-error.h $(LRA_INT_H)
++   rtl-error.h $(LRA_INT_H) $(OPTABS_H)
+ lra-lives.o : lra-lives.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
+    $(RTL_H) $(REGS_H) insn-config.h $(DF_H) \
+    $(RECOG_H) output.h $(REGS_H) hard-reg-set.h $(FLAGS_H) $(FUNCTION_H) \
diff -r 7e569a9cb5fd -r 555cc9f853ac patches/gcc/4.8.1/001_gcc_4_8_1_backport_patches_to_fix_parallel_build_fail_PR_57683.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/gcc/4.8.1/001_gcc_4_8_1_backport_patches_to_fix_parallel_build_fail_PR_57683.patch	Fri Nov 22 00:34:49 2013 +0100
@@ -0,0 +1,26 @@ 
+--- gcc-4.8.2/gcc/Makefile.in	2013-11-22 02:14:33.815230904 +0100
++++ gcc-4.8.2_patch/gcc/Makefile.in	2013-11-22 02:14:38.391230732 +0100
+@@ -3037,7 +3037,7 @@
+     $(TM_H) coretypes.h $(GIMPLE_H) \
+     $(TREE_PASS_H) $(FLAGS_H) $(EXPR_H) $(BASIC_BLOCK_H) \
+     $(GGC_H) $(OBSTACK_H) $(PARAMS_H) $(CPPLIB_H) $(PARAMS_H) \
+-    $(GIMPLE_PRETTY_PRINT_H) langhooks.h
++    $(GIMPLE_PRETTY_PRINT_H) langhooks.h $(OPTABS_H)
+ tree-complex.o : tree-complex.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
+     $(TM_H) $(FLAGS_H) $(TREE_FLOW_H) $(GIMPLE_H) \
+     tree-iterator.h $(TREE_PASS_H) tree-ssa-propagate.h
+@@ -3276,12 +3276,12 @@
+    $(TM_H) $(RTL_H) $(REGS_H) insn-config.h insn-codes.h $(DF_H) \
+    $(RECOG_H) output.h addresses.h $(REGS_H) hard-reg-set.h $(FLAGS_H) \
+    $(FUNCTION_H) $(EXPR_H) $(BASIC_BLOCK_H) $(TM_P_H) $(EXCEPT_H) \
+-   ira.h rtl-error.h $(LRA_INT_H)
++   ira.h rtl-error.h $(LRA_INT_H) $(OPTABS_H)
+ lra-eliminations.o : lra-eliminations.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
+    $(TM_H) $(RTL_H) $(REGS_H) insn-config.h $(DF_H) \
+    $(RECOG_H) output.h $(REGS_H) hard-reg-set.h $(FLAGS_H) $(FUNCTION_H) \
+    $(EXPR_H) $(BASIC_BLOCK_H) $(TM_P_H) $(EXCEPT_H) ira.h \
+-   rtl-error.h $(LRA_INT_H)
++   rtl-error.h $(LRA_INT_H) $(OPTABS_H)
+ lra-lives.o : lra-lives.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
+    $(RTL_H) $(REGS_H) insn-config.h $(DF_H) \
+    $(RECOG_H) output.h $(REGS_H) hard-reg-set.h $(FLAGS_H) $(FUNCTION_H) \
diff -r 7e569a9cb5fd -r 555cc9f853ac patches/gcc/4.8.2/001_gcc_4_8_2_backport_patches_to_fix_parallel_build_fail_PR_57683.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/gcc/4.8.2/001_gcc_4_8_2_backport_patches_to_fix_parallel_build_fail_PR_57683.patch	Fri Nov 22 00:34:49 2013 +0100
@@ -0,0 +1,26 @@ 
+--- gcc-4.8.2/gcc/Makefile.in	2013-11-22 02:14:33.815230904 +0100
++++ gcc-4.8.2_patch/gcc/Makefile.in	2013-11-22 02:14:38.391230732 +0100
+@@ -3037,7 +3037,7 @@
+     $(TM_H) coretypes.h $(GIMPLE_H) \
+     $(TREE_PASS_H) $(FLAGS_H) $(EXPR_H) $(BASIC_BLOCK_H) \
+     $(GGC_H) $(OBSTACK_H) $(PARAMS_H) $(CPPLIB_H) $(PARAMS_H) \
+-    $(GIMPLE_PRETTY_PRINT_H) langhooks.h
++    $(GIMPLE_PRETTY_PRINT_H) langhooks.h $(OPTABS_H)
+ tree-complex.o : tree-complex.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
+     $(TM_H) $(FLAGS_H) $(TREE_FLOW_H) $(GIMPLE_H) \
+     tree-iterator.h $(TREE_PASS_H) tree-ssa-propagate.h
+@@ -3276,12 +3276,12 @@
+    $(TM_H) $(RTL_H) $(REGS_H) insn-config.h insn-codes.h $(DF_H) \
+    $(RECOG_H) output.h addresses.h $(REGS_H) hard-reg-set.h $(FLAGS_H) \
+    $(FUNCTION_H) $(EXPR_H) $(BASIC_BLOCK_H) $(TM_P_H) $(EXCEPT_H) \
+-   ira.h rtl-error.h $(LRA_INT_H)
++   ira.h rtl-error.h $(LRA_INT_H) $(OPTABS_H)
+ lra-eliminations.o : lra-eliminations.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
+    $(TM_H) $(RTL_H) $(REGS_H) insn-config.h $(DF_H) \
+    $(RECOG_H) output.h $(REGS_H) hard-reg-set.h $(FLAGS_H) $(FUNCTION_H) \
+    $(EXPR_H) $(BASIC_BLOCK_H) $(TM_P_H) $(EXCEPT_H) ira.h \
+-   rtl-error.h $(LRA_INT_H)
++   rtl-error.h $(LRA_INT_H) $(OPTABS_H)
+ lra-lives.o : lra-lives.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
+    $(RTL_H) $(REGS_H) insn-config.h $(DF_H) \
+    $(RECOG_H) output.h $(REGS_H) hard-reg-set.h $(FLAGS_H) $(FUNCTION_H) \