Author: Kaveh R. GHAZI Date: To: Diego Novillo CC: gcc, gcc-patches Subject: Re: Bootstrap failures due to C++ warnings with --enable-gather-detailed-memory-stats
On Thu, 3 Jul 2008, Kaveh R. GHAZI wrote:
> On Thu, 3 Jul 2008, Diego Novillo wrote:
>
> > > Can you suggest a few things to try? E.g. I did --with-gc=zone and a
> > > couple of errors cropped up. If there are other configurations that come
> > > to mind, let me know.
> >
> > I had these in mind:
> >
> > --disable-checking
> > --enable-checking=all,valgrind (you got time to go on holiday with this one)
> > --enable-coverage
> > Diego.
>
> I tried --disable-checking and --enable-coverage, no problems bootstrap
> completed. Using --with-gc=zone had some warnings which are fixed below.
> I'll try extra --enable-checking options overnight.
So I tried --enable-checking=all,valgrind and it died in stage2 running
genautomata. Plus it took a hideously long time even on an 8x cpu box
just to get that far.
Then I tried a --disable-bootstrap configuration using a regular recent
mainline build in CC just to see the warnings. That died in the same
place. When I switched to gcc-4.3 in CC then I could at least make the
entire directory once to see the warnings. There was only one additional
warning in this configuration.
Tested via "make gcc.o" on x86_64-unknown-linux-gnu configured with
--disable-bootstrap --enable-checking=all,valgrind. The one warning was
eliminated.