Silly branch compile failure, stage 1
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Mon Apr 2 11:15:00 GMT 2001
> From: Neil Booth <neil@daikokuya.demon.co.uk>
>
> Kaveh R. Ghazi wrote:-
>
> > I don't see this on my x86-linux system through last night.
> >
> > It looks like configure isn't correctly noticing that you already have
> > decls for getrlimit & setrlimit. Can you look in config.log and see
> > why the check for that fails?
>
> Yes, you're right. I didn't have time to investigate; I had to go to
> work :-)
>
> checking whether getrlimit is declared... no
> checking whether setrlimit is declared... no
>
> The following is the fragment from the log. setrlimit is similar.
>
> configure:3836: checking whether getrlimit is declared
> configure:3859: gcc -c -g -O2 -I../../gcc -I../../gcc/../include conftest.c 1>&5
> ../../gcc: Function not implemented
> configure:3845:23: gansidecl.h: No such file or directory
> configure:3846:20: system.h: No such file or directory
> configure: failed program was:
This is the crucial bit, the tests are spuriously failing because they
can't find these include files. The -I flags passed in look strange.
I think you need to look at why these don't match up. Are you by
chance building in a subdirectory of the srcdir? (I don't think that
is supported.)
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions
More information about the Gcc-bugs
mailing list