From patchwork Thu May 9 03:41:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chung-Ju Wu X-Patchwork-Id: 242706 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 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 4E8712C00D8 for ; Thu, 9 May 2013 13:41:21 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; q= dns; s=default; b=HFs4NFT2JlfSafuYzIqQ3ySBngf/AT72N7vRkeCY5LvJr+ CYSmz16hy2TpYCaffBmnDX35gU4bqvcmkGBw5BQHEd5i5Hsb+PvSt/FoT34UWeFy tKSkaQecqsxMZ4xmxfWP0tEic+U7KoWmZgMk6uusFSpJBP///9ArqVPcVbdiA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; s= default; bh=U+XXSN/7yY+kZjL0KyTZSkUvrmU=; b=IopSGUpS74BFYzH2EH/T yjQgckXFXX2O4UEqEbS7OXqbxeMIS0rduvK2Q5c5Rm852F66kQY9FrWNAIdmun9h YkGYAmjFa8K2ou+x+rZOmq7fJ3To5XeA1+yTDE45Bx9haKAAPujHW5wcjagFLyYn JKPlvnPuuoH8kRokStmqeX4= Received: (qmail 2019 invoked by alias); 9 May 2013 03:41:15 -0000 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 Received: (qmail 2007 invoked by uid 89); 9 May 2013 03:41:15 -0000 X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_HOSTKARMA_YE, SPF_PASS, TW_UC autolearn=ham version=3.3.1 Received: from mail-pd0-f181.google.com (HELO mail-pd0-f181.google.com) (209.85.192.181) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 09 May 2013 03:41:13 +0000 Received: by mail-pd0-f181.google.com with SMTP id p11so1705399pdj.12 for ; Wed, 08 May 2013 20:41:12 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.66.245.110 with SMTP id xn14mr11099872pac.130.1368070872113; Wed, 08 May 2013 20:41:12 -0700 (PDT) Received: by 10.68.141.171 with HTTP; Wed, 8 May 2013 20:41:11 -0700 (PDT) Date: Thu, 9 May 2013 11:41:11 +0800 Message-ID: Subject: [Patch][gcc-4_7-branch] Backport trunk revision 187838 into gcc-4_7-branch From: Chung-Ju Wu To: gcc patches , bonzini@gnu.org, hainque@adacore.com Hi, all, There was a patch to remove libgcc_tm.stamp when developers manually issue "make clean-target-libgcc" (under top-level build folder) or "make clean" (under BUILD-FOLDER/TARGET/libgcc). Without that patch, we cannot successfully do "make all-target-libgcc" again due to that we remove libgcc_tm.h but not libgcc_tm.stamp. It would complain nonexistence of libgcc_tm.h during the libgcc building process: fatal error: libgcc_tm.h: No such file or directory According to the discussion thread last year, I thought it has been committed into gcc-4_7-branch: http://gcc.gnu.org/ml/gcc-patches/2012-05/msg01630.html http://gcc.gnu.org/ml/gcc-patches/2012-05/msg01636.html But by checking out 4.7 branch repository, I notice that it is only committed into the trunk (r187838) on that time. Since gcc-4_7-branch is still open and there will be 4.7.4 release, is it OK to backport r187838 into gcc-4_7-branch? libgcc/ChangeLog 2013-05-09 Chung-Ju Wu Backport from mainline 2012-05-24 Olivier Hainque * Makefile.in (clean): Remove libgcc_tm.stamp as well. Use a separate command for stamp removals. Best regards, jasonwucj Index: libgcc/Makefile.in =================================================================== --- libgcc/Makefile.in (revision 198729) +++ libgcc/Makefile.in (working copy) @@ -121,7 +121,8 @@ .PHONY: all clean clean: - -rm -f config.h libgcc_tm.h stamp-h stmp-ldirs libgcc.map + -rm -f config.h libgcc_tm.h libgcc.map + -rm -f libgcc_tm.stamp stamp-h stmp-ldirs -rm -f *$(objext) -rm -f *.dep -rm -f *.a