From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Bootstrap failure using 'make -j4' [Cygwin] Date: Sat, 22 May 2010 15:35:34 +0200 Message-ID: <4BF7DDA6.6060009@alice.it> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1274535363 17195 80.91.229.12 (22 May 2010 13:36:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 22 May 2010 13:36:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 22 15:36:02 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 1OForx-0008Al-BU for ged-emacs-devel@m.gmane.org; Sat, 22 May 2010 15:36:01 +0200 Original-Received: from localhost ([127.0.0.1]:35561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OForw-0005oI-Np for ged-emacs-devel@m.gmane.org; Sat, 22 May 2010 09:36:00 -0400 Original-Received: from [140.186.70.92] (port=41334 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OForq-0005o3-9b for emacs-devel@gnu.org; Sat, 22 May 2010 09:35:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OForp-0006HT-8T for emacs-devel@gnu.org; Sat, 22 May 2010 09:35:54 -0400 Original-Received: from smtp-out13.alice.it ([85.33.2.18]:2339) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFork-0006GK-3B; Sat, 22 May 2010 09:35:48 -0400 Original-Received: from FBCMMO04.fbc.local ([192.168.184.135]) by smtp-out13.alice.it with Microsoft SMTPSVC(6.0.3790.3959); Sat, 22 May 2010 15:35:46 +0200 Original-Received: from FBCMCL01B08.fbc.local ([192.168.171.46]) by FBCMMO04.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Sat, 22 May 2010 15:35:46 +0200 Original-Received: from [82.57.152.193] ([82.57.152.193]) by FBCMCL01B08.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Sat, 22 May 2010 15:35:44 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 In-Reply-To: <83d3wozamt.fsf@gnu.org> X-OriginalArrivalTime: 22 May 2010 13:35:45.0088 (UTC) FILETIME=[AE387C00:01CAF9B3] X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP4, XP SP1+ 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:125068 Archived-At: The problem seems fixed in rev 100412, 'make -j4' works just fine (thanks for having clarified the cores usage of CPU) And... Il 22/05/2010 8.57, Eli Zaretskii ha scritto: > Thanks. I think your problem begins with this error message I see in > the log: > > mkdir: impossibile creare la directory "deps": File exists for completeness, I noticed this error on GNU/Linux because it caused the build to be stopped... But there I thought this was caused by some garbage from a previous build and, really, after deleting the build tree, I was able to bootstrap... Ciao, Angelo. PS. Should I test what follow in any case? > This comes from the following fragment in src/Makefile.in: > > .c.o: > @$(MKDEPDIR) > $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $< > > 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. > > Could you please try changing this line: > > @$(MKDEPDIR) > into > -@$(MKDEPDIR) > > and see if that makes the problem go away?