From: Alan Mackenzie <acm@muc.de>
To: Po Lu <luangruo@yahoo.com>
Cc: 54098@debbugs.gnu.org, acm@muc.de
Subject: bug#54098: 29.0.50; Unexec build broken
Date: Tue, 22 Feb 2022 11:15:27 +0000 [thread overview]
Message-ID: <YhTFz0Oe0B42JRkR@ACM> (raw)
In-Reply-To: <87a6ejb9ra.fsf@yahoo.com>
Hello, Po.
On Tue, Feb 22, 2022 at 16:12:09 +0800, Po Lu wrote:
> Po Lu <luangruo@yahoo.com> 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).
next prev parent reply other threads:[~2022-02-22 11:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87wnhnbcrk.fsf.ref@yahoo.com>
2022-02-22 7:07 ` bug#54098: 29.0.50; Unexec build broken Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-22 8:12 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-22 11:15 ` Alan Mackenzie [this message]
2022-02-22 11:17 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-23 21:23 ` Alan Mackenzie
2022-02-24 0:19 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-24 17:38 ` Alan Mackenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YhTFz0Oe0B42JRkR@ACM \
--to=acm@muc.de \
--cc=54098@debbugs.gnu.org \
--cc=luangruo@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).