[cffi-devel] LispWorks 5.0/5.1 and LONG-LONG support

Luís Oliveira luismbo at gmail.com
Mon Apr 7 11:39:53 UTC 2008


2008/4/7 Chun Tian (binghe) <binghe.lisp at gmail.com>:
>  Thanks for fix that. With your new patch, I can run CFFI's test-op on LWL64
> 5.0 now.

I've pushed it to the repository. BTW, I just found your patch from a
few months ago, which I somehow missed:
<http://article.gmane.org/gmane.lisp.cffi.devel/1222> it looks exactly
the same as the one I came up with. Sorry about that.


>  Test on LWL64 5.0 has 28 unexpected failures, more than 5.1 (which has 18
> unexpected failures)
>  For details, see in attach.
>
>  So, what else can I do for you? Does these failure tests means bugs or
> feature lost in CFFI's LW support?

Most likely, 5.1 fails less tests due to bugfixes.

FUNCALL.DOUBLE, DEFCFUN.DOUBLE

These fail because libm is not loaded. Should be fixed now.

FUNCALL.DOUBLE26,  FUNCALL.FLOAT26, DEFCFUN.BFF.1, DEFCFUN.BFF.2,
DEFCFUN.DOUBLE26, DEFCFUN.FLOAT26, CALLBACKS.LONG,
CALLBACKS.LONG-LONG, CALLBACKS.FLOAT, CALLBACKS.FUNCALL.2,
CALLBACKS.DOUBLE26.FUNCALL, CALLBACKS.FLOAT26,
CALLBACKS.FLOAT26.FUNCALL

These are most likely bugs in Lispworks's 64-bit FFI. Some of those
tests are pretty twisted but I'd give priority to
CALLBACKS.{LONG,LONG-LONG,FLOAT,FUNCALL.2} which are pretty simple
tests.

If you these matter to you, I suggest you report them to Lispworks.
You'll probably make their life easier (and have better results) if
you translate the tests to LW's FFI. (And you'd be making sure it's
not a CFFI bug.)


FOREIGN-GLOBALS.READ-ONLY.1

I get this failure as well, I'll look into it when I get a chance.


STRING.ENCODING.UTF-16.BASIC, STRING.ENCODINGS.ALL.BASIC.

These are bugs in CFFI, babel or cffi-tests that I have to look into.
They fail on all lisps/platforms.

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



More information about the cffi-devel mailing list