bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Nicolas Bértolo
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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]