This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
build failure
- From: Greg Schafer <gschafer at zip dot com dot au>
- To: binutils at sourceware dot org
- Cc: "H. J. Lu" <hjl at lucon dot org>
- Date: Tue, 15 May 2007 08:40:03 +1000
- Subject: build failure
Hi
Trying to bootstrap recent binutils (2.17.50.0.16 by HJ) from an ancient
RH62 system and the build is bombing in gprof. Compiler is egcs-2.91.66. Any
takers?
I guess this commit has something to do with it:
http://sourceware.org/ml/binutils-cvs/2007-04/msg00038.html
Thanks
Greg
gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.17.50.0.16/gprof -I. -D_GNU_SOURCE -DDEBUG -I../bfd -I../../binutils-2.17.50.0.16/gprof/../include -I../../binutils-2.17.50.0.16/gprof/../bfd -I. -DLOCALEDIR="\"/temptools/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe -c ../../binutils-2.17.50.0.16/gprof/hist.c
../../binutils-2.17.50.0.16/gprof/hist.c: In function `scale_and_align_entries':
../../binutils-2.17.50.0.16/gprof/hist.c:301: parse error before `*'
../../binutils-2.17.50.0.16/gprof/hist.c:303: `r' undeclared (first use in this function)
../../binutils-2.17.50.0.16/gprof/hist.c:303: (Each undeclared identifier is reported only once
../../binutils-2.17.50.0.16/gprof/hist.c:303: for each function it appears in.)
../../binutils-2.17.50.0.16/gprof/hist.c:294: warning: `bin_of_entry' might be used uninitialized in this function
../../binutils-2.17.50.0.16/gprof/hist.c:295: warning: `bin_of_code' might be used uninitialized in this function
../../binutils-2.17.50.0.16/gprof/hist.c: At top level:
../../binutils-2.17.50.0.16/gprof/hist.c:740: warning: `find_histogram_for_pc' defined but not used
make[4]: *** [hist.o] Error 1
make[4]: Leaving directory `/mnt/sysroot/temptools/src/binutils-build/gprof'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/mnt/sysroot/temptools/src/binutils-build/gprof'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mnt/sysroot/temptools/src/binutils-build/gprof'
make[1]: *** [all-gprof] Error 2
make[1]: Leaving directory `/mnt/sysroot/temptools/src/binutils-build'
make: *** [all] Error 2