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: Building cvs emacs on a dual-core machine Date: Wed, 20 Dec 2006 20:54:15 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: dough.gmane.org X-Trace: sea.gmane.org 1166640910 5093 80.91.229.10 (20 Dec 2006 18:55:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Dec 2006 18:55:10 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 20 19:55:06 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 1Gx6ac-0008C1-RN for ged-emacs-devel@m.gmane.org; Wed, 20 Dec 2006 19:54:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gx6ac-0004bC-E6 for ged-emacs-devel@m.gmane.org; Wed, 20 Dec 2006 13:54:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gx6aP-0004Xz-LS for emacs-devel@gnu.org; Wed, 20 Dec 2006 13:54:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gx6aN-0004Um-Mq for emacs-devel@gnu.org; Wed, 20 Dec 2006 13:54:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gx6aN-0004UW-EX for emacs-devel@gnu.org; Wed, 20 Dec 2006 13:54:39 -0500 Original-Received: from [192.114.186.73] (helo=heller.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gx6aM-0006v2-Rl for emacs-devel@gnu.org; Wed, 20 Dec 2006 13:54:39 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-22-127.inter.net.il [80.230.22.127]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id BHX59778 (AUTH halo1); Wed, 20 Dec 2006 20:54:14 +0200 (IST) Original-To: Eric Lilja In-reply-to: (message from Eric Lilja on Wed, 20 Dec 2006 12:47:13 +0100) 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:64019 Archived-At: > 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. 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.