Re: Deferring native compilation finalization until idle
Eli Zaretskii <[email protected]> Sat, 25 Jul 2026 18:15:40 +0300
| Newsgroups | gmane.emacs.devel |
|---|---|
| Message-ID | <[email protected]> |
> mail-alias-created-date: 1604598926000 > From: Perry Fraser <[email protected]> > Cc: [email protected], [email protected], [email protected], > [email protected], [email protected] > Date: Sat, 25 Jul 2026 11:05:09 -0400 > > Eli Zaretskii <[email protected]> writes: > > > If that is what solves the problem for you, then it is something > > specific to macOS and completely unrelated to JIT compilation: it is > > due to macOS validation of a shared library when it is first loaded. > > My understanding is that the problem is right after the JIT compilation, when the library for the compiled file gets loaded. Does that seem accurate? Yes, AFAIU. > > That's why we added that item to PROBLEMS, and if that is the solution > > for you, I don't really understand what you are asking us to do more > > here. > > Sorry if I wasn't clear—I think the solution in PROBLEMS is something that should be installed properly (implementation details notwithstanding). I only found this thread by chance as I never even imagined that this behavior isn't the norm, and I think that's the case for most macOS users (granted this is an assumption, but given that I can reproduce this from `emacs -Q' and I've had this issue across computers, I think it's a fair one). > > I do know there are some other macOS users on #emacs and I'm happy to do some surveying to see if the problem is truly widespread, if that would help. I'd prefer to wait and see how widespread is the problem, even on macOS, before we burden everyone (including the maintainers) with this complication.