From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: merlyn@stonehenge.com (Randal L. Schwartz) Newsgroups: gmane.emacs.devel Subject: Re: Building cvs emacs on a dual-core machine Date: 26 Dec 2006 11:22:45 -0800 Organization: Stonehenge Consulting Services; Portland, Oregon, USA Message-ID: <863b72jwca.fsf@blue.stonehenge.com> References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1167161009 32745 80.91.229.10 (26 Dec 2006 19:23:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Dec 2006 19:23:29 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 26 20:23:29 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 1GzHtP-0007ze-9f for ged-emacs-devel@m.gmane.org; Tue, 26 Dec 2006 20:23:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GzHtO-00044g-QD for ged-emacs-devel@m.gmane.org; Tue, 26 Dec 2006 14:23:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GzHtC-000447-7V for emacs-devel@gnu.org; Tue, 26 Dec 2006 14:23:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GzHt9-00042d-KG for emacs-devel@gnu.org; Tue, 26 Dec 2006 14:23:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GzHt9-00042X-43 for emacs-devel@gnu.org; Tue, 26 Dec 2006 14:23:03 -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 1GzHt8-00084z-O0 for emacs-devel@gnu.org; Tue, 26 Dec 2006 14:23:02 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GzHt1-0004qx-5P for emacs-devel@gnu.org; Tue, 26 Dec 2006 20:22:55 +0100 Original-Received: from blue.stonehenge.com ([209.223.236.162]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Dec 2006 20:22:55 +0100 Original-Received: from merlyn by blue.stonehenge.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Dec 2006 20:22:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 34 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: blue.stonehenge.com x-mayan-date: Long count = 12.19.13.16.13; tzolkin = 1 Ben; haab = 6 Kankin User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 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:64302 Archived-At: >>>>> "Richard" == Richard Stallman writes: Richard> Maybe because it tries to build something that depends on Richard> something else that has not been quite finished yet because when Richard> multiple jobs are specified things doesn't happen in serial anymore? Richard> That is quite likely. We could fix this if we knew precisely what Richard> the unrecorded dependency is. Richard> But we have to depend on you to figure out what it is. Yeah, and that's tough, because it's a timing issue, and those are tricky. For the record, *I* also tried make clean make -j3 bootstrap and it also failed, midway through the build, because some things weren't ready "in time". So, there's clearly some dependency not being marked properly in the Makefiles, but the only solution is to painstakingly go through each and every Makefile and see where -j3 would have gone parallel, and make sure there's no sequential items, or any items that use a "temp file" with a fixed name. It's hard. Unless the Makefile was designed with -j3 in mind, it generally *doesn't* work, in my experience. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!