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 09:57:46 +0300 Message-ID: <83d3wozamt.fsf@gnu.org> References: <4BF69E5B.7040006@alice.it> <83vdahz0v0.fsf@gnu.org> <4BF6BB85.3010504@alice.it> <83r5l5yw33.fsf@gnu.org> <4BF70D0B.9050106@alice.it> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1274511509 21245 80.91.229.12 (22 May 2010 06:58:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 22 May 2010 06:58:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 22 08:58:25 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 1OFifA-0002KJ-Pg for ged-emacs-devel@m.gmane.org; Sat, 22 May 2010 08:58:25 +0200 Original-Received: from localhost ([127.0.0.1]:52261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFifA-00062r-Bs for ged-emacs-devel@m.gmane.org; Sat, 22 May 2010 02:58:24 -0400 Original-Received: from [140.186.70.92] (port=38802 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFif4-00062c-0p for emacs-devel@gnu.org; Sat, 22 May 2010 02:58:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFiep-00070B-D1 for emacs-devel@gnu.org; Sat, 22 May 2010 02:58:12 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:46958) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFien-000701-OV for emacs-devel@gnu.org; Sat, 22 May 2010 02:58:03 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L2T00F007BKIY00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Sat, 22 May 2010 09:57:46 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.33.125]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L2T00B5L7C9PIC0@a-mtaout20.012.net.il>; Sat, 22 May 2010 09:57:46 +0300 (IDT) In-reply-to: <4BF70D0B.9050106@alice.it> 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:125041 Archived-At: > Date: Sat, 22 May 2010 00:45:31 +0200 > From: Angelo Graziosi > CC: emacs-devel@gnu.org > > > How many CPU cores do you have on that machine? > > It is an AMD Athlon 64 X2 Dual Core Processor 3800+ 2.03 GHz, 1.75GB RAM If you have only 2 cores, then -j4 is not really useful, is it? You will never have more than 2 jobs running at the same time. I think the usual rule of thumb is to use 1.5 times the number of cores as the argument to -j. In your case, that would be -j3. > > If nothing else gives a clue, post the entire transcript of the > > "configure" and "make -j4 bootstrap" steps. > > For completeness I have attached the full build log (40K, 8K compressed). Thanks. I think your problem begins with this error message I see in the log: mkdir: impossibile creare la directory "deps": File exists 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?