This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Spurious rebuild of Versions.v.i


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]