Re: Deferring native compilation finalization until idle

Perry Fraser <[email protected]> Sat, 25 Jul 2026 16:36:03 -0400
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
Stéphane Marks <[email protected]> writes:
> In "production," I run one of the jimeh binaries found here
> <https://github.com/jimeh/emacs-builds/releases> which disable library
> validation so I avoid the issue entirely.

Gah, sorry, I had misunderstood what you were saying to mean that you
couldn't reproduce the issue whatsoever. That clarifies things.

>>  I am not, though I think there are some additional details that need
>>  mentioned in the PROBLEMS file for this to be an effective solution.
>>  (Namely, macos-disable-library-validation.entitlements needs to be a
>>  file with the appropriate entitlement enabled in it[1]
>
> These entitlements apply only to the bundle Emacs.app and its main
> entrypoint binaries.

Perhaps I wasn't clear—the codesign command currently listed in
PROBLEMS will not function on its own as it needs an entitlement file
to read from, which is what the `--entitlements' flag takes.

I think you're right that additionally it would need to be codesigning
the Emacs.app bundle to have any effect, due to what I mention below.

> I don't know if that is the case. I suggested that as an area for an
> enterprising someone to study in case it turns out that running
> codesign on eln files as a post-generation step worked when those
> files are contained in the bundle directory tree.

Well, I wasn't able to get the jimeh build to load without hiccups
until I let the eln cache dir be its default of being inside the .app.
If you think it's worth confirming, I can investigate further?

Thanks,

― Perry