Spurious rebuild of Versions.v.i

Daniel Jacobowitz drow@mvista.com
Wed Nov 12 01:19:00 GMT 2003


On Tue, Nov 11, 2003 at 05:06:57PM -0800, Roland McGrath wrote:
> > Also included are some non-parallel-make-safe constructs.  In general,
> > anything which can cause recursion to a parent directory is unsafe; I
> > just had two subdirectories attempt to recreate Versions.v.i at the
> > same time.  Looks like rtld-csu and rtld-gmon.
> 
> That is redundant but should not be unsafe.  That is, the unnecessary
> rebuilds should produce the correct results.

I don't remember precisely what went wrong, but I'm guessing that it's
the use of a temporary file with a fixed name (Versions.v.iT). 
Redirecting into the file from both awks may produce strange results,
f.ex. temporary corruption of Versions.i long enough to generate a
corrupt Versions.v.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Libc-alpha mailing list