From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chad Brown Newsgroups: gmane.emacs.devel Subject: Re: Fixing parallel byte-compilation Date: Fri, 10 Sep 2010 16:56:31 -0700 Message-ID: <73F42D6A-34B4-4618-BDCF-7C1970E05DB5@mit.edu> References: <80occ5xilc.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1284163012 3449 80.91.229.12 (10 Sep 2010 23:56:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Sep 2010 23:56:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 11 01:56:50 2010 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 1OuDSY-0007ET-Jo for ged-emacs-devel@m.gmane.org; Sat, 11 Sep 2010 01:56:46 +0200 Original-Received: from localhost ([127.0.0.1]:34084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuDSX-000638-Lc for ged-emacs-devel@m.gmane.org; Fri, 10 Sep 2010 19:56:45 -0400 Original-Received: from [140.186.70.92] (port=37585 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuDSR-00062i-Pv for emacs-devel@gnu.org; Fri, 10 Sep 2010 19:56:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OuDSQ-0005N9-1h for emacs-devel@gnu.org; Fri, 10 Sep 2010 19:56:39 -0400 Original-Received: from dmz-mailsec-scanner-5.mit.edu ([18.7.68.34]:64766) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OuDSP-0005N5-W7; Fri, 10 Sep 2010 19:56:38 -0400 X-AuditID: 12074422-b7bbfae000005e9b-9a-4c8ac5aa5c52 Original-Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) by dmz-mailsec-scanner-5.mit.edu (Symantec Brightmail Gateway) with SMTP id 8A.55.24219.AA5CA8C4; Fri, 10 Sep 2010 19:56:26 -0400 (EDT) Original-Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id o8ANubiU005908; Fri, 10 Sep 2010 19:56:37 -0400 Original-Received: from [10.0.0.157] ([64.241.37.140]) (authenticated bits=0) (User authenticated as yandros@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id o8ANuWZI009662 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 10 Sep 2010 19:56:36 -0400 (EDT) In-Reply-To: <80occ5xilc.fsf@fencepost.gnu.org> X-Mailer: Apple Mail (2.1081) X-Brightmail-Tracker: AAAAAA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:129940 Archived-At: I'll hazard a guess that this solves the `exact-same-time' problem, but still leaves dueling emacs builds with potentially incompatible .elc files if there's a multi-file change, and so it wasn't deemed worth the trouble. Of course, applying a patch someone already wrote is less effort, so... :-) *Chad On Sep 10, 2010, at 4:51 PM, Glenn Morris wrote: > > Parallel bootstrap sometimes fails if one Emacs process tries to read > an .elc file that another is in the middle of writing. See eg > > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4196 > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6858 > > and recent mails on this list. > > One suggested solution was to compile to a temp-file, then move it in > place. That seems simple to do...? >