Re: Problem with parallel build

2010-10-22 Thread Michael Ringe
On 21.10.2010 21:04, Mike Shal wrote: On Thu, Oct 21, 2010 at 1:33 PM, Vardhan, Sundara (GE Energy) wrote: Hi Michael During parallel makes if the time of the object files created and the time archive command is run is within a second then it will fail to include these object files. The reaso

Re: Problem with parallel build

2010-10-21 Thread Eli Zaretskii
> Date: Thu, 21 Oct 2010 15:04:20 -0400 > From: Mike Shal > Cc: Bug-make@gnu.org > > I don't see why Michael's example should fail, but I can reproduce the > behavior with 3.81 and 3.82. It fails because, depending on the timing, app1.o may or may not exist when Make comes to check it. Here's t

Re: Problem with parallel build

2010-10-21 Thread Mike Shal
On Thu, Oct 21, 2010 at 1:33 PM, Vardhan, Sundara (GE Energy) wrote: > Hi Michael > > During parallel makes if the time of the object files created and the > time archive command is run is within a second then it will fail to > include these object files. The reason I believe is due to a bug in ma

RE: Problem with parallel build

2010-10-21 Thread Vardhan, Sundara (GE Energy)
Hi Michael During parallel makes if the time of the object files created and the time archive command is run is within a second then it will fail to include these object files. The reason I believe is due to a bug in make rules wherein the time granularity is 1 second. Try to introduce a sleep of