Re: make check-exec-image failure

Bruno Haible <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <32391443.oJ2UCa4XPr@omega>
Sam,

> This is wrong.
> exec images work on all platforms.

"make check-exec-image" fails at least on OpenBSD/i386, OpenBSD/x86_64, and
MirBSD.

And probably on Cygwin as well, otherwise Ken Brown would not have added
this patch to the Cygwin port of clisp:

# HG changeset patch
# User Ken Brown <[email protected]>
# Date 1429042817 14400
#      Tue Apr 14 16:20:17 2015 -0400
# Node ID 5383b0dea9eef525202949979d621e9f84a91fec
# Parent  abc756d38a96bd7959869ca47d66590df7c19baf
Don't allow saving executable memory images on Cygwin

diff -r abc756d38a96 -r 5383b0dea9ee src/savemem.lisp
--- a/src/savemem.lisp	Sat Mar 14 14:45:32 2015 -0400
+++ b/src/savemem.lisp	Tue Apr 14 16:20:17 2015 -0400
@@ -38,6 +38,9 @@
                     ((:script *script*) (null init-function))
                     keep-global-handlers (start-package *package*)
                     (locked-packages *system-package-list*) executable)
+  (if executable
+      (error
+       "Sorry, this build does not support saving executable memory images"))
   (let* ((old-driver *driver*) old-global-handlers file-size
          (*package* (sys::%find-package start-package))
          (active-restarts *active-restarts*)


Bruno


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.