------- Comment #2 from Ralf dot Wildenhues at gmx dot de 2008-03-25 21:00 ------- Subject: Re: -MF should create dependency file atomically
* pinskia at gcc dot gnu dot org wrote on Tue, Mar 25, 2008 at 09:53:52PM CET: > Actually the driver should cleanup the file if cc1 was > interrupted/errors out like it does with all the rest of the files. But that still doesn't help with SIGQUIT or KILL. Asking too much? Also, I suppose there can be weird setups where more than one instance of a parallel make read a common subset of makefile snippets, at different times. Haven't seen them, but unless the depfile is *really* created atomically, I wouldn't advise build systems to rely on it being usable without a temp file. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35697