bugmake - Bugs: bug #7272, different results on linux 2.4.x...

 
 

bug #7272: different results on linux 2.4.x and linux 2.6.x

Submitted by:  None
Submitted on:  Thu 15 Jan 2004 04:18:40 PM UTC  
 
Severity: 3 - NormalItem Group: None
Status: Works for mePrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 3.80Operating System: POSIX-Based
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 21 Sep 2004 04:52:52 AM UTC, comment #3:

Sorry, I can't reproduce this and I haven't received any other reports of this problem in 2.6. I'm closing this bug. Feel free to add more details if you come across them; we can reopen the bug if necessary.

Paul D. Smith <psmith>
Project Administrator
Wed 21 Jan 2004 02:58:41 AM UTC, comment #2:

This is bizarre. All I can say is that this appears to show a bug in Linux proper or, probably, in the ext3 filesystem. It's hard to know exactly but it seems like the mod time on the directory subdir/dependencies is being updated every time a file in that directory is touched, even if the file already existed before. Directory timestamps are supposed to be udpated only when the directory itself is changed (that is, something is added, removed, or renamed inside the directory).

Without explicit debugging we can't be sure of this but this would explain the behavior you're seeing.

Paul D. Smith <psmith>
Project Administrator
Fri 16 Jan 2004 07:42:04 AM UTC, comment #1:

turns out that this does not happen if the file system is accessed over NFS from linux 2.6.1 or 2.4.23. It does loop if the file system is ext3 and make is run on 2.6.1.

Anonymous
Thu 15 Jan 2004 04:18:40 PM UTC, original submission:

The attached Makefile gives different results on linux 2.4.x and 2.6.x. On 2.4.x:

# make
test -d subdir || mkdir -p subdir
touch subdir/dependencies
test -d subdir || mkdir -p subdir
touch subdir/dependencies
make: Nothing to be done for `all'.
#

on 2.6.x, it produces that output over and over again:

# make
test -d subdir || mkdir -p subdir
touch subdir/dependencies
test -d subdir || mkdir -p subdir
touch subdir/dependencies
test -d subdir || mkdir -p subdir
touch subdir/dependencies
test -d subdir || mkdir -p subdir
touch subdir/dependencies
test -d subdir || mkdir -p subdir
touch subdir/dependencies
test -d subdir || mkdir -p subdir
touch subdir/dependencies
test -d subdir || mkdir -p subdir
touch subdir/dependencies
test -d subdir || mkdir -p subdir
touch subdir/dependencies
test -d subdir || mkdir -p subdir
touch subdir/dependencies
.... ad infinitum ....

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #986:  Makefile added by None (194B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 21 Sep 2004 04:52:52 AM UTCpsmithStatusNone=>Works for me
  Open/ClosedOpen=>Closed
Fri 16 Jan 2004 07:51:36 AM UTCandy040116Carbon-Copy-=>Added andyc --AT-- bluearc --DOT-- com
Thu 15 Jan 2004 04:18:40 PM UTCNoneAttached File-=>Added Makefile, #966

Back to the top


Powered by Savane 3.1-cleanup1