From patchwork Fri May 25 23:38:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Bosscher X-Patchwork-Id: 161439 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 5B0E4B6F6E for ; Sat, 26 May 2012 09:38:29 +1000 (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=1338593910; h=Comment: DomainKey-Signature:Received:Received:Received:Received: MIME-Version:Received:Received:Date:Message-ID:Subject:From:To: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=HiiSwXb x8sp+Whn08HbJ9oi3Xio=; b=gs1zSi/zLo0FaWU7w+u+GuScWiEiIF92cokrOpj tW0Qdu5ZEHAlsPkeKkkTpVhvrdRrIQ9BGt4YJeS01dN01r6+2W7ECb2Efmf9LTOU 1fqt+PgrhyPTMmdFL9uNAaMU4FvFHeWxnaMOV8tzWBXR2OEZxD1jgpjbfBNaeyf4 17NI= 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:MIME-Version:Received:Received:Date:Message-ID:Subject:From:To:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=ACoMC8gbyAW93VFtQbE3FcPiSY+2SHD9sIO2axdyP+kW3ISZNik6+WhAKTOxK0 wNhf+87YQDvd5voHPIitvnGELqqpzEdKjCM4NgeSyst6Wm0p4dnovH1tJZvvbJ2p LuSIBPHpOSPokxJgF5i2AC5jsOeCmsqx6trcQMJYGrgeE=; Received: (qmail 23146 invoked by alias); 25 May 2012 23:38:24 -0000 Received: (qmail 23071 invoked by uid 22791); 25 May 2012 23:38:24 -0000 X-SWARE-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-yx0-f175.google.com (HELO mail-yx0-f175.google.com) (209.85.213.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 25 May 2012 23:38:10 +0000 Received: by yenl13 with SMTP id l13so807779yen.20 for ; Fri, 25 May 2012 16:38:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.191.2 with SMTP id f2mr518397yhn.120.1337989090326; Fri, 25 May 2012 16:38:10 -0700 (PDT) Received: by 10.100.116.6 with HTTP; Fri, 25 May 2012 16:38:10 -0700 (PDT) Date: Sat, 26 May 2012 01:38:10 +0200 Message-ID: Subject: [patch] Fixes to make check_makefile_deps.sh work again From: Steven Bosscher To: Ralf Wildenhues , GCC Patches X-IsSubscribed: yes 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 Hello, The following patch was necessary to make check_makefile_deps.sh work on powerpc64-unknown-linux-gnu. Is this OK? Ciao! Steven # Files which show up as dependencies other than through unconditional #include. # This is an egrep pattern. @@ -34,7 +34,7 @@ set -e st=0 -if test -f c-common.o; then :; else +if test -f c-family/c-common.o; then :; else echo "$0: rerun in an up to date build-tree/gcc directory" >&2 exit 1 fi Index: contrib/ChangeLog =================================================================== --- contrib/ChangeLog (revision 187901) +++ contrib/ChangeLog (working copy) @@ -1,3 +1,8 @@ +2012-05-25 Steven Bosscher + + * check_makefile_deps.sh: Add ecrti.o and ecrtn.o to the list of + objects to skip unconditionaly. Check for c-common.o in c-family/. + 2012-05-25 H.J. Lu PR bootstrap/53472 Index: contrib/check_makefile_deps.sh =================================================================== --- contrib/check_makefile_deps.sh (revision 187901) +++ contrib/check_makefile_deps.sh (working copy) @@ -19,7 +19,7 @@ # Skip some objects unconditionally; make sure each name in this list is # surrounded by spaces. -skip=" crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o crtfastmath.o crtprec64.o crtprec80.o crtprec32.o " +skip=" crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o crtfastmath.o crtprec64.o crtprec80.o crtprec32.o ecrti.o ecrtn.o "