Subject: Re: build.sh safe with -j4 ?
To: Jukka Marin <jmarin@kyyhky.embedtronics.fi>
From: Matthias Scheler <tron@zhadum.org.uk>
List: netbsd-users
Date: 11/21/2007 17:34:04
On Wed, Nov 21, 2007 at 06:57:09PM +0200, Jukka Marin wrote:
> On Wed, Nov 21, 2007 at 01:06:05PM +0000, Matthias Scheler wrote:
> > On Wed, Nov 21, 2007 at 08:31:35AM +0200, Jukka Marin wrote:
> > > I'm running the following on a quad core i386 cpu, NetBSD 4.0 RC4:
> > > 
> > > ./build.sh -j 4 -O /test/tmp/obj -T /test/tmp/tools -R /test/nb4/release -D \
> > > /test/tmp/dst -X ../xsrc -r -x tools release iso-image
> > 
> > "-j 4" is not enough for a quad core CPU, you need "-j 8".
> > 
> > > nbmake: "(stdin)" line 3: Could not find /test/src/src/bin/rcorder/Makefile
> > > nbmake: Fatal errors encountered -- cannot continue
> > 
> > Your source tree is broken. You probably forgot to use the "-P" option
> > of "cvs" or untarred new sources over an existing source tree.
> 
> I used "cvs up -dP" and sometimes the tree builds ok, sometimes it fails with
> the errors above.  Maybe it's the hardware, but I can't see how bad hardware
> could show up like this (the system has never crashed).

Is that an LFS filesystem? If it is could you please try FFS instead?

	Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/