[hatari-devel] Strange timestamp issue |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-devel] Strange timestamp issue
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Fri, 26 Jul 2024 23:14:33 +0200
- Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1722028476; s=strato-dkim-0002; d=strato.com; h=Message-ID:Subject:To:From:Date:Cc:Date:From:Subject:Sender; bh=FJwY0im3Km8QOgAr5eXMam7QAkKnS0OWW64nWn4xS0A=; b=esdWEZ9LWBmtAqikLGkxmD/83F/zRR15ssTLmKhW44tCNN4VoLxihcbL8BqQgckfrg N6JZyPtYsbptD5NhkQVbkP/E2g3YBl0xj9mFpJxWHtZMs4BTo3o/xcFDOJXGQ5bIJj42 LuC7cyk3r/bI/8caB/B+PjyW3WVgWYN5wxlYRCgKq0Ie+iqVorWKgfRylLSEPIRaKdtK fqcfn1Kx7z3Al5j4QifjWoTm/Mg5GXb9eyuTS7H7q9n/xnOkqKvxb1IDaI/SYz8ipLdL aVnWFK0V26ZTpxjjMhb0XQsBfVTvappDcjlY+uMtO+J68oZ6YYz1akcQ3HLbXilBfK3r L2pQ==
- Arc-seal: i=1; a=rsa-sha256; t=1722028476; cv=none; d=strato.com; s=strato-dkim-0002; b=gWXc+M7xWsKNSDm6YfAwFz6JJ4XOyUhamBtO4C57sVLqETpzswxcXyxneZiEFfNLSu FZGVtMYSkgN7WaTJi9jh2+aQ9NYwvaZapH1YP6aQRUr6Fx8UOagqBEa1KTkcwh3kGPTp EwG9G0/rm4H2R+xrBzI/TARQVMEkWgQLq3BYyxliH1IkeEGjOHJvJV60bTHTeZS1POkJ T60dctdlwlCoiKQxWj1ZZ7Aq5V/l4NhvSXsBNXNm2OnZNYLfQu5LzRyGpPf6UXjA5q4F jqT8P6MajRx3F3vATZb+YkTzKtAd6E48M/EdxOrBQ6mrHAkZ/TNEtpJuKDw9DbCVi1GP j4Ew==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1722028476; s=strato-dkim-0002; d=seimet.de; h=Message-ID:Subject:To:From:Date:Cc:Date:From:Subject:Sender; bh=FJwY0im3Km8QOgAr5eXMam7QAkKnS0OWW64nWn4xS0A=; b=AoLAk/WqJfyYz0SBf1tSlfKZ/a8hwlHcKolwbEk5+RDAS6FzVYZ2YEMBj1UM/dH9Xr rIvGGyo10QPvShmQQqQnJSIGsVHg+QyALL6jMPyzr30IC0SlZtHeAgC2MuzyGpEdw6X4 vFSUqxRH0Bi8IdUwNrhcEes8ZgYt0e9WOrtdVLJ8P9MDIyb5JhguEOCXXQwsquyLfqJo aVpvbYcyAuqjDnXOxgzYJX0YmdvY+bCcfoe28bqnYtMz7b04cK8ZsVlpGIuJEwP6H2en yV9VIHuVuGtITA1FS2BDHWnH2P7MuHigtGwO2+RRY2gAWnh3MXeNOPiw1J0/6KM0U48N ArCQ==
- Dkim-signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1722028476; s=strato-dkim-0003; d=seimet.de; h=Message-ID:Subject:To:From:Date:Cc:Date:From:Subject:Sender; bh=FJwY0im3Km8QOgAr5eXMam7QAkKnS0OWW64nWn4xS0A=; b=t0uUR81HKt3JtcGjEbKl6dnHUb9YrfhzfR//p12flWFzopZPVOPrhEwniG2P/xJJk/ ZNj8iSv3RzpPlHqd9sCw==
Hi,
When compiling with Pure C I have an issue with the timestamps of the .C and
..O files. When I save a .C file in the Pure C editor it will automatically be
recompiled when I trigger the Pure C make process. After the new .O file has
been created, when I trigger the make process again, Pure C again compiles
this file, even though nothing should be done anymore. With a real Atari
there is no such problem, i.e. Pure C correctly detects that the .O file is
newer than then .C file.
When looking at the timestamps in bash this is what I get right after saving
the .C file in Pure C:
-rw-rw-r-- 1 us users 76956 Jul 26 2024 PART.C
-rw-rw-r-- 1 us users 53080 Jul 26 23:00 PART.O
There is a date but no timestamp for PART.C. After some time (about a
minute) the timestamp appears without any further action on my side:
-rw-rw-r-- 1 us users 76956 Jul 26 23:02 PART.C
-rw-rw-r-- 1 us users 53080 Jul 26 23:00 PART.O
As far as I can tell, as long as the shell does not display a timestamp Pure
C thinks that the .C file is newer than the corresponding object file and
recompiles it.
Note that the "lazytime" option is active for my filesystems, but I don't
think this is related, because in Linux this has not caused me any troubles
for ages, e.g. when using make or cmake with Linux.
Any idea what's happening here, and why only Hatari seems to be affected?
Best regards
Uwe