Changes between Initial Version and Version 1 of Ticket #64331, comment 2


Ignore:
Timestamp:
Jan 2, 2022, 1:19:03 AM (3 years ago)
Author:
pmetzger (Perry E. Metzger)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #64331, comment 2

    initial v1  
    1 Native compilation is a feature of Emacs as of version 28. The port builds fine, but Emacs now features a native code compiler for elisp, the extension language that is part of the Emacs system. It works by using libgccjit, although it's not a jit but rather an ahead of time compiler. What happens is emacs itself starts, but when it attempts to compile elisp code to execute it, it starts spitting out error messages. If you're not an Emacs user, this likely isn't very meaningful to you.
     1The port builds fine, that's not the problem.
     2
     3Native compilation is a feature of Emacs as of version 28. Emacs now has a native code compiler for elisp, the extension language that is part of the Emacs system. It works by using libgccjit, although it's not a jit but rather an ahead of time compiler. Emacs will attempt to compile (and cache) basically any elisp it gets invoked on. What happens with the port is Emacs itself starts, but when it attempts to compile elisp code to execute it, it starts spitting out error messages in an internal *Warnings* window. (If you're not an Emacs user, this likely isn't very meaningful to you.)
    24
    35Regardless, the problem happens with most elisp. For example, with my particular init.elc file: