[Ecls-list] Problem with compiled asdf.

Matthew Mondor mm_lists at pulsar-zone.net
Tue Jun 29 19:53:22 UTC 2010


On Tue, 29 Jun 2010 21:25:16 +0200
Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> wrote:

> This code shows a problem. Some time ago ASDF developers decided that it was
> essential to have some POSIX functions available. Unfortunately this means
> that ASDF can not be loaded from sources because it uses calls to C-INLINE
> and CLINES (See below). I wonder how it worked for you -- I immediately get
> the Slime REPL.
> 
> >  (load "~/devel/ecl/contrib/asdf/asdf.lisp" :verbose t)
> 
> ;;; Loading "/Users/jjgarcia/devel/ecl/contrib/asdf/asdf.lisp"
> 
> The special form clines cannot be used in the interpreter: (#include
> <sys/types.h> #include <unistd.h>)
> Available restarts:
> 
> 1. (RESTART-TOPLEVEL) Go back to Top-Level REPL.
> 
> Broken at SI:BYTECODES. [Evaluation of: (FFI:CLINES "#include <sys/types.h>"
> "#include <unistd.h>")]

Are there many required POSIX syscalls?  If there only are a handful,
perhaps ECL itself could provide those functions and export them in the
SI package for ASDF to use?  This would allow the C inline parts to
build as part of ECL and ASDF to be usable again in interpreted mode.

Thanks,
-- 
Matt




More information about the ecl-devel mailing list