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

login
register
mail settings
Submitter Daniel Zimmermann
Date Nov. 24, 2013, 11 a.m.
Message ID <66398633eea949023e0d.1385290839@haus-VirtualBox>
Download mbox | patch
Permalink /patch/293742/
State Accepted
Commit 032ebcc89c96
Headers show

Comments

Daniel Zimmermann - Nov. 24, 2013, 11 a.m.
# HG changeset patch
# User Daniel Zimmermann <netzimme@gmail.com>
# Date 1385076889 -3600
#      Fri Nov 22 00:34:49 2013 +0100
# Node ID 66398633eea949023e0d0e6786b4b503f628efe3
# 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=57683

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
Yann E. MORIN - Dec. 12, 2013, 10:39 p.m.
Daniel, All,

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

has been applied as: #032ebcc89c96
    http://crosstool-ng.org/hg/crosstool-ng/rev/032ebcc89c96

Thank you!

Regards,
Yann E. MORIN.



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

Patch

diff -r 7e569a9cb5fd -r 66398633eea9 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 66398633eea9 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 66398633eea9 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) \