Hello, after checking out the branch "rak-jvm-support" from the nqp repository and the branch "jvm-support" from the rakudo repository both build fine on JVM.
./perl6 --version This is perl6 version 2013.04-225-g7d2e5b4 built on JVM Thank you very much for the information Nicholas. -- Gerd Pokorra Am Samstag, den 18.05.2013, 20:17 +0100 schrieb Nicholas Clark: > On Sat, May 18, 2013 at 09:03:35PM +0200, Gerd Pokorra wrote: > > Hello, > > > > I get the same error with the -Xmx1024m flag. > > > > > java -Xmx1024m -cp > > src/vm/jvm/stage0:nqp-runtime.jar:3rdparty/asm/asm-4.1.jar nqp > > --bootstrap --module-path=src/stage1 --setting-path=src/stage1 > > --setting=NQPCORE --no-regex-lib --target=classfile > > --output=src/stage1/QAST.class src/stage1/gen/QAST.nqp > > java.lang.RuntimeException: java.lang.RuntimeException: Method code too > > large! > > in <anon> > > in compile > > in eval > > in evalfiles > > in command_eval > > in command_line > > in MAIN > > in <anon> > > in <anon> > > Aha. Right. I might have overlooked something else, which was obvious to me, > but not actually obvious. Sorry. > > Based on a conversation on #perl6, my NQP is built on the branch > rak-jvm-support, and my Rakudo is from the branch jvm-support > > Neither NQP master nor Rakudo nom have the most recent changes merged in. > In particular, NQP master accidentally has a commit merged which breaks > things, IIRC with hat error, but the fix for that commit is not merged in to > master. (But will be after the next compiler release) > > So if you're not using the branches rak-jvm-support and jvm-support that > will be the problem. > > Also, there's an obsolete branch jvm-support in NQP. You might have that > locally, just to confuse things. If you run `git remote prune origin` that > should clean up. (Or git fetch --prune) > > Nicholas Clark