This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Trouble building swank-kawa
- From: Helmut Eller <eller dot helmut at gmail dot com>
- To: kawa at sourceware dot org
- Date: Sat, 30 Aug 2014 07:20:27 +0200
- Subject: Re: Trouble building swank-kawa
- Authentication-results: sourceware.org; auth=none
- References: <CABgWrqrzj8w+hVme2=x44yBnVy6-NOeCoNdFNaizdRmzNaqrdQ at mail dot gmail dot com>
On Sat, Aug 30 2014, Duncan Mak wrote:
> I'm using kawa 1.14 from Homebrew on a Mac.
>
> I got SLIME running in emacs from git, but I can't seem to get
> swank-kawa to compile. When I follow the instructions, I get
>
> bash-3.2$ java -cp
> /usr/local/Cellar/kawa/1.14/kawa-1.14.jar:$JAVA_HOME/lib/tools.jar
> -Xss650k kawa.repl -d classes -C swank-kawa.scm && jar cf
> swank-kawa.jar -C classes .
> (compiling swank-kawa.scm to swank$Mnkawa)
> swank-kawa.scm:234:28: caught exception in inliner for #<procedure
> apply-to-args> - java.lang.StackOverflowError
> java.lang.StringBuffer.append(StringBuffer.java:272)
>
> I've tried with both jdk1.7.0_67.jdk and jdk1.8.0_05.jdk.
>
> Thanks for any help!
Can you try a larger stack size, e.g. -Xss2M ? 650k seems to be enough
on a 32 bit machine. I guess a 64 bit machine needs about twice as much.
Helmut