unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Naofumi Yasufuku <naofumi@yasufuku.dev>
To: Al Haji-Ali <abdo.haji.ali@gmail.com>, Andrea Corallo <akrl@sdf.org>
Cc: Eli Zaretskii <eliz@gnu.org>, 61917@debbugs.gnu.org
Subject: bug#61917: 29.0.60; native compilation issues
Date: Sat, 25 Mar 2023 21:49:25 +0900	[thread overview]
Message-ID: <m1355t3siy.fsf@yasufuku.dev> (raw)
In-Reply-To: <m05yarwk1g.fsf@gmail.com>

Hello all,

Al Haji-Ali <abdo.haji.ali@gmail.com> writes:

> Hello Andrea,
>
> On 20/03/2023, Andrea Corallo wrote:
>> 263d6c38539 now in emacs-29 should fix this, could you verify and let us
>> know?
>
> Thanks! The issue does seem to be fixed in this commit.
>

My latest emacs-29 08fbc133756 build (includes bug#61917 fixes)
fails to start with the following errors after recompiling eln-cache:

------------------------------------------------------------------------
Loading /Users/naofumi/.ddskk/init (native compiled elisp)...done
skk-emacs-prepare-modeline-properties: Wrong type argument: listp, :type
Error in post-command-hook (yas--post-command-handler): (wrong-number-of-arguments #<subr signal> 1) [2 times]
------------------------------------------------------------------------


------------------------------------------------------------------------
4a7a0c9a9f521b04b23580901e9c0a662b504e32
Author:     Andrea Corallo <akrl@sdf.org>
AuthorDate: Tue Mar 21 11:51:03 2023 +0100
Commit:     Andrea Corallo <akrl@sdf.org>
CommitDate: Tue Mar 21 12:10:31 2023 +0100

* lisp/emacs-lisp/comp.el (comp-emit-set-call-subr): Improve 263d6c38539

1 file changed, 1 insertion(+), 1 deletion(-)
lisp/emacs-lisp/comp.el | 2 +-

modified   lisp/emacs-lisp/comp.el
@@ -1773,7 +1773,7 @@ comp-emit-set-call-subr
              (maxarg (cdr arity)))
         (when (eq maxarg 'unevalled)
           (signal 'native-ice (list "subr contains unevalled args" subr-name)))
-        (if (not (subrp subr-name))
+        (if (not (subr-primitive-p subr-name))
             ;; The primitive got redefined before the compiler is
             ;; invoked! (bug#61917)
             (comp-emit-set-call `(callref funcall

------------------------------------------------------------------------


Should it be "(not (subr-primitive-p subr))" instead of
"(not (subr-primitive-p subr-name))"?

------------------------------------------------------------------------
1 file changed, 1 insertion(+), 1 deletion(-)
lisp/emacs-lisp/comp.el | 2 +-

modified   lisp/emacs-lisp/comp.el
@@ -1773,7 +1773,7 @@ comp-emit-set-call-subr
              (maxarg (cdr arity)))
         (when (eq maxarg 'unevalled)
           (signal 'native-ice (list "subr contains unevalled args" subr-name)))
-        (if (not (subr-primitive-p subr-name))
+        (if (not (subr-primitive-p subr))
             ;; The primitive got redefined before the compiler is
             ;; invoked! (bug#61917)
             (comp-emit-set-call `(callref funcall

------------------------------------------------------------------------

Best regards,
  Naofumi





  reply	other threads:[~2023-03-25 12:49 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-02 15:18 bug#61917: 29.0.60; native compilation issues Al Haji-Ali
2023-03-02 15:48 ` Eli Zaretskii
     [not found]   ` <xjfzg8uxi7b.fsf@ma.sdf.org>
2023-03-09 10:08     ` Eli Zaretskii
2023-03-09 11:33       ` Andrea Corallo
2023-03-09 12:20         ` Eli Zaretskii
2023-03-09 16:35           ` Al Haji-Ali
2023-03-10 16:55             ` Andrea Corallo
     [not found]               ` <xjf4jqfqoy0.fsf@ma.sdf.org>
2023-03-23 15:43                 ` Al Haji-Ali
2023-03-25 12:49                   ` Naofumi Yasufuku [this message]
2023-03-25 14:46                     ` Andrea Corallo
2023-03-25 19:55                       ` Naofumi Yasufuku
2023-03-26  8:22                         ` Andrea Corallo
2023-03-26  9:20                         ` Andrea Corallo
2023-03-29 20:29                           ` Andrea Corallo
2023-03-29 22:53                             ` Naofumi Yasufuku
2023-03-30 13:14                               ` Naofumi Yasufuku
2023-03-30 13:32                                 ` Andrea Corallo
2023-04-09 17:48                                   ` Dmitry Gutov
2023-03-10 16:54           ` Andrea Corallo

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=m1355t3siy.fsf@yasufuku.dev \
    --to=naofumi@yasufuku.dev \
    --cc=61917@debbugs.gnu.org \
    --cc=abdo.haji.ali@gmail.com \
    --cc=akrl@sdf.org \
    --cc=eliz@gnu.org \
    /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).