GNU bug report logs - #41877
Bug: feature/native-comp on MacOs Catalina w.r.t. subr-x.eln

Previous Next

Package: emacs;

Reported by: Gregor Eeckels <gregor.eeckels <at> gmail.com>

Date: Mon, 15 Jun 2020 17:50: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: Nicolas Bértolo <nicolasbertolo <at> gmail.com>
To: 41877 <at> debbugs.gnu.org
Cc: gregor.eeckels <at> gmail.com, Andrea Corallo <akrl <at> sdf.org>
Subject: bug#41877: Bug: feature/native-comp on MacOs Catalina w.r.t. subr-x.eln
Date: Wed, 17 Jun 2020 10:38:23 -0300
Hi,

I have seen empty .eln files created in Windows. This usually happens when
libgccjit cannot find the correct GCC installation to run the final steps.

I am not a Mac user either, but AFAIK, launching an .app is not the same as
running it from the console. The PATH variable will not have all your
customizations, for example.

A wild guess is that Emacs didn't compile subr-x.eln during the bootstrap
process because NATIVE_FAST_BOOT was enabled. Then, you opened Emacs.app and it
kickstarted the deferred compilation process. This was run in an environment
without the correct PATH, so it could not find GCC and the empty file was
created.

Try deleting subr-x.eln and start Emacs again. You may have to delete other
empty files too. Then run (executable-find "gcc"). Check that this is the same
as `which gcc` in the shell you used to compile Emacs.

You could also check the "*Async-native-compile-log*" buffer for any error
messages.

Nico.




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

Previous Next


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