bugmake - Bugs: bug #17614, Clock Slew < 1 sec.

 
 

bug #17614: Clock Slew < 1 sec.

Submitted by:  None
Submitted on:  Tue 05 Sep 2006 01:55:13 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: Not A BugPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 3.81Operating System: Any
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 20 May 2008 03:00:50 PM UTC, comment #3:

I posted the previous comment before I created my account.

Michael Pelletier <mvpel>
Tue 20 May 2008 02:56:21 PM UTC, comment #2:

make[3]: Warning: File `./libPPC85XXgnuAPPtelcoImmib.a' has modification time --->>0.03 s<<--- in the future

That's three one hundredths of one second. Some systems don't allow NTP to slew their clock, only step it, and in any case, 30 milliseconds is getting down into trans-router packet transit times, and NTP-startup time skews.

What's more, the NTP daemon's default step threshold is 128ms, or 0.128 seconds, about 43 times larger than the time skew complained about above.

There has to be a cutoff somewhere, even if it's not 1 second, otherwise why not use (*timespec_t)x->tv_nsec and complain about a file's timestamp being .000000001 seconds in the future?

How about 0.15 seconds, to exceed the NTP step threshold by 22 milliseconds?

Anonymous
Tue 05 Sep 2006 04:48:41 PM UTC, comment #1:

> The code should be changed to suppress warning about such errors if they are less than 1 second.


Why? A detectable clock skew of less than one second is no more or less of an issue than a detectable clock skew of more than one second.

There's no special code in make that I can think of that would justify such a change. The only possible issue would be if the target in question was marked with .LOW_RESOLUTION_TIME but I think in that case you won't get this message in the first place.

I'm closing this for now but please feel free to add a comment: if there's good reason I'll certainly reopen it.

Paul D. Smith <psmith>
Project Administrator
Tue 05 Sep 2006 01:55:13 PM UTC, original submission:

I keep getting the following type of warnings:

make: Warning: File `Makefile' has modification time 0.076 s in the future

together with:

make: warning: Clock skew detected. Your build may be incomplete.

The code should be changed to suppress warning about such errors if they are less than 1 second.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mvpel (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 05 Sep 2006 04:48:41 PM UTCpsmithStatusNone=>Not A Bug
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1