all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Jens Schmidt <jschmidt4gnu@vodafonemail.de>
Cc: Andrea Corallo <acorallo@gnu.org>, Eli Zaretskii <eliz@gnu.org>,
	yandros@gmail.com, emacs-devel@gnu.org,
	Po Lu <luangruo@yahoo.com>
Subject: Re: make check produces 25 failures and hangs (bug #65176).
Date: Sun, 13 Aug 2023 11:34:03 +0000	[thread overview]
Message-ID: <ZNi_q9lD8jW8kM3-@ACM> (raw)
In-Reply-To: <7f5635a2-c2bc-b90b-35b9-7c6a07822dae@vodafonemail.de>

Hello, Jens.

On Sun, Aug 13, 2023 at 12:59:26 +0200, Jens Schmidt wrote:
> On 2023-08-12  21:09, Andrea Corallo wrote:

> > To a very quick look seems to me `comp-subr-trampoline-install' is just
> > not called as it should.  AFAIR it should be called from Ffset, I'm
> > really wondering what could have happened.

> Probably because native-comp-enable-subr-trampolines equals nil in an
> "emacs-master -Q"?

> When I compare the following snippet from emacs-master/lisp/loadup.el:

>          (when (and (featurep 'native-compile)
>                     (equal dump-mode "pdump"))
>            ;; Don't enable this before bootstrap is completed, as the
>            ;; compiler infrastructure may not be usable yet.
>            (setq comp-enable-subr-trampolines t))
>                  ^^^^

> to emacs-29:

>        (when (and (featurep 'native-compile)
>                   (equal dump-mode "pdump"))
>          ;; Don't enable this before bootstrap is completed, as the
>          ;; compiler infrastructure may not be usable yet.
>          (setq native-comp-enable-subr-trampolines t))
>                ^^^^^^^^^^^

Excellent debugging work!  Thanks!

> it seems that the android merge seems to be the culprit.  But leaving
> that to others to judge.

There was a variable called comp-enable-subr-trampolines which got
renamed to native-comp-..... on 2023-02-13 by Andrea in commit
5d0912f144.  In the feature/android branch, which was possibly branched
from main _before_ 2023-02-13, this flag was renamed back again to
comp-enable-.... on 2023-02-18 by Po in commit 4ab9fa7507a.  This likely
followed a merge from main onto the android branch.

It seems that native-comp-.... appeared to be a typo in the android
branch, so it got "corrected" to comp-enable-.... to make the software
work.  This "correction" was then forgotten about, an easy mistake to
make.

> In any case, fixing that setq in emacs-master to refer to
> `native-comp-enable-subr-trampolines' again fixes the issue, at least
> as far as my "little repro case" is concerned ... running "make check" 
> ... yep, no more hangs at least on abbrevs-test.el.

I would favour correcting that last use of comp-enable-subr-trampolines.

-- 
Alan Mackenzie (Nuremberg, Germany).



  reply	other threads:[~2023-08-13 11:34 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-10 19:18 make check produces 25 failures and hangs (bug #65176) Alan Mackenzie
2023-08-10 19:54 ` chad
2023-08-10 20:14   ` Alan Mackenzie
2023-08-10 20:34     ` Alan Mackenzie
2023-08-10 21:54       ` Jens Schmidt
2023-08-11  5:37         ` Eli Zaretskii
2023-08-11 19:39           ` Jens Schmidt
2023-08-12  0:10             ` Po Lu
2023-08-12  9:30               ` Jens Schmidt
2023-08-12 18:03           ` Andrea Corallo
2023-08-12 19:09             ` Andrea Corallo
2023-08-13 10:59               ` Jens Schmidt
2023-08-13 11:34                 ` Alan Mackenzie [this message]
2023-08-13 12:07                 ` Eli Zaretskii
2023-08-14  7:51                   ` Andrea Corallo
2023-08-14 12:07                     ` Eli Zaretskii
2023-08-14 13:38                       ` Andrea Corallo
2023-08-14 13:44                         ` Eli Zaretskii
2023-08-14 14:13                           ` Andrea Corallo
2023-08-14 14:52                         ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZNi_q9lD8jW8kM3-@ACM \
    --to=acm@muc.de \
    --cc=acorallo@gnu.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jschmidt4gnu@vodafonemail.de \
    --cc=luangruo@yahoo.com \
    --cc=yandros@gmail.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.