Mail Archives: cygwin/2009/11/22/22:25:08
Ken Brown wrote:
> I guess so. I wonder if there's a timing problem so that the deps
> directory isn't being created before it needs to be used. But here's
> something very strange: Angelo Graziosi, who is also playing with this,
> told me that he *doesn't* get error if he does 'make -j4', but he gets
> the same error I get with just plain 'make'. I would expect the
> opposite if it were a timing problem.
No, that (potentially) makes perfect sense to me. There's a bug in the
makefile; it either has no or wrong dependency for the deps subdir, so it
doesn't get created until later in the dependency order than it is first
actually needed. If you run at -j4, some of the things later in the
dependency order get to happen earlier, including perhaps creating the deps
directory, but if you run it in serial dependency order at -j1 the deps dir
isn't created in time before it's first used.
Can't say for sure whether or not that is what's actually happening, but
it's quite plausible.
> I'm also confused about what the configure test is supposed to be doing
> (see my original post). I can't see that it creates the deps directory,
> so I don't understand why it succeeds.
Because it doesn't try to output the dependency file into a subdir at all:
> CFLAGS="$CFLAGS -MMD -MF deps.d"
it just outputs it straight into the current dir, alongside the conftest.c
test compile, so it doesn't fail.
cheers,
DaveK
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -