[bug #66500] Caching of timestamps prevents proper builds
Grzegorz Jabłoński <[email protected]>
| Newsgroups | gmane.comp.gnu.make.bugs |
|---|---|
| Message-ID | <[email protected]> |
Follow-up Comment #6, bug #66500 (group make):
[comment #5 comment #5:]
> The rule for foo/tar is lacking a recipie. In this case make has no reason to
> invalidate the cached mtime of foo/tar. As explained earlier make has no idea
> that the recipie for foo touched foo/tar. Any recipie for foo/tar, even a
> empty one, is sufficient to tell make to invalidate the cached mtime of
> foo/tar.
POSIX make specification says:
"The make utility shall use the modification times of files to determine
whether the corresponding targets are out-of-date."
If timestamp caching causes different behaviour than reading them from
filesystem, it is a bug.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66500>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZ7i5TwAKCRCqLAuaBUf3 TlrBAQCA7V1z7jPhv6XeZHHodEZNEE5OMPKAMDWam69cmko9KAEAvN0vKT2kCSQ4 DcZpXfFLcpL29DSkG1yrdRVdH3crFgU= =zM8H -----END PGP SIGNATURE-----