From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: David Thompson Newsgroups: comp.lang.ada Subject: Re: GNAT corrupted builds with below second changes Date: Sun, 22 Apr 2018 01:53:46 -0400 Organization: Poor Message-ID: <4p8oddp8e8hlpdd0b0k28j1daj7d6a2uvj@4ax.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: reader02.eternal-september.org; posting-host="47d8bc04838afdb18f09046193b1fc24"; logging-data="15011"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18O1/yhlaFvPR1DR2GUW88Rb1qx9aKw+MM=" X-Newsreader: Forte Agent 3.3/32.846 Cancel-Lock: sha1:tQC7ssY7DnzrNqVtdqw6GPmUN4w= Xref: reader02.eternal-september.org comp.lang.ada:51667 Date: 2018-04-22T01:53:46-04:00 List-Id: On Wed, 14 Mar 2018 17:56:13 -0500, "Randy Brukardt" wrote: > "Alejandro R. Mosteo" wrote in message > news:p8atvh$74r$1@dont-email.me... > ... we used to have such problems with Janus/Ada programs. I > believe it caused certain ACATS tests to intermittently fail. I think I > "fixed" that by introducing a delay into the compiler in certain > circumstances (the delay being barely noticable to humans, but long enough > to ensure that the time stamps are unique). ... > It wouldn't surprise me if GNAT ran into similar issues -- the file > timestamps on Windows (which is what we were/are using) have a 2 second > granularity. _FAT_, which was the file system used on MSDOS and (thus) early Windows, has 2 second granularity. Windows NT introduced NTFS, with granularity 100ns (and epoch in 1600!), but you can still have FAT for data disks -- and for removable or detachable devices may prefer to, as NTFS permissions get screwed up if you move a disk between machines which are not both in the same 'domain' (in the MS sense, not DNS). It is possible to get FAT (and NTFS) filesystem drivers on at least some Unices, if you want to, and cause the problem there.