[Ecls-list] DFFI issues
marco.gidde at tiscali.de
Tue Apr 8 05:19:48 UTC 2008
"Juan Jose Garcia-Ripoll"
<jjgarcia at users.sourceforge.net> writes:
> 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.
The given example works here with the trivial patch I sent to this list
about a year ago. See http://permalink.gmane.org/gmane.lisp.ecl.general/2649
More information about the ecl-devel