[Ecls-list] DFFI issues

Juan Jose Garcia-Ripoll jjgarcia at users.sourceforge.net
Sun Apr 6 14:15:54 UTC 2008


On Sun, Apr 6, 2008 at 3:52 PM, Luis Oliveira <luismbo at gmail.com> wrote:
 >  I was trying to update cffi-ecl.lisp and came across this apparent bug:

>  > (si:find-foreign-symbol "abs" :default :pointer-void 0)
 >  #<foreign :POINTER-VOID 00002b82f51bc8e0>
 >  > (si:call-cfun * :int '(:int) '(-42))
 >  Segmentation violation.
 >
 >  I'm running Ubuntu 7.10, in case that helps.
 >
 >   $ uname -srm
 >   Linux 2.6.22-14-generic x86_64

 This must be related to the FFI backend for intel 64-bits processors.
 I will have a look.

 Juanjo

 --
 Facultad de Fisicas, Universidad Complutense,
 Ciudad Universitaria s/n Madrid 28040 (Spain)
 http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list