X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4B0A0407.5080006@gmail.com> Date: Mon, 23 Nov 2009 03:39:51 +0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Problem with autoconf autodepend References: <4B09B81C DOT 5010806 AT cornell DOT edu> <4B09CA68 DOT 7080805 AT gmail DOT com> <4B09F60F DOT 40100 AT cornell DOT edu> In-Reply-To: <4B09F60F.40100@cornell.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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