Subject: bin/14419: make -j1 build fails
To: None <>
From: Wolfgang Rupprecht <>
List: netbsd-bugs
Date: 11/01/2001 07:01:14
>Number:         14419
>Category:       bin
>Synopsis:       make -j1 build fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 01 07:02:01 PST 2001
>Originator:     Wolfgang Rupprecht
>Release:        NetBSD-current userland: Oct 18, 2001
W S Rupprecht Computer Consulting, Fremont CA
System: NetBSD 1.5Y NetBSD 1.5Y (WSRCC_ATHLON) #45: Wed Oct 31 10:29:56 PST 2001 i386
Architecture: i386
Machine: i386
	"make -j 1 build" of the world will bomb out with:

    /v/src/netbsd/src/tools/toolchain/../../gnu/dist/toolchain/gcc/libgcc2.c:41: stdlib.h: No such file or directory
    /v/src/netbsd/src/tools/toolchain/../../gnu/dist/toolchain/gcc/libgcc2.c:42: string.h: No such file or directory
    /v/src/netbsd/src/tools/toolchain/../../gnu/dist/toolchain/gcc/libgcc2.c:43: unistd.h: No such file or directory
    /v/src/netbsd/src/tools/toolchain/../../gnu/dist/toolchain/gcc/libgcc2.c:49: stddef.h: No such file or directory
    *** Error code 1

	This error happens with an expicit "-j 1" but, doesn't happen when
	"-j 1" is ommitted.  This (to me) hints at a problem with the
	"-j" machinery in make and not a serialization error in the makefile.

	cd /usr/src
	make -j 1 build