GNU bug report logs - #4196
Parallel bytecomp may sometimes fail

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Thu, 20 Aug 2009 20:34:32 UTC

Severity: normal

Merged with 6858

Found in version 23.2

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4196 in the body.
You can then email your comments to 4196 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report stored :
bug#4196; Package emacs. (Thu, 20 Aug 2009 20:34:32 GMT) Full text and rfc822 format available.

Message #3 received at quiet <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: quiet <quiet <at> debbugs.gnu.org>
Subject: Parallel bytecomp may sometimes fail
Date: Mon, 17 Aug 2009 21:52:58 -0400
Apparently, parallel byte-compilation may sometimes fail, if one
process tries to read an .elc file that another process is writing.

http://lists.gnu.org/archive/html/emacs-devel/2009-08/msg00294.html

Two solutions were suggested for this:

1) Prefer the .el files when byte-compiling. This is similar to a
feature that has been requested already (#2061), but using it in this
instance would change the way byte-compilation works (not that it
should have any measurable affect, other than a slowdown).

2) Write the .elc file to a temp file, then move it into position in a
single operation.



Merged 4196 6858. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 14 Aug 2010 21:35:02 GMT) Full text and rfc822 format available.

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Sat, 11 Sep 2010 18:52:01 GMT) Full text and rfc822 format available.

Notification sent to Glenn Morris <rgm <at> gnu.org>:
bug acknowledged by developer. (Sat, 11 Sep 2010 18:52:02 GMT) Full text and rfc822 format available.

Message #10 received at 4196-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 4196-done <at> debbugs.gnu.org
Subject: Re: bug#4196: Parallel bytecomp may sometimes fail
Date: Sat, 11 Sep 2010 14:53:50 -0400
Version: 24.1

Hopefully fixed by this change:

2010-09-11  Glenn Morris  <rgm at gnu.org>

  * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
  atomically, to avoid parallel build errors.




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Sat, 11 Sep 2010 18:52:02 GMT) Full text and rfc822 format available.

Notification sent to Sven Joachim <svenjoac <at> gmx.de>:
bug acknowledged by developer. (Sat, 11 Sep 2010 18:52:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 10 Oct 2010 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 258 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.