diff options
author | Peter Bex <peter@more-magic.net> | 2012-10-05 21:37:05 +0200 |
---|---|---|
committer | Peter Bex <peter@more-magic.net> | 2012-10-05 21:37:05 +0200 |
commit | 730e3ff9e081b0bbd78826f52ff8d83c0ed70e30 (patch) | |
tree | 164604151a7f5745d4a125d021b37c50585b1030 | |
parent | 75a184bd4d476820ef50ea69be714dff173797ca (diff) | |
download | scsh-process-0.2.1.tar.gz |
Workaround for bug in 4.8.0 when loading scsh-process in compiled mode - it segfaults immediately. TODO: Figure out why0.2.1
-rw-r--r-- | scsh-process.setup | 11 | ||||
-rw-r--r-- | tests/run.scm | 4 |
2 files changed, 12 insertions, 3 deletions
diff --git a/scsh-process.setup b/scsh-process.setup index 6347af7..7d54201 100644 --- a/scsh-process.setup +++ b/scsh-process.setup @@ -1,2 +1,11 @@ ;; -*- Scheme -*- -(standard-extension 'scsh-process "0.2") + +;; Can't use standard-extension for now; 4.8.0's standard-extension uses -O3 +;; which implies -specialize. This generates code that causes a segfault. +(compile -s -O2 -d1 scsh-process.scm -j scsh-process) +(compile -s -O2 -d0 scsh-process.import.scm) + +(install-extension + 'scsh-process + '("scsh-process.so" "scsh-process.import.so") + '((version "0.2.1"))) diff --git a/tests/run.scm b/tests/run.scm index c4deb88..56a823e 100644 --- a/tests/run.scm +++ b/tests/run.scm @@ -1,5 +1,5 @@ -(include "../scsh-process.scm") -(import scsh-process) +#;(include "../scsh-process.scm") +(use scsh-process) (use test posix srfi-13) |