GNU bug report logs - #58318
28.2; Emacs installed from package won't work with MinGW

Previous Next

Package: emacs;

Reported by: Bartosz Bubak <bartosz.bubak <at> gmail.com>

Date: Wed, 5 Oct 2022 20:34:03 UTC

Severity: normal

Found in version 28.2

Full log


Message #17 received at 58318 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Corwin Brust <corwin <at> bru.st>
Cc: 58318 <at> debbugs.gnu.org, bartosz.bubak <at> gmail.com
Subject: Re: bug#58318: 28.2;
 Emacs installed from package won't work with MinGW
Date: Thu, 06 Oct 2022 17:41:27 +0300
> From: Corwin Brust <corwin <at> bru.st>
> Date: Thu, 6 Oct 2022 08:09:16 -0500
> Cc: Bartosz Bubak <bartosz.bubak <at> gmail.com>, 58318 <at> debbugs.gnu.org
> 
> If, per the configuration reported when generating this bug report,
> Emacs can see libgccjit is not available, then should Emacs still be
> trying to native compile org-entitles in this case?

No, it should disable that in startup.el:

    (when (featurep 'native-compile)
      (unless (native-comp-available-p)
        ;; Disable deferred async compilation and trampoline synthesis
        ;; in this session.  This is necessary if libgccjit is not
        ;; available on MS-Windows, but Emacs was built with
        ;; native-compilation support.
        (setq native-comp-deferred-compilation nil
              comp-enable-subr-trampolines nil))

But libgccjit DLL _is_ available in this case, so maybe the test
doesn't discover the problem.




This bug report was last modified 2 years and 253 days ago.

Previous Next


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