[Top][All Lists]

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

[bug #30505] Make doesn't update the entire dependency chain?

From: Paul D. Smith
Subject: [bug #30505] Make doesn't update the entire dependency chain?
Date: Sun, 04 Mar 2012 06:48:42 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11

Update of bug #30505 (project make):

                  Status:                    None => Fixed                  
             Assigned to:                    None => psmith                 
             Open/Closed:                    Open => Closed                 
           Fixed Release:                    None => CVS                    


Follow-up Comment #1:

I can reproduce this behavior in both GNU make 3.81 and 3.82, but in the
current CVS version of make the target is rebuilt every time.  My suspicion is
that in earlier versions it's related to timestamps.  When you run make
continuously like that it can complete all commands in <1s.  Since make uses
time last modified stamps to determine whether things have changed, if all the
files have the same timestamp even after they're changed then make doesn't
realize they've really been updated.

However, I think in newer versions of make the effect of .PHONY is being
propagated up; it used to cause test.o to always be updated but test was only
updated if timestamps required it.

Anyway I'm marking this fixed.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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