From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Lilja Newsgroups: gmane.emacs.devel Subject: Re: Building cvs emacs on a dual-core machine Date: Wed, 20 Dec 2006 22:03:56 +0100 Message-ID: References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1166648698 15376 80.91.229.10 (20 Dec 2006 21:04:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Dec 2006 21:04:58 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 20 22:04:57 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gx8cR-0003Uo-LK for ged-emacs-devel@m.gmane.org; Wed, 20 Dec 2006 22:04:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gx8cR-000768-7z for ged-emacs-devel@m.gmane.org; Wed, 20 Dec 2006 16:04:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gx8cG-00075l-G6 for emacs-devel@gnu.org; Wed, 20 Dec 2006 16:04:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gx8cF-000755-Ir for emacs-devel@gnu.org; Wed, 20 Dec 2006 16:04:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gx8cF-000751-DX for emacs-devel@gnu.org; Wed, 20 Dec 2006 16:04:43 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gx8cE-00024A-N4 for emacs-devel@gnu.org; Wed, 20 Dec 2006 16:04:42 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gx8c1-0003IC-VC for emacs-devel@gnu.org; Wed, 20 Dec 2006 22:04:29 +0100 Original-Received: from cust.fiber-lan.vnet.lk.85.194.49.108.stunet.se ([85.194.49.108]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Dec 2006 22:04:29 +0100 Original-Received: from mindcooler by cust.fiber-lan.vnet.lk.85.194.49.108.stunet.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Dec 2006 22:04:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 60 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cust.fiber-lan.vnet.lk.85.194.49.108.stunet.se User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) In-Reply-To: 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:64024 Archived-At: Eric Lilja skrev: > Eli Zaretskii skrev: >>> From: Eric Lilja >>> Date: Wed, 20 Dec 2006 12:47:13 +0100 >>> >>> I recently upgraded my computer with a dual-core CPU. I've been >>> enjoying nice decreases in compile time in my own projects by >>> specifying --jobs=2 when invoking make. >>> >>> However, when I tried that with emacs it started compiling, very fast >>> with both cores busy, but the build craps out (sorry, no log) after a >>> little while. >> >> Any such failures are bugs in the Emacs Makefiles, so please be sure >> to report them with full details, including the build log. > > I will. This was with the cvs sources I downloaded yesterday (december > 19th). I have been trying a few times since the beginning of november > (that's when I got the dual core cpu), neither have been able to build > when specifying --jobs=2. I will do a fresh checkout later today and > hopefully provided you with the details you need. Ok, here's where it errors out (same with --jobs=2 and --jobs=4): gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -mno-cygwin -mtune=pentium4 -O2 -Di386 -D_CRTAPI1 =_cdecl -o oo-spd/i386/preprep.o preprep.c gcc -o oo-spd/i386/preprep.exe \ -mno-cygwin oo-spd/i386/preprep.o Essential Lisp files seem to be missing. You should either do `make bootstrap' or create `lisp/abbrev.elc' somehow. mingw32-make: *** [maybe-bootstrap-SH] Error 255 Yes, sorry, I'm on Windows. This is from a fresh cvs checkout performed just now. My previous steps were: ./configure.bat --with-gcc --no-cygwin --no-debug mingw32-make --jobs=4 bootstrap You mentioned build log, what else information can I provide to help track this problem down? > >> >> If you didn't try this with the CVS version or with the latest >> pretest, please do try one of these, because many problems present in >> Emacs 21.x are already resolved in the latest development code. >> >> Thanks in advance. >> >>> Maybe because it tries to build something that depends on something >>> else that has not been quite finished yet because when multiple jobs >>> are specified things doesn't happen in serial anymore? >> >> A bug-free Makefile should never cause any such trouble, since all the >> dependencies are supposed to be spelled out in it, and Make will never >> start building a file until all its prerequisites are built. > > - Eric - Eric