[Top][All Lists]

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

[bug #19108] Pattern rules with multiple target patterns do not honor th

From: anonymous
Subject: [bug #19108] Pattern rules with multiple target patterns do not honor the dependencies of all targets correctly
Date: Thu, 21 Jun 2007 18:15:17 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20070515 Firefox/

Follow-up Comment #3, bug #19108 (project make):

I think I'm seeing some symptoms that are essentially the same bug. I'm using
make 3.80.

I have a rule that generates N targets from some dependencies using a set of
commands, setup just like the original poster.

If I run "make", everything is fine; the commands are run once, and make
knows that all the N targets have been updated just fine.

However, if I run "make -j 2", make spawns off two copies of the commands,
presumably because when it's attempting to build each of the N targets, it
doesn't check the "make_also" to see if some other target of this rule is
already being built. Once a target has finished building, it marks all the
"make_also" as being built, and so doesn't spawn the commands again for the
other N-2 targets.

Probably, the original reporter's problem is also a lack of checking
make_also, but in this case, a lack of checking the dependencies rather than
the build-in-progress value of the make_also targets.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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