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: Knut St. Osmundsen
Subject: [bug #15919] Make-3.81 rc1 hangs with -j 2 but not with -j 1
Date: Wed, 29 Oct 2008 03:15:50 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_4; en-us) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.20.1

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

Is Test #9  of targets/SECONDARY supposed to run cleanly?   I'm seeing a
duplicate command here (cp 2.a 2.b). I've tried current CVS head and CVS dated
2007-08-20, neither succeed, so I'm suspecting the 15th of August remake.c
change. 

I see a very similar problem with targets/INTERMEDIATE Test #3 and #5 when
running them with -j N (where N > 1); both tests gets the 'cp bar.f bar.e'
command executed twice. (Same code bases ofc.)  These two tests ran cleanly on
a patched 2007-05-26 CVS snapshot that I've been using for more than a year
now.

The tests succeeds again if I add if (file->command_state != cs_running) in
front of the set_command_state (file, cs_not_started) call on line 990 in
remake.c. I cannot say if this is the right thing or not - it's been a year or
two since I last look at the update process and this is a feature I don't
rarely use.  (Btw. observed on Mac OS X.)

Let me know if this is a genuine problem and if the fix needs more work.

    _______________________________________________________

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]