GNU bug report logs - #46256
[feature/native-comp] AOT eln files ignored if run from build tree

Previous Next

Package: emacs;

Reported by: Andy Moreton <andrewjmoreton <at> gmail.com>

Date: Tue, 2 Feb 2021 11:12:02 UTC

Severity: normal

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: 46256 <at> debbugs.gnu.org, andrewjmoreton <at> gmail.com
Subject: bug#46256: [feature/native-comp] AOT eln files ignored if run from build tree
Date: Wed, 03 Mar 2021 20:43:01 +0200
> Date: Wed, 03 Mar 2021 20:27:55 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 46256 <at> debbugs.gnu.org
> 
>  . After fixing the above, Emacs starts, but as soon as some simple
>    command is invoked, and Emacs starts native-compiling Lisp
>    packages, the Emacs subprocesses which run the async compilation
>    start crashing.  Not all of them crash, but some do.  I wasn't yet
>    able to find where they crash or why; stay tuned.

Some more info about these crashes: I see this in the *Messages*
buffer when a compilation crashes:

       Warning (comp): comp.h:70: Emacs fatal error: assertion failed: NATIVE_COMP_UNITP (a)^M

I also see similar picture in emacs_backtrace.txt:

  emacs_abort at src/w32fns.c:10947
  terminate_due_to_signal at src/emacs.c:417
  die at src/alloc.c:7452
  XNATIVE_COMP_UNIT at src/comp.h:70
  load_comp_unit at src/comp.c:4766
  syms_of_comp at src/comp.c:5077
  Fload at src/lread.c:1548

(My Emacs is compiled with --enable-checking=yes.)

Btw, that ^M character after the error message probably means we don't
correctly decode messages from the async compilation subprocesses --
but this is a secondary problem for now.




This bug report was last modified 4 years and 130 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.