Re: [BUG] Compilation warnings with 29.4

Joel Reicher <[email protected]> Fri, 12 Jul 2024 21:10:51 +1000
Newsgroups gmane.emacs.windows
Message-ID <[email protected]>
Eli Zaretskii <[email protected]> writes:

>> From: Joel Reicher <[email protected]>
>> Cc: [email protected]
>> Date: Fri, 12 Jul 2024 18:55:27 +1000
>>
>> Joel Reicher <[email protected]> writes:
>>
>>> But doesn't setting `native-comp-jit-compilation' to nil 
>>> accomplish the same workaround a little more easily? (I added 
>>> this to my early-init yesterday while I'm figuring out the 
>>> problem.)
>>
>> Just in case anyone else wants to do this, I've found that 
>> setting `native-comp-enable-subr-trampolines' to nil is also 
>> needed.
>
> Yes, and this is all documented already.  The problem here is 
> that these customizations shouldn't have been needed in the 
> first place, they are only for the case where JIT native 
> debugging is available and all the prerequisites are installed, 
> but the user for some reason doesn't want it.

I'm not suggesting this is anything other than a (very) temporary 
workaround, and I was already aware of this variable from the 
documentation, but it wasn't clear to me the conditions under 
which Emacs would try to generate a trampoline.

It was interesting to see it happen.

Thanks and regards,

       - Joel