Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/tools/gdb



> Log Message:
> disable only parallel make.

> @@ -11,7 +11,7 @@
>  
>  MAKE_ARGS=   MACHINE= MAKEINFO=${TOOL_MAKEINFO:Q}
>  
> -.MAKEFLAGS: -B       # XXX otherwise fails with itable.c / interp.c build
> +.NOTPARALLEL:        # XXX otherwise fails with itable.c / interp.c build
>  ALL_TARGET=  all-gdb
>  INSTALL_TARGET=      install-gdb

Thanks, but .NOTPARALEL doesn't seem to work for me.  See attachment 1.

I made it work using Makefile.gmakehost too.  I don't know what those
NetBSD_DISABLED_* mean.

Masao

-- 
Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635
--- support.o ---
cc: support.c: No such file or directory
--- engine.o ---
cc: engine.c: No such file or directory
--- irun.o ---
cc: irun.c: No such file or directory
--- semantics.o ---
cc: semantics.c: No such file or directory
--- support.o ---
cc: no input files
--- engine.o ---
cc: no input files
--- irun.o ---
cc: no input files
--- semantics.o ---
cc: no input files
--- support.o ---
*** [support.o] Error code 1
--- engine.o ---
*** [engine.o] Error code 1
--- irun.o ---
*** [irun.o] Error code 1
--- semantics.o ---
*** [semantics.o] Error code 1
--- interp.o ---
/src/netbsd/src.TNF/tools/gdb/../../gnu/dist/gdb6/sim/mips/interp.c:39:20: 
error: itable.h: No such file or directory
/src/netbsd/src.TNF/tools/gdb/../../gnu/dist/gdb6/sim/mips/interp.c: In 
function 'sim_open':
/src/netbsd/src.TNF/tools/gdb/../../gnu/dist/gdb6/sim/mips/interp.c:344: error: 
'nr_itable_entries' undeclared (first use in this function)
/src/netbsd/src.TNF/tools/gdb/../../gnu/dist/gdb6/sim/mips/interp.c:344: error: 
(Each undeclared identifier is reported only once
/src/netbsd/src.TNF/tools/gdb/../../gnu/dist/gdb6/sim/mips/interp.c:344: error: 
for each function it appears in.)
/src/netbsd/src.TNF/tools/gdb/../../gnu/dist/gdb6/sim/mips/interp.c: In 
function 'get_insn_name':
/src/netbsd/src.TNF/tools/gdb/../../gnu/dist/gdb6/sim/mips/interp.c:731: error: 
'itable' undeclared (first use in this function)
/src/netbsd/src.TNF/tools/gdb/../../gnu/dist/gdb6/sim/mips/interp.c:732: 
warning: control reaches end of non-void function
*** [interp.o] Error code 1
8 errors

nbmake: stopped in 
/src/netbsd/work.TNF/sgimips_mips64eb/obj/tools/gdb/build/sim/mips
*** [all] Error code 1
1 error

nbmake: stopped in /src/netbsd/work.TNF/sgimips_mips64eb/obj/tools/gdb/build/sim
*** [all-sim] Error code 2
1 error

nbmake: stopped in /src/netbsd/work.TNF/sgimips_mips64eb/obj/tools/gdb/build
*** [.build_done] Error code 2
1 error

nbmake: stopped in /src/netbsd/src.TNF/tools/gdb
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 01:37:01 -0000
@@ -11,11 +11,10 @@
 
 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
 
-.include "${.CURDIR}/../Makefile.gnuhost"
+.include "${.CURDIR}/../Makefile.gmakehost"
 
 CCADDFLAGS=     ${CPPFLAG_ISYSTEM} ${DESTDIR}/usr/include -L${DESTDIR}/lib 
-L${DESTDIR}/usr/lib -B${DESTDIR}/usr/lib/
 
Index: gnu/dist/gdb6/gdb/Makefile.in
===================================================================
RCS file: /cvsroot/src/gnu/dist/gdb6/gdb/Makefile.in,v
retrieving revision 1.5
diff -u -r1.5 Makefile.in
--- gnu/dist/gdb6/gdb/Makefile.in       10 Jan 2008 21:43:55 -0000      1.5
+++ gnu/dist/gdb6/gdb/Makefile.in       15 Dec 2009 01:37:04 -0000
@@ -1614,8 +1614,8 @@
 
 .SUFFIXES: .y .l
 .y.c: 
-       @echo "NOT REBUILDING $@"
-NetBSD_DISABLED_y_c:
+#      @echo "NOT REBUILDING $@"
+#NetBSD_DISABLED_y_c:
        $(SHELL) $(YLWRAP) $< y.tab.c $@.tmp -- $(YACC) $(YFLAGS)
        -sed -e '/extern.*malloc/d' \
             -e '/extern.*realloc/d' \
@@ -1628,8 +1628,8 @@
        -rm $@.tmp
        mv $@.new ./$*.c
 .l.c:
-       @echo "NOT REBUILDING $@"
-NetBSD_DISABLED_l_c:
+#      @echo "NOT REBUILDING $@"
+#NetBSD_DISABLED_l_c:
        if [ "$(FLEX)" ] && $(FLEX) --version >/dev/null 2>&1; then \
            $(FLEX) -o$@ $< && \
            rm -f $@.new && \


Home | Main Index | Thread Index | Old Index