This page is no longer maintained — Please continue to the home page at www.scala-lang.org

StackOverflowError compiling scala/

No replies
michael hohn
Joined: 2009-11-27,
User offline. Last seen 42 years 45 weeks ago.

Hi,

I've just tried compiling scala from svn trunk, and the build failed.
Some of the build log is below.
After this, I also tried

but still get a stack overflow.

Any suggestions?

Cheers,
Michael

Buildfile: build.xml
[echo] Using ANT_OPTS: -Xms512M -Xmx1024M -Xss1M -XX:MaxPermSize=128M

nightly:
[echo] Using ANT_OPTS: -Xms512M -Xmx1024M -Xss1M -XX:MaxPermSize=128M

init:
[echo] Build number is '2.8.0.r20108-b20091211100744'
[echo] Built 11 December 2009, 10:07:44 from revision 20108 with
Java HotSpot(TM) Client VM 1.5.0_20

...
...
locker.comp:
[mkdir] Created dir:
D:\home\hohn\work\thetaris\scala\svn-sources\scala\build\locker\classes\compiler
[scalacfork] Compiling 247 files to
D:\home\hohn\work\thetaris\scala\svn-sources\scala\build\locker\classes\compiler
[scalacfork] Exception in thread "main" java.lang.StackOverflowError
[scalacfork] at
scala.tools.nsc.ast.Trees$Transformer.transform(Trees.scala:1433)
[scalacfork] at
scala.tools.nsc.transform.Erasure$ErasureTransformer$$anon$3.transform(Erasure.scala:1023)

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland