From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#54098: 29.0.50; Unexec build broken Date: Tue, 22 Feb 2022 11:15:27 +0000 Message-ID: References: <87wnhnbcrk.fsf.ref@yahoo.com> <87wnhnbcrk.fsf@yahoo.com> <87a6ejb9ra.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30594"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54098@debbugs.gnu.org, acm@muc.de To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 22 12:16:36 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMT9o-0007nr-8F for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Feb 2022 12:16:36 +0100 Original-Received: from localhost ([::1]:46388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMT9n-00068m-1k for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Feb 2022 06:16:35 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMT9G-00066X-Oz for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 06:16:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46257) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMT9G-00061q-DB for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 06:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nMT9G-0005N7-8e for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 06:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Feb 2022 11:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54098 X-GNU-PR-Package: emacs Original-Received: via spool by 54098-submit@debbugs.gnu.org id=B54098.164552853820600 (code B ref 54098); Tue, 22 Feb 2022 11:16:02 +0000 Original-Received: (at 54098) by debbugs.gnu.org; 22 Feb 2022 11:15:38 +0000 Original-Received: from localhost ([127.0.0.1]:40152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMT8s-0005MC-2M for submit@debbugs.gnu.org; Tue, 22 Feb 2022 06:15:38 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:41094 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1nMT8p-0005Lu-Hk for 54098@debbugs.gnu.org; Tue, 22 Feb 2022 06:15:36 -0500 Original-Received: (qmail 23518 invoked by uid 3782); 22 Feb 2022 11:15:28 -0000 Original-Received: from acm.muc.de (p4fe154d2.dip0.t-ipconnect.de [79.225.84.210]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 22 Feb 2022 12:15:28 +0100 Original-Received: (qmail 9287 invoked by uid 1000); 22 Feb 2022 11:15:27 -0000 Content-Disposition: inline In-Reply-To: <87a6ejb9ra.fsf@yahoo.com> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:227418 Archived-At: Hello, Po. On Tue, Feb 22, 2022 at 16:12:09 +0800, Po Lu wrote: > Po Lu writes: > > I get: > > > > In titdic-convert: > > international/titdic-cnv.el:473:2: Error: Attempt to modify read-only object: (generic dispatches-left methods) > > international/titdic-cnv.el:473:2: Error: Invalid function: " > > In titdic-convert: > > international/titdic-cnv.el:473:2: Error: Attempt to modify read-only object: (generic dispatches-left methods)" > > Makefile:328: recipe for target > > 'c:/emacs/emacs-29.0.50/lisp/international/titdic-cnv.elc' failed > > > > When trying to build an unexec build, where, presumably, some more > > things in pure space are read only. > > > > Thanks. > The problem is that `byte-run-strip-symbol-positions' can modify forms > which are in pure space. Ah. I didn't know we still supported the unexec build. > It should return a copy of the form instead, but I don't know if the > rest of the byte compiler relies on the side effects symbol position > stripping. There are no such dependencies. It's just that copying a Lisp structure is difficult. For example, copy-tree doesn't work when there are circular lists. But making a copy would indeed be better. Maybe I can hack something together from first principles, that would handle circular structures correctly. > Alan, WDYT? I'll look at it. I think I should be able to fix it. -- Alan Mackenzie (Nuremberg, Germany).