Greetings!
Today I tried to install Rakudo with both MoarVM and JVM support on
ArchLinux.
After cloning Rakudo git repository I did the
following:
$ perl Configure.pl --gen-moar --gen-nqp --backends=moar,jvm
$ make
$ make install
And got the following error:
./perl6-j tools/build/install-core-dist.pl
/mnt/lib/perl6/rakudo/install/share/nqp
Unhandled exception: java.lang.StackOverflowError
in (gen/jvm/stage2/NQPHLL.nqp:68)
in (gen/jvm/stage2/NQPHLL.nqp:1430)
in register_local
in add_local
in compile_var
in as_jast
in as_jast
in
in
in compile_op
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in
in
in compile_op
in as_jast
<<<<... 400 lines of stack dump skipped...>>>>
Return status 256
in block <unit> at tools/build/install-core-dist.pl line 13
Actually thrown at:
in block <unit> at tools/build/install-core-dist.pl line 13
Makefile:487: recipe for target 'j-install' failed
make: *** [j-install] Error 1
I have the following Java stuff installed:
local/jdk7-openjdk 7.u91_2.6.3-1
OpenJDK Java 7 development kit
local/jre7-openjdk 7.u91_2.6.3-1
OpenJDK Java 7 full runtime environment
local/jre7-openjdk-headless 7.u91_2.6.3-1
OpenJDK Java 7 headless runtime environment
What can be wrong?
Thanks,
Albert.