help-smalltalk
[Top][All Lists]
Advanced

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

Need help compiling the JIT


From: Piotr Klibert
Subject: Need help compiling the JIT
Date: Thu, 03 Jun 2021 22:26:51 +0200
User-agent: Cyrus-JMAP/3.5.0-alpha0-519-g27a961944e-fm-20210531.001-g27a96194

Hello, 

I'm working on a side-project in GNU Smalltalk. I use the latest version from 
Git, and when I tried enabling JIT via ./configure --enable-jit option, I got 
the following error during compilation:

    In file included from ../lightning/lightning.h:47,
                     from xlat.c:57:
    ../lightning/core.h:155:41: error: invalid type argument of unary ‘*’ (have 
‘int’)
      155 | #define jit_patch_short_at(jump_pc,v)  (*_PSI((jump_pc) - 
sizeof(int)) = _jit_SI((jit_insn *)(v) - (jump_pc)))
          |                                         
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../lightning/core.h:156:89: note: in expansion of macro ‘jit_patch_short_at’
      156 | #define jit_patch_at(jump_pc,v) (_jitl.long_jumps ? 
jit_patch_long_at((jump_pc)-3, v) : jit_patch_short_at(jump_pc, v))
          |                                                                     
                    ^~~~~~~~~~~~~~~~~~
    ../lightning/core-common.h:168:32: note: in expansion of macro 
‘jit_patch_at’
      168 | #define jit_patch(pv)          jit_patch_at ((pv), (_jit.x.pc))
          |                                ^~~~~~~~~~~~
    xlat.c:3269:3: note: in expansion of macro ‘jit_patch’
     3269 |   jit_patch (x);
          |   ^~~~~~~~~
 
I'm on 64bit Linux, Fedora 32. I couldn't find any information about building 
the JIT, or its status, ie. if it's even expected to compile, or is it a 
broken/unfinished part of the GST. Any help would be very appreciated :-)


Best regards,
Piotr Klibert



reply via email to

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