[Gsll-devel] OT: foreign numeric vector library compilation on sbcl
Mirko Vukovic
mirko.vukovic at gmail.com
Wed Feb 10 21:01:14 UTC 2010
Hello
This does not strictly apply to gsll, but it is not too far afield.
After a several month hiatus I tried to load the `foreign-numeric-vector'
library on sbcl1.034 on 64-bit linux in order to access some netlib and
lapack routines (mainly the amos library for complex bessel functions). (My
prior version of sbcl was 1.024)
I got the following error when compiling the file
`foreign-numeric-vector.lisp':
>>>
Unexpected offset.
[Condition of type SIMPLE-ERROR]
Restarts:
0: [TRY-RECOMPILING] Try recompiling foreign-numeric-vector
1: [RETRY] Retry performing #<ASDF:COMPILE-OP NIL {1003F6C941}> on
#<ASDF:CL-SOURCE-FILE "foreign-numeric-vector" {1004056AF1}>.
2: [ACCEPT] Continue, treating #<ASDF:COMPILE-OP NIL {1003F6C941}> on
#<ASDF:CL-SOURCE-FILE "foreign-numeric-vector" {1004056AF1}> as having been
successful.
3: [ABORT] Abort compilation.
4: [RETRY] Retry SLIME REPL evaluation request.
5: [ABORT] Return to SLIME's top level.
--more--
>>>
The error seems to be during the compilation of:
; compiling (MAKE-FNV-TYPED-VECTOR FLOAT ...)
; compiling (MAKE-FNV-TYPED-VECTOR DOUBLE ...)
; compiling (MAKE-FNV-TYPED-VECTOR COMPLEX-FLOAT ...) <-----------------
; compilation aborted after 0:03:00.518
;
; compilation unit aborted
; caught 2 fatal ERROR conditions
If I comment out (make-fnv-typed-vector complex-float ...) and
(make-fnv-typed-vector complex-double ...), the file compiles cleanly.
Unfortunately, I do need those routines.
I tried this with the latest cffi.
Any thoughts on what may be going on?
Thanks
Mirko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/gsll-devel/attachments/20100210/060d2cc0/attachment.html>
More information about the gsll-devel
mailing list