[bug #15919] Make-3.81 rc1 hangs with -j 2 but not with -j 1

2006-10-25 Thread Icarus Sparry

Follow-up Comment #6, bug #15919 (project make):

I have another makefile which shows the same effect.
I am trimming it at the moment, but things it has in common with the second
makefile below is an "order only" dependency and a ".INTERMEDIATE". make -j1
works fine. make -j2 works fine the first time. make -j2 burns infinite
amounts of CPU the second time, looping, thinking that things are already
being made.

This is the currect CVS version of Make.

___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/



___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make


[bug #15919] Make-3.81 rc1 hangs with -j 2 but not with -j 1

2006-10-25 Thread Icarus Sparry

Follow-up Comment #7, bug #15919 (project make):

Here is the Makefile, stripped as much as I think I can. In particular if I
change the intermed dependency on phony to be a normal one, rather than an
order only one then everything works as I would expect. Run "make clean" (or
touch src) to get things started.

The version that Make reports is 3.81.90, and was pulled from CVS yesterday
(24th Oct 2006). The tabs have been replaced by spaces, so hopefully it will
look reasonable,

# Run with make -Rj

target: intermed
touch $@

.INTERMEDIATE: intermed
intermed: src | phony
touch $@

.PHONY: phony
phony:
: Running Order only phony target

clean:
rm -fr target
test -e src || touch src


___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/



___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make