NetBSD-Bugs archive

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

Re: bin/48367: make(1) fails to parallelize in subdirs



The following reply was made to PR bin/48367; it has been noted by GNATS.

From: "Simon J. Gerraty" <sjg%juniper.net@localhost>
To: Andreas Gustafsson <gson%gson.org@localhost>
Cc: <gnats-bugs%NetBSD.org@localhost>
Subject: Re: bin/48367: make(1) fails to parallelize in subdirs
Date: Thu, 7 Nov 2013 09:03:58 -0800

 The makefile is wrong.
 According to make(1) you need .MAKE on targets which are supposed to
 pass on the jobs queue.
 
 What's really odd is that all2 "works"
 If you add .MAKE to all:
 
 make -j8 all 
 --- all ---
 (cd mack && make)
 --- foo1 ---
 --- foo2 ---
 --- foo3 ---
 --- foo4 ---
 --- foo5 ---
 --- foo6 ---
 --- foo7 ---
 --- foo8 ---
 --- foo4 ---
 echo 4
 4
 --- foo9 ---
 --- foo6 ---
 echo 6
 6
 
 etc.
 
 As per log change in 1.173 fixes a serious decriptor leak, 
 which is probably why the makefile in question may have previously
 worked.
 
 On Thu, 7 Nov 2013 13:04:44 +0200, Andreas Gustafsson writes:
 >Using an automated binary search, I have now narrowed down the time
 >when the problem started to this commit by sjg:
 >
 >  2013.06.05.03.59.43 sjg src/usr.bin/make/job.c 1.173
 >
 >-- 
 >Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index