unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrea Corallo <acorallo@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Alan Mackenzie <acm@muc.de>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	71805@debbugs.gnu.org
Subject: bug#71805: master: New interpreted function format prevents native compilation.
Date: Sat, 29 Jun 2024 16:32:15 -0400	[thread overview]
Message-ID: <yp1plrzlcc0.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <864j9cj6dc.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 Jun 2024 15:11:43 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Thu, 27 Jun 2024 16:00:58 +0000
>> From: Alan Mackenzie <acm@muc.de>
>> 
>> With a recent master repo (likely also the emacs-30 branch):
>> (i) mkdir ~/cc-mode.hg.
>> (ii) chdir ~/cc-mode.hg.
>> (iii) Copy cc-mode.hg.tar.gz from this bug report to ~/cc-mode.hg.
>> (iv) tar -zxf cc-mode.tar.gz.
>> The CC Mode source files should now be in the current directory.
>> 
>> (v) emacs -Q -batch -f batch-byte-compile *.el
>> The CC Mode .elc files should now be present.
>> 
>> (vi) emacs -Q.
>> (vii) M-: (push "~/cc-mode.hg" load-path).
>> (viii) M-x load-library RET cc-mode RET.
>> (ix) (After a brief wait) C-x b *Async-native-compile-log* RET.
>> 
>> (x) Search the buffer for "#" with C-s or C-r.  This will find the error
>> line
>> 
>> /home/awk/cc-mode.hg/cc-fonts.el: Error Wrong type argument: listp, #[(form) (`(cdr (backquote-process ,form))) nil]
>> 
>> (where "awk" is your user name).
>> 
>> The native compiler has thus failed to compile cc-fonts.el, this being
>> something to do with the new interpreted form
>> 
>>     #[(form) (`(cdr (backquote-process ,form))) nil]
>> 
>> being somewhere where a list form is expected.
>> 
>> Possibly of interest: (defun (form) (`(cdr (backquote-process ,form)))
>> nil] looks like a failed expansion of backquote (see
>> lisp/emacs-lisp/backquote.el).
>
> Andrea and Stefan, can you look into this, please?

Sure, I can try but on Monday :)

  Andrea





  reply	other threads:[~2024-06-29 20:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-27 16:00 bug#71805: master: New interpreted function format prevents native compilation Alan Mackenzie
2024-06-29 12:11 ` Eli Zaretskii
2024-06-29 20:32   ` Andrea Corallo [this message]
2024-06-29 21:30 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=yp1plrzlcc0.fsf@fencepost.gnu.org \
    --to=acorallo@gnu.org \
    --cc=71805@debbugs.gnu.org \
    --cc=acm@muc.de \
    --cc=eliz@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).