This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Trouble building swank-kawa


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]