From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Bootstrap failure using 'make -j4' [Cygwin] Date: Sat, 22 May 2010 11:19:33 +0300 Message-ID: <83d3wopcve.fsf@gnu.org> References: <4BF69E5B.7040006@alice.it> <83vdahz0v0.fsf@gnu.org> <4BF6BB85.3010504@alice.it> <83r5l5yw33.fsf@gnu.org> <4BF70D0B.9050106@alice.it> <83d3wozamt.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1274516842 3358 80.91.229.12 (22 May 2010 08:27:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 22 May 2010 08:27:22 +0000 (UTC) Cc: emacs-devel@gnu.org, angelo.graziosi@alice.it To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 22 10:27:20 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OFk39-0003hc-Kg for ged-emacs-devel@m.gmane.org; Sat, 22 May 2010 10:27:17 +0200 Original-Received: from localhost ([127.0.0.1]:60697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFk1y-00021H-Ew for ged-emacs-devel@m.gmane.org; Sat, 22 May 2010 04:26:02 -0400 Original-Received: from [140.186.70.92] (port=58736 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFjw1-00062h-JV for emacs-devel@gnu.org; Sat, 22 May 2010 04:19:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFjvy-0000VK-Pe for emacs-devel@gnu.org; Sat, 22 May 2010 04:19:53 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:40500) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFjvy-0000VE-J0; Sat, 22 May 2010 04:19:50 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L2T00I00B087000@a-mtaout20.012.net.il>; Sat, 22 May 2010 11:19:35 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.33.125]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L2T00EEMB4KIFC0@a-mtaout20.012.net.il>; Sat, 22 May 2010 11:19:34 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125047 Archived-At: > Cc: Angelo Graziosi , emacs-devel@gnu.org > From: Glenn Morris > Date: Sat, 22 May 2010 03:16:00 -0400 > > Eli Zaretskii wrote: > > > where MKDEPDIR expands to this: > > > > test -d ${DEPDIR} || mkdir ${DEPDIR} > > > > Now, if more than one .c.o rule tries to create the `deps' > > subdirectory at the same time, one of them might lose due to a race > > condition, and fail the entire compilation. > > Please note I changed this earlier today for this reason Changed how? I don't see any changes that would solve this. With the current trunk, running configure on GNU/Linux still produces src/Makefile with these fragments: MKDEPDIR=test -d ${DEPDIR} || mkdir ${DEPDIR} ... .c.o: @$(MKDEPDIR) $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $< What am I missing? > but in a different way to your suggestion. That wasn't a suggestion for a change in src/Makefile.in, just a means to make sure Angelo's problem is due to this race, and not to something else.