[Ecls-list] DFFI issues
Luis Oliveira
luismbo at gmail.com
Sun Apr 6 13:52:43 UTC 2008
Hello,
I was trying to update cffi-ecl.lisp and came across this apparent bug:
$ ecl -norc
ECL (Embeddable Common-Lisp) 0.9j
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help. Top level.
> (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
I see the same behaviour with either the 0.9j-p1 tarball or latest CVS,
both with unicode enabled.
--
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/
More information about the ecl-devel
mailing list