From patchwork Thu Mar 1 08:11:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 143946 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]) by ozlabs.org (Postfix) with SMTP id B4FF1B6F62 for ; Thu, 1 Mar 2012 19:12:40 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1331194362; h=Comment: DomainKey-Signature:Received:Received:Received:Received: Received-SPF:Received:Received:Received:From:To:Cc:Subject:Date: Message-Id:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=+p5Pm0b 3biV8Ef8cvckF969gX6Y=; b=utzDviCdpJXfpuKmyCc/7sb0KQlnsNF9dCASmNW iVmg9XUPXgRXwVmY37mbT3ilz7HiDMtukmQfSI9LQybJF60OK+dA1XDIzNcILP0f PL0QXtCjto53yylKW4Z2yP3u8evTsQqa0yvGkM1rgpyh0s0Gx3VkE6xT1goyQ7Yf zg6U= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received-SPF:Authentication-Results:Received:Received:Received:From:To:Cc:Subject:Date:Message-Id:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=EpcUzIZs1IILIuxP9jd4wzOn7nZOVUYp6SnHAg05wE4Eg26h1E4mHZNgqitl+y KNXX+peTLqFf9NCiWZEo/OyMfGUuDx5RYY2+Hm1Ph3x4ahq20c3ON7jhW+xhblv+ XyNpbfTNY16tqvSVdhWPrbOU5S9wuy1t7WltxFQGG82r8=; Received: (qmail 16464 invoked by alias); 1 Mar 2012 08:12:35 -0000 Received: (qmail 16453 invoked by uid 22791); 1 Mar 2012 08:12:33 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-pw0-f47.google.com (HELO mail-pw0-f47.google.com) (209.85.160.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 01 Mar 2012 08:12:17 +0000 Received: by pbbrp12 with SMTP id rp12so570664pbb.20 for ; Thu, 01 Mar 2012 00:12:16 -0800 (PST) Received-SPF: pass (google.com: domain of raj.khem@gmail.com designates 10.68.200.234 as permitted sender) client-ip=10.68.200.234; Authentication-Results: mr.google.com; spf=pass (google.com: domain of raj.khem@gmail.com designates 10.68.200.234 as permitted sender) smtp.mail=raj.khem@gmail.com; dkim=pass header.i=raj.khem@gmail.com Received: from mr.google.com ([10.68.200.234]) by 10.68.200.234 with SMTP id jv10mr14916466pbc.17.1330589536604 (num_hops = 1); Thu, 01 Mar 2012 00:12:16 -0800 (PST) Received: by 10.68.200.234 with SMTP id jv10mr12293941pbc.17.1330589536515; Thu, 01 Mar 2012 00:12:16 -0800 (PST) Received: from leto.gateway.2wire.net (99-57-140-209.lightspeed.sntcca.sbcglobal.net. [99.57.140.209]) by mx.google.com with ESMTPS id d4sm1460339pbe.36.2012.03.01.00.12.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 01 Mar 2012 00:12:15 -0800 (PST) From: Khem Raj To: gcc-patches@gcc.gnu.org Cc: Khem Raj Subject: [PATCH] Fix parallel build Date: Thu, 1 Mar 2012 00:11:58 -0800 Message-Id: <1330589518-3292-1-git-send-email-raj.khem@gmail.com> Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org When building in parallel (with -j8 here) install-gcc-ar sometimes wants to install file before the destination directory is created. 2012-02-29 Khem Raj * Makefile.in (install-gcc-ar): Add dependency on installdirs. --- gcc/Makefile.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index f6cf8ff..91c5794 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -4811,7 +4811,7 @@ install-collect2: collect2 installdirs install-lto-wrapper: lto-wrapper$(exeext) $(INSTALL_PROGRAM) lto-wrapper$(exeext) $(DESTDIR)$(libexecsubdir)/lto-wrapper$(exeext) -install-gcc-ar: +install-gcc-ar: installdirs set -e ; \ for i in ar nm ranlib ; do \ install_name=`echo gcc-$$i|sed '$(program_transform_name)'`$(exeext) ;\