From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21927 invoked by alias); 11 Oct 2003 19:38:03 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 21920 invoked from network); 11 Oct 2003 19:38:02 -0000 Received: from unknown (HELO atrey.karlin.mff.cuni.cz) (195.113.31.123) by sources.redhat.com with SMTP; 11 Oct 2003 19:38:02 -0000 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 4018) id C664E4C027E; Sat, 11 Oct 2003 21:38:01 +0200 (CEST) Date: Sun, 12 Oct 2003 00:29:00 -0000 From: Jan Hubicka To: Bernardo Innocenti Cc: gcc@gcc.gnu.org Subject: Re: make profiledbootstrap broken? Message-ID: <20031011193801.GF14661@atrey.karlin.mff.cuni.cz> References: <3F877658.7050307@develer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F877658.7050307@develer.com> User-Agent: Mutt/1.3.28i X-SW-Source: 2003-10/txt/msg00406.txt.bz2 > Hello, > > is it just me doing something wrong or the profiledbootstrap > feature is currently broken in mainline? > > It seems some source files are missing the accompaning .gcda file: > > > stage1/xgcc -Bstage1/ > -B/usr/local/src/gcc_combined/i386-linux-HEAD-install/i686-pc-linux-gnu/bin/ -c -g -O2 -fbranch-probabilities -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I../../combined-HEAD/gcc -I../../combined-HEAD/gcc/. -I../../combined-HEAD/gcc/../include ../../combined-HEAD/gcc/resource.c -o resource.o > ../../combined-HEAD/gcc/resource.c: In function > `clear_hashed_info_for_insn': > > ../../combined-HEAD/gcc/resource.c:1280: warning: file resource.gcda not > found, execution counts assumed to be zero The problem is that Makefile now incorrectly pass -Werror for profilestage flags. This is fixed by patch I sent some time ago but it wasn't reviewed yet. You may work around by disabling -Werror in configure (don't remmber the name of flag) Honza > make[2]: *** [resource.o] Error 1 > make[2]: Leaving directory > `/usr/local/src/gcc_combined/i386-linux-HEAD-build/gcc' > make[1]: *** [stagefeedback_build] Error 2 > make[1]: Leaving directory > `/usr/local/src/gcc_combined/i386-linux-HEAD-build/gcc' > make: *** [profiledbootstrap] Error 2 > > > -- > // Bernardo Innocenti - Develer S.r.l., R&D dept. > \X/ http://www.develer.com/ > > Please don't send Word attachments - > http://www.gnu.org/philosophy/no-word-attachments.html > >