Linux 2.6 nanosecond time stamp weirdness breaks GCC build

Paul Jarc prj@po.cwru.edu
Thu Apr 1 22:45:00 GMT 2004


Joe Buck <Joe.Buck@synopsys.COM> wrote:
> Case 2: make falsely thinks that the .c is younger than the .o.  It
> recompiles the .c file, even though it didn't have to.  Harmless.

The OP explained how this can be harmful in the case of parallel
builds - the .o file is not updated atomically, so while one part of
the build is (unnecessarily) updating it, another part will fail to
find it.


paul



More information about the Gcc mailing list