This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: make profiledbootstrap broken?


> 
> Hello,
> 
> is it just me doing something wrong or the profiledbootstrap
> feature is currently broken in mainline?

Yes it is but a work around is to use --disable-werror.
The patch to really fix it is here: <http://gcc.gnu.org/ml/gcc-patches/2003-09/msg02061.html>.

Thanks,
Andrew Pinski

> 
> 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
> 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
> 
> 
> 
> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]