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: Fri, 21 May 2010 18:57:41 +0200 Message-ID: <4BF6BB85.3010504@alice.it> References: <4BF69E5B.7040006@alice.it> <83vdahz0v0.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 1274461535 7014 80.91.229.12 (21 May 2010 17:05:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 May 2010 17:05:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 21 19:05:33 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 1OFVf5-0003JZ-Lw for ged-emacs-devel@m.gmane.org; Fri, 21 May 2010 19:05:28 +0200 Original-Received: from localhost ([127.0.0.1]:54460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFVf4-0000bw-It for ged-emacs-devel@m.gmane.org; Fri, 21 May 2010 13:05:26 -0400 Original-Received: from [140.186.70.92] (port=38372 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFVXo-0003dt-CI for emacs-devel@gnu.org; Fri, 21 May 2010 12:57:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFVXm-00017S-99 for emacs-devel@gnu.org; Fri, 21 May 2010 12:57:56 -0400 Original-Received: from smtp-out109.alice.it ([85.37.17.109]:1488) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFVXl-00016k-U8 for emacs-devel@gnu.org; Fri, 21 May 2010 12:57:54 -0400 Original-Received: from FBCMMO02.fbc.local ([192.168.68.196]) by smtp-out109.alice.it with Microsoft SMTPSVC(6.0.3790.3959); Fri, 21 May 2010 18:57:50 +0200 Original-Received: from FBCMCL01B08.fbc.local ([192.168.171.46]) by FBCMMO02.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Fri, 21 May 2010 18:57:50 +0200 Original-Received: from [82.57.152.169] ([82.57.152.169]) by FBCMCL01B08.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Fri, 21 May 2010 18:57:49 +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: <83vdahz0v0.fsf@gnu.org> X-OriginalArrivalTime: 21 May 2010 16:57:49.0582 (UTC) FILETIME=[BE91B2E0:01CAF906] 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:124997 Archived-At: Il 21/05/2010 18.16, Eli Zaretskii ha scritto: >> Date: Fri, 21 May 2010 16:53:15 +0200 >> From: Angelo Graziosi >> >> Today, trying to bootstrap Emacs trunk (rev. 100406), using 'make -j4', >> fails always in the same manner: > > Thanks for the report, but where's the relevant data? It fails > compiling dispnew.c, but the portion of the build you show relates to > frame.c, not to dispnew.c. Please show more. > >> I have done many tries... It looks as if, with 'make -j4', it avoids to >> compile dispnew.c. Indeed I obtain >> >> $ grep dispnew build-emacs-gtk-24.0.50-r100405.log >> make[2]: *** [dispnew.o] Error 1 > > It doesn't avoid. It tries to compile it, but the compilation fails > for some reason. The question is what is the reason. Seeing the > compiler command and its output might help. Hmm... perhaps I wasn't clear. In the build log there is *not* track of the command to compile dispnew.c: as you see 'grep' finds only make[2]: *** [dispnew.o] Error 1 But this happens *only* with 'make -j4'! I one uses 'make -j2' the bootstrap is completed and works, and 'dispnew.c' is compiled successfully with: gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/tmp/emacs/src -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/librsvg-2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DORBIT2=1 -D_REENTRANT -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/dispnew.d /tmp/emacs/src/dispnew.c I know that with '-j4' some time the build can fail, mainly if the CPU is doing other things, and re-trying often solves. But in this case the CPU was working only for Emacs bootstrap and trying many times did not solve: it fails always in the same manner. Only using '-j2' did solve! It is at least two years I use 'make -j4' on Cygwin to bootstrap Emacs without problems (indeed it worked a week ago...) Ciao, Angelo.