[Ecls-list] Standalone executable with HEAD

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Sun Nov 8 14:39:59 UTC 2009


On Tue, Nov 3, 2009 at 1:50 AM, Matthew Mondor <mm_lists at pulsar-zone.net> wrote:
> This is a problem I see with recently built CVS HEAD of ECL (with
> version label 9.10.2), but it works fine with 9.8.3 (both built with
> threads):
>
> /tmp/hello.lisp:
> (format t "Hello, world!~%")
> (ext:quit)
>
> /tmp/comp.lisp:
> (compile-file "/tmp/hello.lisp" :system-p t)
> (c:build-program "/tmp/hello" :lisp-files '("/tmp/hello.o"))
>
> $ ecl </tmp/comp.lisp
>
>
> $ /tmp/hello
> Hello, world!
>
> Detected access to an invalid or protected memory address.

EXT:QUIT now works differently: it unwinds the stack until it finds
the outermost block, executing all cleanup statements from
UNWIND-PROTECTs that it finds. Unfortunately, standalone executables
did not provide a single frame to jump to, and QUIT failed. I have
fixed this in CVS/git.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list