bug-make
[Top][All Lists]
Advanced

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

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


From: anonymous
Subject: [bug #15919] Make-3.81 rc1 hangs with -j 2 but not with -j 1
Date: Wed, 04 Jul 2007 19:53:11 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

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

(comment by J. David Bryan, original submitter)

The patch from Icarus Sperry does fix the original problem.  However, it
appears to introduce a new one.

I have taken the original make-3.81 sources and added the patch to produce
"make-381p".  Then, with this makefile:

%.c : %.b
        cp $< $@

%.b : %.a
        cp $< $@

all : 1.c 2.c

...executing this command in an otherwise empty directory:

$ touch 1.a 2.a && make-381p -j 2

...produces this output:

cp 1.a 1.b
cp 2.a 2.b
cp 1.b 1.c
cp 2.a 2.b  [ <-- NOTE ]
cp 2.b 2.c
rm 1.b 2.b

...whereas the stock make-3.81 with the same command produces:

cp 1.a 1.b
cp 2.a 2.b
cp 1.b 1.c
cp 2.b 2.c
rm 1.b 2.b

Note that the patched version copies 2.a to 2.b twice.  Running the patched
version with "-j 1" produces the correct behavior.

I've confirmed this on sparc-sun-solaris2.9 as well as the x86 Win32
version.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?15919>

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]