emacs-devel
[Top][All Lists]
Advanced

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

Re: STatus of MPS branch


From: Andrea Corallo
Subject: Re: STatus of MPS branch
Date: Sun, 21 Apr 2024 05:08:09 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

Gerd Möllmann <gerd.moellmann@gmail.com> writes:

> Gerd Möllmann <gerd.moellmann@gmail.com> writes:
>
>> Gerd Möllmann <gerd.moellmann@gmail.com> writes:
>>
>>> - Run tests with native compilation.
>>
>> I'm oding that. It currently does not build with native compilation.
>>
>> Error: native-ice ("emacs-lisp/bytecomp.el" "can't find data in relocation 
>> containers")
>>   signal(native-ice ("emacs-lisp/bytecomp.el" "can't find data in relocation 
>> containers"))
>>   comp--native-compile("emacs-lisp/bytecomp.el")
>>
>> which sounds like it could have to do with moving pointers.
>
> Ok, as a starter, there are some Lisp_Object members of comp_t that are
> not staticpro'd, so something has to be done for a moving collector.
>
> @Andrea: Don't know, should things like comp_t::driver_options be
> staticpro'd for the "normal" GC? If so, things would automatically work
> with MPS OOTB.

I can't recall any reason why they should not be staticpro'd, so yes I
think you can static protect them and see if it works further.

>From the changes I see in the branch I think should not be too hard to
have native comp working on it (last famous words).

Thanks

  Andrea




reply via email to

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