[Gambas-user] News about the new just-in-time compiler

Jussi Lahtinen jussi.lahtinen at gmail.com
Fri Jul 6 03:29:49 CEST 2018


OK, here is something more serious. Crash with valid code. See the
attachment.
Also I think I find bug from the GNU compiler.


Jussi

On Fri, Jul 6, 2018 at 3:36 AM, Jussi Lahtinen <jussi.lahtinen at gmail.com>
wrote:

> Note that the function pointer is given to the collection, not the
> function value! IE it is invalid code, which causes the crash.
>
>
> Jussi
>
> On Fri, Jul 6, 2018 at 3:33 AM, Jussi Lahtinen <jussi.lahtinen at gmail.com>
> wrote:
>
>> Excellent work!
>> However, I think there are some bugs still to be squished. Here is one.
>> See attached project.
>>
>>
>> Jussi
>>
>> On Thu, Jul 5, 2018 at 8:20 AM, Benoît Minisini <g4mba5 at gmail.com> wrote:
>>
>>> Le 04/07/2018 à 00:04, Jussi Lahtinen a écrit :
>>>
>>>> I was in impression that I got unfreed stuff with latest revision, but
>>>> I was wrong.
>>>> I'm still unable to figure out what crashes the JIT in the big project.
>>>>
>>>>
>>> Hi,
>>>
>>> With commit https://gitlab.com/gambas/gambas/commit/d3c93a05e4a15f65bc02
>>> 024dc52ed941bc567659, I can run your project without any crash and any
>>> error now.
>>>
>>> You can use 'clang' instead of 'gcc' by defining 'GB_JIT_CC=clang' too.
>>> 'clang' is between 2x and 5x faster to compile, but at the moment it fails
>>> on one test at line 492. A non-yet solved problem with huge integer
>>> constants.
>>>
>>>
>>> Regards,
>>>
>>> --
>>> Benoît Minisini
>>>
>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180706/6656eb42/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NewJITtest-3.tar.gz
Type: application/gzip
Size: 11688 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180706/6656eb42/attachment.gz>


More information about the User mailing list