Using FFI on linux 64 bits

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Using FFI on linux 64 bits

Daniel Galdames
Hi, i was trying to use FFI plugin on a 64 bits linux, but when I try
the test, or FFI-Examples, the vm crash with a segmentation fault.
I was able to use FFI with a i686 vm, calling 32 bits libraries. Is
there any way to make a 64 bits vm to call 64 bits libraries? or it
isn't supported yet?
Thanks.
  Daniel Galdames G.


_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Reply | Threaded
Open this post in threaded view
|

Re: Using FFI on linux 64 bits

Mariano Martinez Peck


On Fri, Apr 2, 2010 at 9:25 PM, Daniel Galdames G. <[hidden email]> wrote:
Hi, i was trying to use FFI plugin on a 64 bits linux, but when I try
the test, or FFI-Examples, the vm crash with a segmentation fault.
I was able to use FFI with a i686 vm, calling 32 bits libraries. Is
there any way to make a 64 bits vm to call 64 bits libraries? or it
isn't supported yet?

Hi Daniel. As far as I am aware, it is not supported for the moment. I have the same problem with SqueakDBX.
What I had to do is to use everything 32 bits:  squeak image, squeak vm, FFI plugin, OpenDBX library, Database client libraries....all 32 bits.
even if the pc architecture was 64 bits.

There are bugs with the 64 bits. For example, I remember http://bugs.squeak.org/view.php?id=7237
but there may be more.

Just as an example: http://www.squeakdbx.org/SqueakDBX%20in%2064%20bits

Cheers

Mariano

 
Thanks.
 Daniel Galdames G.


_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users


_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users