lightning
[Top][All Lists]
Advanced

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

[Lightning] x86_64 and jit_addxi_l


From: Denis Washington
Subject: [Lightning] x86_64 and jit_addxi_l
Date: Thu, 06 Jan 2011 20:36:05 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101230 Lanikai/3.1.7

Hi,

I tried to compile GNU Smalltalk with JIT compilation enabled on Linux x86_64 and after some fiddling [1] got it almost to compile. However, one problem remains:

 xlat.c:1714:8: warning: implicit declaration of function 'jit_mulr_l_'
xlat.c:1714:8: warning: implicit declaration of function 'jit_addci_l'
 xlat.c:1715:8: warning: implicit declaration of function 'jit_addxi_l'

and as a consequence:

 libgst/.libs/libgst.so: undefined reference to `jit_addxi_l'
 libgst/.libs/libgst.so: undefined reference to `jit_addci_l'
 libgst/.libs/libgst.so: undefined reference to `jit_mulr_l_'

I investigated the situation concerning `jit_addxi_l' and the only definition I found was in core-common.h, and then only as an alias for jit_addxi_l for the case that int has the same size as long (which is not the case on Linux x86_64, naturally). So my feeling is that there must be a definition of jit_addxi_l in Lightning's x86_64 port, but grep doesn't yield any such definition in lightning/i386/*.h. Was it forgotten? Is it not implemented yet? Or is this simply a problem on my part?

Regards,
Denis

[1] I needed to ensure that the only the installed Lightning from git and not the one shipped with gst was used by renaming the lightning/ folder, but that is for a bug report in the GNU Smalltalk issue tracker.



reply via email to

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