From patchwork Sun Jan 12 20:10:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Patrick Palka X-Patchwork-Id: 309631 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)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 93E612C009C for ; Mon, 13 Jan 2014 07:11:09 +1100 (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:cc:content-type :content-transfer-encoding; q=dns; s=default; b=k2N3bRXs+DHNKXgO Zx+q8sT6q+5Bk3iZhA8vlGSL2JQQdKvKSmIHdGukzXHxrK9SFLa/AZdrVygMU1cW cV/qommw4Lc8LHJDb7xhPb7ucD6COc/rUsUnIDkvqBj2ZQwGAeOM3sGix4FYcm6G cbE5oa/eZqgI9S5tWInRk5oieME= 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:cc:content-type :content-transfer-encoding; s=default; bh=4triOJd61KOUpApkpBlpgx UgZdM=; b=NmHdCiynEQ2OEHp5fIP4Y93WUNvCSpmXk+19v4Qxz7adda6cXQuOiV KHnxVzB3TBgAyoPVx8c41zXWIL+eIvJtHwRDbXeKXM3h8WyTCmNIWMzsD0mL3A0R 8ckEFFqcGVEbs2I3KeWdabx+20LGDdP0MbZHpArtscsV1/12vLqos= Received: (qmail 3301 invoked by alias); 12 Jan 2014 20:11:00 -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 3289 invoked by uid 89); 12 Jan 2014 20:10:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: mail-pa0-f44.google.com Received: from mail-pa0-f44.google.com (HELO mail-pa0-f44.google.com) (209.85.220.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 12 Jan 2014 20:10:56 +0000 Received: by mail-pa0-f44.google.com with SMTP id kq14so256767pab.31 for ; Sun, 12 Jan 2014 12:10:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=my98DtpdxEDNIBrX8ipSrCcqoauFUx3qa7W2paXOGeM=; b=T+yZOuQ7P3IAj/7r8WJyX9XychWm9Jpq5Btoq9i2u594HtzbtD8GKFa9kFUpqJ1zFC jm5m469hAGYOqrkZB0QpJFVG66RIlp9t9xP5Oyt3xZnSgJjGXEin6J8e14JJa3DoQNQF yrgTdTrJvaSATkv2xQZ8PNHiZwTi6g4R4rSD7IeXNEMTy6HgX2i+V2SXpQKqroUGtLHG l1LkaPyoWOIH2vrjbZgzZT9y1hTEUQYk7x5WfJsg6UL1rX7IrscaAX12x5iLc2FgBUu8 OveSVL4JzRFc6FBbsUF1gRMquS/m6mbUlHzG79RHUQaYd4Ae1+bzJxRXi2pxo8ZyBqLc MdcA== X-Gm-Message-State: ALoCoQnMFj2/MVwEtxvq9HyHa0KJDn22KuMtNpnxKkaun5KOoJT78G2MHCTN8bhSpGnItav7QYSG MIME-Version: 1.0 X-Received: by 10.68.66.103 with SMTP id e7mr25242536pbt.120.1389557452868; Sun, 12 Jan 2014 12:10:52 -0800 (PST) Received: by 10.70.38.232 with HTTP; Sun, 12 Jan 2014 12:10:52 -0800 (PST) Date: Sun, 12 Jan 2014 15:10:52 -0500 Message-ID: Subject: [PATCH] Fix a nonfatal build error From: Patrick Palka To: cmtice@google.com Cc: gcc-patches@gcc.gnu.org This patch fixes the cause of the following build output during a non-bootstrap build: make[2]: Entering directory `/home/patrick/code/gcc-build/x86_64-unknown-linux-gnu/libgcc' # If this is the top-level multilib, build all the other # multilibs. # Early copyback; see "all" above for the rationale. The # early copy is necessary so that the gcc -B options find # the right startup files when linking shared libgcc. /bin/bash ../../../gcc/libgcc/../mkinstalldirs ../.././gcc parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"; \ for file in $parts; do \ rm -f ../.././gcc/$file; \ /usr/bin/install -c -m 644 $file ../.././gcc/; \ case $file in \ *.a) \ ranlib ../.././gcc/$file ;; \ esac; \ done /usr/bin/install: cannot stat ‘vtv_start.o’: No such file or directory /usr/bin/install: cannot stat ‘vtv_end.o’: No such file or directory /usr/bin/install: cannot stat ‘vtv_start_preinit.o’: No such file or directory /usr/bin/install: cannot stat ‘vtv_end_preinit.o’: No such file or directory The vtv_*.o files are only built when vtable verification is enabled (--enable-vtable-verify) and are otherwise nonexistent. Therefore these object files should only be added to $(EXTRA_PARTS) when vtable verification is enabled. 2014-01-11 Patrick Palka * config.host (extra_parts): Don't include vtv_*.o objects unless vtable verification is enabled. + fi ;; *-*-lynxos*) tmake_file="$tmake_file t-lynx $cpu_type/t-crtstuff t-crtstuff-pic t-libgcc-pic" --- a/libgcc/config.host +++ b/libgcc/config.host @@ -209,7 +209,10 @@ case ${host} in ;; *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu) tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-linux" - extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o" + extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" + if test $enable_vtable_verify = yes; then + extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o"