This is the mail archive of the gcc-bugs@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]

Re: [CVS 980420] Fixproto and stdlib.h - final(?-) PATCH included


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


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