This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [CVS 980420] Fixproto and stdlib.h - final(?-) PATCH included
- To: ghazi at caip dot rutgers dot edu
- Subject: Re: [CVS 980420] Fixproto and stdlib.h - final(?-) PATCH included
- From: Manfred Hollstein <manfred at s-direktnet dot de>
- Date: Sat, 25 Apr 1998 11:47:59 +0200 (MEST)
- Cc: egcs-bugs at cygnus dot com
- References: <199804241632.MAA15358@caip.rutgers.edu><13632.56872.181735.96180@saturn.s-direktnet.de>
- Reply-To: Manfred Hollstein <manfred at s-direktnet dot de>, Manfred dot Hollstein at ks dot sel dot alcatel dot de
On Fri, 24 April 1998, 20:51:57, manfred@s-direktnet.de wrote:
> On Fri, 24 April 1998, 12:32:37, ghazi@caip.rutgers.edu wrote:
>
> > > From: manfred@s-direktnet.de
> > >
> > > On Tue, 21 April 1998, 13:06:41, ghazi@caip.rutgers.edu wrote:
> > >
> > > >
> > > > Maybe having libgcc2.ready depend on STMP_FIXPROTO is along the
> > > > correct lines. But an expert should verify if this is sufficient. (I'm
> > > > not sure it is complete.)
> > >
> > > Yep, looks like libgcc2.ready is the right one. Since I don't have a
> > > MP system available, I can't check, if it's actually sufficient;
> > > but, IMHO this should work:
> > >
> > > Thu Apr 23 09:41:47 1998 Manfred Hollstein <manfred@s-direktnet.de>
> > >
> > > * Makefile.in (libgcc2.ready): Add explicit dependancy from
> > > $(STMP_FIXPROTO) to ensure all necessary include files have
> > > been created and to guarantee proper parallel builds.
> >
> >
> >
> >
> > Hey, I said "maybe"!!! :-) :-)
> >
> > It turns out this patch breaks certain build. When I build
> > egcs-19980418 (+ your patch) on mips-sgi-irix6.2, I get warnings from
> > gnu make about "Circular" dependencies. And the build goes into an
> > infinite loop and eventually crashes.
>
> I'm sorry it doesn't work for you. Which patch did you apply? You
> should have used only the final one, which simply adds
> $(STMP_FIXPROTO) to libgcc2.ready's dependencies. I've built the
> current CVS tree today on sparc-sun-solaris2.5.1 and 2.6 and didn't
> observe any such problems; but these aren't multilib'ed. Perhaps this
> is the reason for your problem. I'll investigate.
>
> >
> > Here are some diagnostics:
> >
> > > make[2]: Circular stmp-fixproto <- stmp-headers dependency dropped.
> > > [......]
> > > make[4]: Circular stmp-multilib <- libgcc2.ready dependency dropped.
> > > [...]
> > > make[6]: Circular stmp-multilib <- libgcc2.ready dependency dropped.
> > > [...]
Today I took yesterday's CVS sources (the same I used for the Solaris
builds), hacked the i586-linux-gnulibc1 configuration to be
a. multilib'ed for mcpu=pentium/mcpu=i486
b. using LIBGCC=stmp-multilib
c. using fixinc.svr4 for fixing include files
d. and defining STMP_FIXPROTO to be stmp-fixproto
Using this tree I wasn't able to reproduce your problem, neither when
running gmake sequentially nor when giving `-j 4' to GNU make. It
looks to me, like you still have the prior patches applied. You should
update gcc/Makefile.in from the current CVS sources.
Please tell me, if this works for you.
manfred