Subject: lib/26169: make depends issue
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <peter@boku.net>
List: netbsd-bugs
Date: 07/05/2004 12:14:21
>Number:         26169
>Category:       lib
>Synopsis:       make dependency problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 05 18:26:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Peter A Eisch
>Release:        NetBSD 2.0F
>Organization:
	
>Environment:
HP Netserver LXr (4-way)
System: NetBSD gvlsite 2.0F NetBSD 2.0F (GENERIC.MP) #7: Sat Jun 19 19:22:38 CDT 2004 peter@zipper:/usr/peter/i386/obj/usr/src/sys/arch/i386/compile/GENERIC.MP i386
Architecture: i386
Machine: i386
>Description:
	a depends file isn't finished being created before it's used
>How-To-Repeat:

This is after getting cvs updates over the past week:

===> build.sh command: /builds/current/src/build.sh -u -o -U -x -M /builds/sparc64/obj -m sparc64 -D /builds/spa\
rc64/dest -R /builds/sparc64/release -N 1 -T /builds/sparc64/tools -j2 release
===> build.sh started: Mon Jul  5 11:34:41 CDT 2004
===> /builds/sparc64/tools/bin/nbmake outdated (older than usr.bin/make/arch.c), needs building.
===> Bootstrapping nbmake
checking for sh... /bin/sh
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for regex.h... yes
checking for poll.h... yes
checking for regfree in -lregex... no
checking for library containing regfree... none required
checking for setenv... yes
checking for strdup... yes
checking for strerror... yes
...
dependall ===> gnu/lib/libgcc3/libgcc
--- _muldi3.d ---
     create  libgcc/_muldi3.d
--- _negdi2.d ---
     create  libgcc/_negdi2.d
--- _lshrdi3.d ---
     create  libgcc/_lshrdi3.d
--- _ashldi3.d ---
     create  libgcc/_ashldi3.d
--- _ashrdi3.d ---
     create  libgcc/_ashrdi3.d
--- _ffsdi2.d ---
     create  libgcc/_ffsdi2.d
--- _clz.d ---
     create  libgcc/_clz.d
--- _cmpdi2.d ---
     create  libgcc/_cmpdi2.d
--- _ucmpdi2.d ---
     create  libgcc/_ucmpdi2.d
--- _floatdidf.d ---
     create  libgcc/_floatdidf.d
--- _floatdisf.d ---
     create  libgcc/_floatdisf.d
--- _fixunsdfsi.d ---
     create  libgcc/_fixunsdfsi.d
--- _fixunssfsi.d ---
     create  libgcc/_fixunssfsi.d
--- _fixunsdfdi.d ---
     create  libgcc/_fixunsdfdi.d
--- _fixdfdi.d ---
     create  libgcc/_fixdfdi.d
--- _fixunssfdi.d ---
     create  libgcc/_fixunssfdi.d
--- _fixsfdi.d ---
     create  libgcc/_fixsfdi.d
--- _fixxfdi.d ---
     create  libgcc/_fixxfdi.d
--- _fixunsxfdi.d ---
     create  libgcc/_fixunsxfdi.d
--- _floatdixf.d ---
     create  libgcc/_floatdixf.d
--- _fixunsxfsi.d ---
     create  libgcc/_fixunsxfsi.d
--- _fixtfdi.d ---
     create  libgcc/_fixtfdi.d
--- _fixunstfdi.d ---
     create  libgcc/_fixunstfdi.d
--- _floatditf.d ---
     create  libgcc/_floatditf.d
--- _clear_cache.d ---
     create  libgcc/_clear_cache.d
--- _trampoline.d ---
     create  libgcc/_trampoline.d
--- __main.d ---
     create  libgcc/__main.d
--- _exit.d ---
     create  libgcc/_exit.d
--- _absvsi2.d ---
     create  libgcc/_absvsi2.d
