[Ecls-list] DFFI bug with :long type on linux/x86-64

Luis Oliveira luismbo at gmail.com
Tue Jul 29 01:33:14 UTC 2008


Hello,

Here's a simple test case:

$ ecl -norc
ECL (Embeddable Common-Lisp) 0.9k (CVS 2008-06-19 17:09)
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 "labs" :default :pointer-void 0)
#<foreign :POINTER-VOID 00007fbc138a5500>
> (si:call-cfun * :long '(:long) '(-123))
-4294967173

$ uname -a
Linux haden 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008 x86_64 GNU/Linux

-- 
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/





More information about the ecl-devel mailing list