GNU bug report logs - #4845
23.1.50; Uninterned symbols in .elc files

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Helmut Eller <eller.helmut@HIDDEN>; dated Sun, 1 Nov 2009 10:00:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 1 Nov 2009 09:54:22 +0000
From eller.helmut@HIDDEN Sun Nov  1 01:54:21 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-0.4 required=4.0 tests=AWL autolearn=ham
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA19sKhC027436
	for <submit@HIDDEN>; Sun, 1 Nov 2009 01:54:21 -0800
Received: from mx10.gnu.org ([199.232.76.166]:39268)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <eller.helmut@HIDDEN>)
	id 1N4X8d-0004B0-RU
	for emacs-pretest-bug@HIDDEN; Sun, 01 Nov 2009 04:54:19 -0500
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <eller.helmut@HIDDEN>)
	id 1N4X8d-0000kd-4I
	for emacs-pretest-bug@HIDDEN; Sun, 01 Nov 2009 04:54:19 -0500
Received: from [212.46.178.75] (port=48384 helo=ix)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60)
	(envelope-from <eller.helmut@HIDDEN>)
	id 1N4X8c-0000kP-OS
	for emacs-pretest-bug@HIDDEN; Sun, 01 Nov 2009 04:54:19 -0500
Received: from helmut by ix with local (Exim 4.69)
	(envelope-from <eller.helmut@HIDDEN>)
	id 1N4Vki-00038k-Ea
	for emacs-pretest-bug@HIDDEN; Sun, 01 Nov 2009 09:25:32 +0100
From: Helmut Eller <eller.helmut@HIDDEN>
To: emacs-pretest-bug@HIDDEN
Subject: 23.1.50; Uninterned symbols in .elc files
Date: Sun, 01 Nov 2009 09:25:32 +0100
Message-ID: <m2ocnmbqir.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Greylist: delayed 1800 seconds by postgrey-1.27 at monty-python; Sun, 01 Nov 2009 04:54:18 EST


In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.11)
loading a file x.el with contents

 (defmacro foo ()
   (let ((sym (make-symbol "bar")))
     `(progn
        (defun ,sym () (message "function %s called" ',sym))
        (,sym))))
 
 (foo)

works as expected:

 shell> emacs -Q -batch -load x.el
 function bar called

However loading the corresponding compiled file signals an error:

 shell> emacs -Q -batch -eval '(byte-compile-file "x.el")' -load x.elc
 Wrote /tmp/x.elc
 Symbol's function definition is void: bar
 [Exit 255]

There is a #1=#:bar in the constant pool of the compiled function but #1
isn't used at the call site.

Helmut



Acknowledgement sent to Helmut Eller <eller.helmut@HIDDEN>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#4845; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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