From patchwork Fri Sep 21 19:33:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jack Howarth X-Patchwork-Id: 185889 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 535A02C007A for ; Sat, 22 Sep 2012 05:33:52 +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=1348860833; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:User-Agent:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=XNLC7Mi/TMjoRNU0YktknZ2WrX0=; b=SZiBPGNc4UslpTf iMSpbk0A92iYg0Q7FjZ/gtx+JIYJX5t0O+XupyQZQEDkjkfKtML9xAY2ssvLE4HI D0TKoS79UavyhCAoY6hR8O6r4Tz5KXKcoTqpykGavZjPfKcUYEcxSgINL44HLHGb guYcUEmGGIyp1MdYZUeO7fuw9y0Q= 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:Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type:Content-Disposition:User-Agent:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=k5+z61X0m4ljvd7c1ENDp3kRyWZz96HWcG6CEr4Y3B9E9kVoD2EOIs18avvNar OgyD9OYCw6mv2C9oj4LBFokAjitby9P3bkq/cyFwWQS3v+RZSHRF8ki1rt5TybTh BjivNsKoOEvrFGi/J/XdL3nAJicm0hUfvWxRvwCxDxpOk=; Received: (qmail 18446 invoked by alias); 21 Sep 2012 19:33:45 -0000 Received: (qmail 18437 invoked by uid 22791); 21 Sep 2012 19:33:44 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from bromo.med.uc.edu (HELO bromo.med.uc.edu) (129.137.3.146) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 21 Sep 2012 19:33:30 +0000 Received: from bromo.med.uc.edu (localhost.localdomain [127.0.0.1]) by bromo.med.uc.edu (Postfix) with ESMTP id C06A9400007; Fri, 21 Sep 2012 15:33:28 -0400 (EDT) Received: (from howarth@localhost) by bromo.med.uc.edu (8.14.3/8.14.3/Submit) id q8LJXRrC031981; Fri, 21 Sep 2012 15:33:27 -0400 Date: Fri, 21 Sep 2012 15:33:27 -0400 From: Jack Howarth To: gcc-patches@gcc.gnu.org Cc: jakub@redhat.com, ebotcazou@libertysurf.fr, jh@suse.cz Subject: [PATCH] fix PR bootstrap/54642 Message-ID: <20120921193327.GA31979@bromo.med.uc.edu> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) 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 The attached patch solves the bootstrap failures in PR54642 where the file lto-symtab.o is rebuilt during 'make install' by the system compiler due to the dangling dependency left on gt-lto-symtab.h for lto-symtab.o. Tested on x86_64-apple-darwin12 against clang/clang++ of Xcode 4.5. Okay for gcc trunk? Jack 2012-09-21 Jack Howarth PR bootstrap/54642 * Makefile.in (lto-symtab.o): Remove gt-lto-symtab.h dependency. Index: gcc/Makefile.in =================================================================== --- gcc/Makefile.in (revision 191617) +++ gcc/Makefile.in (working copy) @@ -2156,7 +2156,7 @@ lto-section-out.o : lto-section-out.c $( $(DATA_STREAMER_H) lto-symtab.o: lto-symtab.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(TREE_H) $(GIMPLE_H) $(GGC_H) $(HASHTAB_H) \ - $(LTO_STREAMER_H) $(LINKER_PLUGIN_API_H) gt-lto-symtab.h + $(LTO_STREAMER_H) $(LINKER_PLUGIN_API_H) lto-opts.o: lto-opts.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \ $(HASHTAB_H) $(GGC_H) $(BITMAP_H) $(FLAGS_H) $(OPTS_H) $(OPTIONS_H) \ $(COMMON_TARGET_H) $(DIAGNOSTIC_H) $(LTO_STREAMER_H)