From patchwork Sun Nov 24 11:00:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Zimmermann X-Patchwork-Id: 293742 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A02422C00BC for ; Sun, 24 Nov 2013 22:01:10 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version :content-transfer-encoding:subject:message-id:date:from:to:cc; q=dns; s=default; b=FqurLPzU5E+cki8JMujcnaBAXjwNeQUFTthg/oqCSMM KhKzWVwymtpOeplkzOZN3rPAemQKM6mX1M1h6iflSkCSMLHUHyzx4amV3a0vtEO4 JYHdIV63IYT4dutpmMsLmOjG9IJHEHqPyJMD5MN5kcWt1u/K+6XmrrvO/GcrUwv8 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version :content-transfer-encoding:subject:message-id:date:from:to:cc; s=default; bh=UYyBVO/eqVc8V74Njq33dzaPi8M=; b=pcvBaaMa3vIMdK2gG FiPA1N04L5NqzOPhg/3oUnY5NCnZW9sFdtloDiTlVMunw8R6DalWC6hkhVRtpUf7 D7/z9ri25qbxX/3X2SfgegP6K1+baNIkiDVO2m6bHYDEB88mJP767ckkXo2cq2yI 6AWjxTDByjF9t3578yD/GA2pzc= Received: (qmail 29097 invoked by alias); 24 Nov 2013 11:00:59 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 29087 invoked by uid 89); 24 Nov 2013 11:00:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=AWL, BAYES_50, FREEMAIL_FROM, RDNS_NONE, SPF_PASS, URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: mail-ea0-f169.google.com Received: from Unknown (HELO mail-ea0-f169.google.com) (209.85.215.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 24 Nov 2013 11:00:57 +0000 Received: by mail-ea0-f169.google.com with SMTP id l9so1709190eaj.0 for ; Sun, 24 Nov 2013 03:00:48 -0800 (PST) X-Received: by 10.14.101.4 with SMTP id a4mr28711023eeg.28.1385290847897; Sun, 24 Nov 2013 03:00:47 -0800 (PST) Received: from [127.0.1.1] (dslb-088-066-032-109.pools.arcor-ip.net. [88.66.32.109]) by mx.google.com with ESMTPSA id o1sm34074112eea.10.2013.11.24.03.00.46 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 24 Nov 2013 03:00:47 -0800 (PST) MIME-Version: 1.0 Subject: [PATCH] cc/gcc: fix parallel build with gcc 4.8.0, 4.8.1 and 4.8.2 X-Mercurial-Node: 66398633eea949023e0d0e6786b4b503f628efe3 Message-Id: <66398633eea949023e0d.1385290839@haus-VirtualBox> User-Agent: Mercurial-patchbomb/2.6.3 Date: Sun, 24 Nov 2013 12:00:39 +0100 From: Daniel Zimmermann To: "Yann E. MORIN" Cc: crossgcc@sourceware.org # HG changeset patch # User Daniel Zimmermann # 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 PR bootstrap/57683 Backport from mainline: r197467 and r198999. 2013-04-03 Jeff Law * Makefile.in (lra-constraints.o): Depend on $(OPTABS_H). (lra-eliminations.o): Likewise. 2013-05-16 Jeff Law * Makefile.in (tree-switch-conversion.o): Depend on $(OPTABS_H). Signed-off-by: "Daniel Zimmermann" --- For unsubscribe information see http://sourceware.org/lists.html#faq 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) \