Re: 2.4 doesn't build with make -j 2

From: Duane Wessels <wessels@dont-contact.us>
Date: Wed, 16 Aug 2000 22:36:49 -0600 (MDT)

On Tue, 15 Aug 2000, Henrik Nordstrom wrote:

> Is this error still there? I don't seem to be able to reproduce it
> here..
>
> Looks like some dependency are wrong, creating a split dependency graph.
> From some reason both jobs builds src/fs/diskd/ independently..
>

It doesn't happen every time. Its some kind of race condition I guess.
For example it worked so that I could time how long it takes (below).

> Which make version is it?

It happens with FreeBSD /usr/bin/make.
     $FreeBSD: src/usr.bin/make/make.c,v 1.10 1999/08/28 01:03:33 peter Exp $

I installed GNU make, and GNU make always compiles correctly. But I think GNU
make isn't parallelizing the compile for some reason:

time gmake -j 2:
    35.946u 9.269s 0:47.93 94.3% 1428+1791k 0+1726io 0pf+0w
 
time make -j 2:
    38.183u 9.476s 0:30.25 157.5% 1478+1863k 0+2450io 0pf+0w

Duane W.
Received on Wed Aug 16 2000 - 22:36:51 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:35 MST