[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MPS: Please check if scratch/igc builds with native compilation
From: |
Andrea Corallo |
Subject: |
Re: MPS: Please check if scratch/igc builds with native compilation |
Date: |
Tue, 21 May 2024 15:50:17 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Gerd Möllmann <gerd.moellmann@gmail.com> writes:
> Andrea Corallo <acorallo@gnu.org> writes:
>
>> Andrea Corallo <acorallo@gnu.org> writes:
>>
>>> Helmut Eller <eller.helmut@gmail.com> writes:
>>>
>>>> Is there some way to disable optimizations for libgccjit so that the
>>>> native compiler isn't quite so slow?
>>>
>>> The following should do the job, maybe is also an interesting test to
>>> do...
>>>
>>> modified lisp/emacs-lisp/comp.el
>>> @@ -54,7 +54,7 @@ comp
>>> "Emacs Lisp native compiler."
>>> :group 'lisp)
>>>
>>> -(defcustom native-comp-speed 2
>>> +(defcustom native-comp-speed 0
>>> "Optimization level for native compilation, a number between -1 and 3.
>>> -1 functions are kept in bytecode form and no native compilation is
>>> performed
>>> (but *.eln files are still produced, and include the compiled code in
>>
>> Okay a datapoint, I did managed to bootstrap two times a native compiled
>> Emacs with only this patch installed with no errors.
>
> Interesting. On my systems, speed 0 didn't change things.
Yeah, tried now speed 0 + -with-native-compilation=aot and it fails with
the very same assertion just after, so it's probably just that speed 0
stresses less the GC, but the bug is still there.
Andrea
- Re: MPS: Please check if scratch/igc builds with native compilation, (continued)
- Re: MPS: Please check if scratch/igc builds with native compilation, Eli Zaretskii, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Helmut Eller, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Andrea Corallo, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Helmut Eller, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Andrea Corallo, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Andrea Corallo, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Gerd Möllmann, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation,
Andrea Corallo <=
- Re: MPS: Please check if scratch/igc builds with native compilation, Eli Zaretskii, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Andrea Corallo, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Helmut Eller, 2024/05/22
- Re: MPS: Please check if scratch/igc builds with native compilation, Gerd Möllmann, 2024/05/22
- Re: MPS: Please check if scratch/igc builds with native compilation, Gerd Möllmann, 2024/05/22
- Re: MPS: Please check if scratch/igc builds with native compilation, Helmut Eller, 2024/05/22
- Re: MPS: Please check if scratch/igc builds with native compilation, Gerd Möllmann, 2024/05/22
- Re: MPS: Please check if scratch/igc builds with native compilation, Helmut Eller, 2024/05/22
- Re: MPS: Please check if scratch/igc builds with native compilation, Gerd Möllmann, 2024/05/22
- Re: MPS: Please check if scratch/igc builds with native compilation, Gerd Möllmann, 2024/05/22