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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Subject: bug#4196: closed (Re: bug#4196: Parallel bytecomp may sometimes fail)
Date: Sat, 11 Sep 2010 18:52:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#4196: Parallel bytecomp may sometimes fail

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 4196 <at> debbugs.gnu.org.

-- 
4196: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4196
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.

[Message part 3 (message/rfc822, inline)]
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.


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

Previous Next


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