Re: make -j2 strangely skipping dependencies

2012-01-21 Thread Chris Frey
Since the original commit in CVS (URL below) was meant to fix bug 3330, I tried to fix it in another way. http://cvs.savannah.gnu.org/viewvc/make/remake.c?root=make&r1=1.134&r2=1.135 There was a sample Makefile that triggered the bug, in that URL, posted by Icarus Sparry. I used that as the b

make -j2 strangely skipping dependencies

2012-01-21 Thread Chris Frey
Hi, I've been experiencing some odd issues with make 3.82, and the latest CVS, when running my build with -j2. I've done a git-bisect and traced it down to the following change: http://cvs.savannah.gnu.org/viewvc/make/remake.c?root=make&r1=1.134&r2=1.135 If I undo this change, my build

race condition in multi-job dependency checking

2011-10-14 Thread Chris Frey
Hi, I've attached a test case Makefile, in an attempt to illustrate the following behaviour. For example: both: lib1-build lib2-build If both lib1-build and lib2-build take a substantial amount of time, then there is the possibility that lib2-build's dependencies will be satisfied on the first