--- _absvdi2.d ---
     create  libgcc/_absvdi2.d
--- _addvsi3.d ---
     create  libgcc/_addvsi3.d
--- _addvdi3.d ---
     create  libgcc/_addvdi3.d
--- _subvsi3.d ---
     create  libgcc/_subvsi3.d
--- _subvdi3.d ---
     create  libgcc/_subvdi3.d
--- _mulvsi3.d ---
     create  libgcc/_mulvsi3.d
--- _mulvdi3.d ---
     create  libgcc/_mulvdi3.d
--- _negvsi2.d ---
     create  libgcc/_negvsi2.d
--- _negvdi2.d ---
     create  libgcc/_negvdi2.d
--- _ctors.d ---
     create  libgcc/_ctors.d
--- _eprintf.d ---
     create  libgcc/_eprintf.d
--- _bb.d ---
     create  libgcc/_bb.d
--- __gcc_bcmp.d ---
     create  libgcc/__gcc_bcmp.d
--- _divdi3.d ---
     create  libgcc/_divdi3.d
--- _moddi3.d ---
     create  libgcc/_moddi3.d
--- _udivdi3.d ---
     create  libgcc/_udivdi3.d
--- _umoddi3.d ---
     create  libgcc/_umoddi3.d
--- _udiv_w_sdiv.d ---
     create  libgcc/_udiv_w_sdiv.d
--- _udivmoddi4.d ---
     create  libgcc/_udivmoddi4.d
--- .depend ---
     create  libgcc/.depend
--- dependall ---
--- _muldi3.o ---
    compile  libgcc/_muldi3.o
--- _muldi3.po ---
    compile  libgcc/_muldi3.po
--- _muldi3.o ---
In file included from /builds/current/src/gnu/dist/gcc/gcc/libgcc2.c:44,
                 from _muldi3.c:2:
/builds/current/src/gnu/dist/gcc/gcc/libgcc2.h:106: error: no data type for mode `XF'
--- _muldi3.po ---
In file included from /builds/current/src/gnu/dist/gcc/gcc/libgcc2.c:44,
                 from _muldi3.c:2:
/builds/current/src/gnu/dist/gcc/gcc/libgcc2.h:106: error: no data type for mode `XF'
--- _muldi3.o ---
*** [_muldi3.o] Error code 1
--- _muldi3.po ---
*** [_muldi3.po] Error code 1
2 errors

nbmake: stopped in /builds/current/src/gnu/lib/libgcc3/libgcc
*** [dependall] Error code 2
1 error

nbmake: stopped in /builds/current/src/gnu/lib/libgcc3/libgcc

*** Failed target:  dependall-libgcc
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/";\
 real="${dir}" ;; .) this="gnu/lib/libgcc3/"; real="/builds/current/src/gnu/lib/libgcc3" ;; *) this="gnu/lib/lib\
gcc3/${dir}/"; real="/builds/current/src/gnu/lib/libgcc3/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> \
${show%/}${1:+ (with: $@)}"; cd "${real}" && /builds/sparc64/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}\
; }; _makedirtarget libgcc dependall
*** Error code 2

Stop.
nbmake: stopped in /builds/current/src/gnu/lib/libgcc3
*** [do-gnu-lib-libgcc3] Error code 1
1 error

nbmake: stopped in /builds/current/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/";\
 real="${dir}" ;; .) this=""; real="/builds/current/src" ;; *) this="${dir}/"; real="/builds/current/src/${dir}"\
 ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /builds/sparc64/too\
ls/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-gnu-lib-libgcc3
*** Error code 2

Stop.
nbmake: stopped in /builds/current/src
*** [release] Error code 1
1 error

nbmake: stopped in /builds/current/src

ERROR: Failed to make release
*** BUILD ABORTED ***


>Fix:
	compile with -j1 past that depends and object, then restart with multiple procs



>Release-Note:
>Audit-Trail:
>Unformatted: