Building g++ fails

NightStrike nightstrike@gmail.com
Thu Oct 4 04:38:00 GMT 2007


On 10/2/07, NightStrike <nightstrike@gmail.com> wrote:
> On 10/2/07, Tim Prince <tprince@computer.org> wrote:
> > NightStrike wrote:
> > > I can't build g++ anymore.  I get this during a make all:
> > >
> > > .../../../gcc/libgcc/../gcc/libgcov.c: In function '__gcov_execve':
> > > .../../../gcc/libgcc/../gcc/libgcov.c:948: warning: passing argument 2
> > > of 'execve' from incompatible pointer type
> > > .../../../gcc/libgcc/../gcc/libgcov.c:948: warning: passing argument 3
> > > of 'execve' from incompatible pointer type
> > > configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
> > > make[1]: *** [configure-target-libstdc++-v3] Error 1
> > > make: *** [all] Error 2
> > >
> > I suppose, if you don't want to fix your header files, you could blank
> > out the WERROR macro in libcpp/Makefile.in, so that warnings are not
> > treated as fatal.  Since you didn't mention having done so.
> >
>
> The warning isn't treated as fatal.  The error is that configure dies.
>

I submitted a bug report:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33652



More information about the Gcc-help mailing list