This is the mail archive of the gcc-patches@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: The parallel make bug in gcc and gcc/cp


> 
> On Wed, Oct 27, 1999 at 11:02:07PM -0700, H.J. Lu wrote:
> 
> > There is a parallel make bug in gcc and gcc/cp. The problem is
> 
> Currently, when I do 'make MAKE="make -j4" -j4 bootstrap' with CVS, I
> get a failure along the lines of "unrecognized object type". I assume

I got similar error, but not every time.

> this is because I'm going too fast somewhere... I have a dual P3/450
> workstation with 256mb RAM. If I build with -j2 gcc builds fine.
> 
> 

Could you please try this patch?

Thanks.

H.J.
-- 
H.J. Lu (hjl@gnu.org)
---
Thu Oct 28 08:21:13 1999  H.J. Lu  <hjl@gnu.org>

	* Make-lang.in (cplib2.ready): Also depend on cc1plus$(exeext).

--- ../../import/gcc-2.95.x/egcs/gcc/cp/Make-lang.in	Mon Apr 26 16:50:36 1999
+++ gcc/cp/Make-lang.in	Wed Oct 27 23:15:32 1999
@@ -185,7 +185,7 @@ cplib2.txt: $(CXX_LIB2SRCS) $(CXX_EXTRA_
 # Don't try to do write if `.' is not writable;
 # in that case, we're installing from someone else's directory.
 # But go ahead and fail if that directory hasn't been properly built.
-cplib2.ready: $(GCC_PASSES) $(LIBGCC2_DEPS) stmp-int-hdrs
+cplib2.ready: $(GCC_PASSES) $(LIBGCC2_DEPS) stmp-int-hdrs cc1plus$(exeext)
 	@if [ -r cplib2.txt -a -w . ]; then \
 	  case " $(LANGUAGES) " in \
 	  *" "[cC]"++ "*) \


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