> Hm, it may be simpler to remove `cd ../igen && $(MAKE)' except the
> ../igen/igen target.

Ah, now I see this is also a simple race...

This works for me.

Masao

Index: gnu/dist/gdb6/sim/mips/Makefile.in
===================================================================
RCS file: /cvsroot/src/gnu/dist/gdb6/sim/mips/Makefile.in,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 Makefile.in
--- gnu/dist/gdb6/sim/mips/Makefile.in  2 Jul 2006 20:28:34 -0000       1.1.1.2
+++ gnu/dist/gdb6/sim/mips/Makefile.in  15 Dec 2009 08:55:03 -0000
@@ -132,7 +132,6 @@
 $(BUILT_SRC_FROM_IGEN): tmp-igen
 
 tmp-igen: $(IGEN_INSN) $(IGEN_DC) ../igen/igen $(IGEN_INCLUDE)
-       cd ../igen && $(MAKE)
        ../igen/igen \
                $(IGEN_TRACE) \
                -I $(srcdir) \
Index: gnu/dist/gdb6/sim/mn10300/Makefile.in
===================================================================
RCS file: /cvsroot/src/gnu/dist/gdb6/sim/mn10300/Makefile.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile.in
--- gnu/dist/gdb6/sim/mn10300/Makefile.in       15 May 2006 14:24:50 -0000      
1.1.1.1
+++ gnu/dist/gdb6/sim/mn10300/Makefile.in       15 Dec 2009 08:55:03 -0000
@@ -82,7 +82,6 @@
 IGEN_INSN=$(srcdir)/mn10300.igen $(srcdir)/am33.igen $(srcdir)/am33-2.igen
 IGEN_DC=$(srcdir)/mn10300.dc
 tmp-igen: $(IGEN_INSN) $(IGEN_DC) ../igen/igen
-       cd ../igen && $(MAKE)
        ../igen/igen \
                $(IGEN_TRACE) \
                -G gen-direct-access \
Index: gnu/dist/gdb6/sim/v850/Makefile.in
===================================================================
RCS file: /cvsroot/src/gnu/dist/gdb6/sim/v850/Makefile.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile.in
--- gnu/dist/gdb6/sim/v850/Makefile.in  15 May 2006 14:26:30 -0000      1.1.1.1
+++ gnu/dist/gdb6/sim/v850/Makefile.in  15 Dec 2009 08:55:04 -0000
@@ -80,7 +80,6 @@
 IGEN_INSN=$(srcdir)/v850.igen
 IGEN_DC=$(srcdir)/v850-dc
 tmp-igen: $(IGEN_INSN) $(IGEN_DC) ../igen/igen
-       cd ../igen && $(MAKE)
        ../igen/igen \
                $(IGEN_TRACE) \
                -G gen-direct-access \
Index: tools/gdb/Makefile
===================================================================
RCS file: /cvsroot/src/tools/gdb/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- tools/gdb/Makefile  14 Dec 2009 14:13:16 -0000      1.13
+++ tools/gdb/Makefile  15 Dec 2009 08:55:04 -0000
@@ -11,7 +11,6 @@
 
 MAKE_ARGS=     MACHINE= MAKEINFO=${TOOL_MAKEINFO:Q}
 
-.NOTPARALLEL:  # XXX otherwise fails with itable.c / interp.c build
 ALL_TARGET=    all-gdb
 INSTALL_TARGET=        install-gdb
 

-- 
Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635

Reply via email to