This is the mail archive of the gcc-help@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: Building g++ fails


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


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