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 20:48:15 +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 1166644163 16526 80.91.229.10 (20 Dec 2006 19:49:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Dec 2006 19:49:23 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 20 20:49:22 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 1Gx7RB-0004dW-9Y for ged-emacs-devel@m.gmane.org; Wed, 20 Dec 2006 20:49:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gx7RA-0000xo-Td for ged-emacs-devel@m.gmane.org; Wed, 20 Dec 2006 14:49:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gx7R0-0000xY-09 for emacs-devel@gnu.org; Wed, 20 Dec 2006 14:49:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gx7Qy-0000xI-8E for emacs-devel@gnu.org; Wed, 20 Dec 2006 14:49:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gx7Qy-0000xF-5J for emacs-devel@gnu.org; Wed, 20 Dec 2006 14:49:00 -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 1Gx7Qx-0001HD-FY for emacs-devel@gnu.org; Wed, 20 Dec 2006 14:48:59 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gx7Qc-0005Ww-BW for emacs-devel@gnu.org; Wed, 20 Dec 2006 20:48:38 +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 20:48:38 +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 20:48:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 37 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:64022 Archived-At: 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. > > 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