public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* make profiledbootstrap broken?
@ 2003-10-11  6:05 Bernardo Innocenti
  2003-10-11  6:11 ` Andrew Pinski
  2003-10-12  0:29 ` Jan Hubicka
  0 siblings, 2 replies; 4+ messages in thread
From: Bernardo Innocenti @ 2003-10-11  6:05 UTC (permalink / raw)
  To: gcc

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: make profiledbootstrap broken?
  2003-10-11  6:05 make profiledbootstrap broken? Bernardo Innocenti
@ 2003-10-11  6:11 ` Andrew Pinski
  2003-10-11 11:08   ` Bernardo Innocenti
  2003-10-12  0:29 ` Jan Hubicka
  1 sibling, 1 reply; 4+ messages in thread
From: Andrew Pinski @ 2003-10-11  6:11 UTC (permalink / raw)
  To: Bernardo Innocenti; +Cc: gcc

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: make profiledbootstrap broken?
  2003-10-11  6:11 ` Andrew Pinski
@ 2003-10-11 11:08   ` Bernardo Innocenti
  0 siblings, 0 replies; 4+ messages in thread
From: Bernardo Innocenti @ 2003-10-11 11:08 UTC (permalink / raw)
  To: Andrew Pinski; +Cc: gcc

Andrew Pinski wrote:

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

I confirm your patch fixed the problem for me. Thanks!

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: make profiledbootstrap broken?
  2003-10-11  6:05 make profiledbootstrap broken? Bernardo Innocenti
  2003-10-11  6:11 ` Andrew Pinski
@ 2003-10-12  0:29 ` Jan Hubicka
  1 sibling, 0 replies; 4+ messages in thread
From: Jan Hubicka @ 2003-10-12  0:29 UTC (permalink / raw)
  To: Bernardo Innocenti; +Cc: gcc

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-10-11 19:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-11  6:05 make profiledbootstrap broken? Bernardo Innocenti
2003-10-11  6:11 ` Andrew Pinski
2003-10-11 11:08   ` Bernardo Innocenti
2003-10-12  0:29 ` Jan Hubicka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).