From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#20862: 25.0.50; 32-bit Emacs configured --with-wide-int miscompiles CL Date: Sat, 27 Jun 2015 08:56:30 -0700 Organization: UCLA Computer Science Department Message-ID: <558EC7AE.9060801@cs.ucla.edu> References: <558B75FE.3010806@cs.ucla.edu> <83h9pveu87.fsf@gnu.org> <558DAF2C.9050602@cs.ucla.edu> <83h9pucihf.fsf@gnu.org> <558DB9E4.5060501@cs.ucla.edu> <83d20hd3a6.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1435420652 14915 80.91.229.3 (27 Jun 2015 15:57:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Jun 2015 15:57:32 +0000 (UTC) Cc: 20862@debbugs.gnu.org To: Eli Zaretskii , Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 27 17:57:18 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z8sTl-0004fJ-W7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jun 2015 17:57:18 +0200 Original-Received: from localhost ([::1]:35960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8sTl-0002aO-5z for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jun 2015 11:57:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8sTe-0002Zv-Vc for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2015 11:57:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8sTX-0000BA-Fb for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2015 11:57:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8sTX-0000B6-C3 for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2015 11:57:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z8sTW-00019f-Qm for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2015 11:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jun 2015 15:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20862 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20862-submit@debbugs.gnu.org id=B20862.14354206004409 (code B ref 20862); Sat, 27 Jun 2015 15:57:02 +0000 Original-Received: (at 20862) by debbugs.gnu.org; 27 Jun 2015 15:56:40 +0000 Original-Received: from localhost ([127.0.0.1]:59312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8sT9-000192-Nv for submit@debbugs.gnu.org; Sat, 27 Jun 2015 11:56:40 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:47021) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8sT7-00018p-Ol for 20862@debbugs.gnu.org; Sat, 27 Jun 2015 11:56:38 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id AA452160837; Sat, 27 Jun 2015 08:56:31 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ohb1MPwv87vG; Sat, 27 Jun 2015 08:56:31 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id E8CC916026C; Sat, 27 Jun 2015 08:56:30 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vWonC3NnTcJK; Sat, 27 Jun 2015 08:56:30 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id C2BA21601EA; Sat, 27 Jun 2015 08:56:30 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <83d20hd3a6.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:104408 Archived-At: Eli Zaretskii wrote: > I think the *.elc files should be reproducible, yes. Otherwise, it's > hard to know if there's some subtle problem in the byte compiler or > its support routines. The simplest fix would be to initialize cl--gensym-counter to 0, as is done in Common Lisp, so that Emacs generates reproducible output. However, the documentation for cl-gensym says this: (Internally, the variable @code{cl--gensym-counter} holds the counter used to generate names. It is incremented after each use. In Common Lisp this is initialized with 0, but this package initializes it with a random time-dependent value to avoid trouble when two files that each used @code{cl-gensym} in their compilation are loaded together. Uninterned symbols become interned when the compiler writes them out to a file and the Emacs loader loads them, so their names have to be treated a bit more carefully than in Common Lisp where uninterned symbols remain uninterned after loading.) This passage is dismaying, as it suggests that it's a matter of luck as to whether trouble is avoided when two files that each used cl-gensym are loaded together. I guess the trouble that's avoided is the usual issue with macro capture. (Maybe we should file another bug report for this....)