Skip to content

Instantly share code, notes, and snippets.

@lancew
Created September 6, 2017 20:59
Show Gist options
  • Save lancew/1bba0d35d4cab961a57e9fd8e82513a0 to your computer and use it in GitHub Desktop.
Save lancew/1bba0d35d4cab961a57e9fd8e82513a0 to your computer and use it in GitHub Desktop.
Rakudo brew
rakudobrew build moar
bfee5a1ed5374fbb1d808ca834345eecb8726caf
HEAD is now at bfee5a1... Bump NQP to bring heap analyzer API changes
ATTENTION: no --prefix supplied, building and installing to /root/.rakudobrew/moar-nom/install
Using /root/.rakudobrew/moar-nom/install/bin/nqp-m (version 2017.08-47-g79e6453 / MoarVM 2017.08.1-128-gde6dced).
Cleaning up ...
/root/.rakudobrew/moar-nom/install/bin/nqp-m tools/build/gen-cat.nqp moar src/vm/moar/ModuleLoaderVMConfig.nqp src/Perl6/ModuleLoader.nqp > gen/moar/ModuleLoader.nqp
/root/.rakudobrew/moar-nom/install/bin/nqp-m --module-path=blib --target=mbc --output=blib/Perl6/ModuleLoader.moarvm --encoding=utf8 \
gen/moar/ModuleLoader.nqp
gcc -c -fPIC -Werror=declaration-after-statement -Werror=pointer-arith -O3 -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -Werror=declaration-after-statement -Werror=pointer-arith -O3 -DNDEBUG -I/root/.rakudobrew/moar-nom/install/include/libatomic_ops \
-I/root/.rakudobrew/moar-nom/install/include/dyncall -I/root/.rakudobrew/moar-nom/install/include/moar \
-I/root/.rakudobrew/moar-nom/install/include/sha1 -I/root/.rakudobrew/moar-nom/install/include/tinymt -I/root/.rakudobrew/moar-nom/install/include/libtommath \
-I/root/.rakudobrew/moar-nom/install/include/libuv -I/root/.rakudobrew/moar-nom/install/include -I3rdparty/libuv/include -I3rdparty/libuv/src -I3rdparty/libatomic_ops/src -I3rdparty/libtommath -I3rdparty/dyncall/dynload -I3rdparty/dyncall/dyncall -I3rdparty/dyncall/dyncallback -o dynext/perl6_ops.o src/vm/moar/ops/perl6_ops.c
gcc -c -fPIC -Werror=declaration-after-statement -Werror=pointer-arith -O3 -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -Werror=declaration-after-statement -Werror=pointer-arith -O3 -DNDEBUG -I/root/.rakudobrew/moar-nom/install/include/libatomic_ops \
-I/root/.rakudobrew/moar-nom/install/include/dyncall -I/root/.rakudobrew/moar-nom/install/include/moar \
-I/root/.rakudobrew/moar-nom/install/include/sha1 -I/root/.rakudobrew/moar-nom/install/include/tinymt -I/root/.rakudobrew/moar-nom/install/include/libtommath \
-I/root/.rakudobrew/moar-nom/install/include/libuv -I/root/.rakudobrew/moar-nom/install/include -I3rdparty/libuv/include -I3rdparty/libuv/src -I3rdparty/libatomic_ops/src -I3rdparty/libtommath -I3rdparty/dyncall/dynload -I3rdparty/dyncall/dyncall -I3rdparty/dyncall/dyncallback -o dynext/container.o src/vm/moar/ops/container.c
gcc -L/root/.rakudobrew/moar-nom/install/lib -shared -fPIC -O3 -DNDEBUG -Wl,-rpath,"//root/.rakudobrew/moar-nom/install/lib" -O3 -DNDEBUG -lm -lpthread -lrt -ldl -o dynext/libperl6_ops_moar.so dynext/perl6_ops.o dynext/container.o -lmoar
/root/.rakudobrew/moar-nom/install/bin/nqp-m --target=mbc --output=blib/Perl6/Ops.moarvm --encoding=utf8 \
src/vm/moar/Perl6/Ops.nqp
/root/.rakudobrew/moar-nom/install/bin/nqp-m --module-path=blib --target=mbc --output=blib/Perl6/DebugPod.moarvm --encoding=utf8 \
src/Perl6/DebugPod.nqp
/root/.rakudobrew/moar-nom/install/bin/nqp-m --module-path=blib --target=mbc --output=blib/Perl6/Pod.moarvm --encoding=utf8 \
src/Perl6/Pod.nqp
/root/.rakudobrew/moar-nom/install/bin/nqp-m --module-path=blib --target=mbc --output=blib/Perl6/World.moarvm --encoding=utf8 \
src/Perl6/World.nqp
/root/.rakudobrew/moar-nom/install/bin/nqp-m tools/build/gen-cat.nqp moar src/Perl6/Actions.nqp > gen/moar/Perl6-Actions.nqp
/root/.rakudobrew/moar-nom/install/bin/nqp-m --module-path=blib --target=mbc --output=blib/Perl6/Actions.moarvm --encoding=utf8 \
gen/moar/Perl6-Actions.nqp
/root/.rakudobrew/moar-nom/install/bin/nqp-m --module-path=blib --target=mbc --output=blib/Perl6/Grammar.moarvm --encoding=utf8 \
src/Perl6/Grammar.nqp
/root/.rakudobrew/moar-nom/install/bin/nqp-m tools/build/gen-cat.nqp moar src/Perl6/Optimizer.nqp > gen/moar/Perl6-Optimizer.nqp
/root/.rakudobrew/moar-nom/install/bin/nqp-m --module-path=blib --target=mbc --output=blib/Perl6/Optimizer.moarvm --encoding=utf8 \
gen/moar/Perl6-Optimizer.nqp
/root/.rakudobrew/moar-nom/install/bin/nqp-m --module-path=blib --target=mbc --output=blib/Perl6/Compiler.moarvm --encoding=utf8 \
src/Perl6/Compiler.nqp
/usr/bin/perl tools/build/gen-version.pl /root/.rakudobrew/moar-nom/install /root/.rakudobrew/moar-nom/install/share > gen/moar/main-version.nqp
/root/.rakudobrew/moar-nom/install/bin/nqp-m tools/build/gen-cat.nqp moar src/main.nqp gen/moar/main-version.nqp > gen/moar/main.nqp
/root/.rakudobrew/moar-nom/install/bin/nqp-m --module-path=blib --target=mbc --output=perl6.moarvm \
--vmlibs=dynext/libperl6_ops_moar.so=Rakudo_ops_init gen/moar/main.nqp
/root/.rakudobrew/moar-nom/install/bin/nqp-m tools/build/gen-cat.nqp moar -f tools/build/common_bootstrap_sources > gen/moar/Metamodel.nqp
/root/.rakudobrew/moar-nom/install/bin/nqp-m --module-path=blib --target=mbc --output=blib/Perl6/Metamodel.moarvm --encoding=utf8 \
gen/moar/Metamodel.nqp
/root/.rakudobrew/moar-nom/install/bin/nqp-m tools/build/gen-cat.nqp moar src/Perl6/Metamodel/BOOTSTRAP.nqp src/Perl6/Metamodel/EXPORTHOW.nqp > gen/moar/BOOTSTRAP.nqp
/root/.rakudobrew/moar-nom/install/bin/nqp-m --module-path=blib --target=mbc --output=blib/Perl6/BOOTSTRAP.moarvm --encoding=utf8 \
--vmlibs=dynext/libperl6_ops_moar.so=Rakudo_ops_init gen/moar/BOOTSTRAP.nqp
/root/.rakudobrew/moar-nom/install/bin/nqp-m tools/build/gen-cat.nqp moar -f tools/build/moar_core_sources > gen/moar/CORE.setting
The following step can take a long time, please be patient.
/root/.rakudobrew/moar-nom/install/bin/moar --libpath="blib" --libpath="/root/.rakudobrew/moar-nom/install/share/nqp/lib" --libpath="/root/.rakudobrew/moar-nom/install/share/nqp/lib" perl6.moarvm --nqp-lib=blib --setting=NULL --ll-exception --optimize=3 --target=mbc --stagestats --output=CORE.setting.moarvm gen/moar/CORE.setting
Stage start : 0.000
Stage parse : Killed
Makefile:497: recipe for target 'CORE.setting.moarvm' failed
make: *** [CORE.setting.moarvm] Error 137
Command failed (status 512): make
Failed running /usr/bin/perl Configure.pl --backends=moar --gen-moar --git-reference="/root/.rakudobrew/bin/../git_reference" --make-install at /root/.rakudobrew/bin/rakudobrew line 57.
main::run("/usr/bin/perl Configure.pl --backends=moar --gen-moar --git-r"...) called at /root/.rakudobrew/bin/rakudobrew line 382
main::build_impl("moar", undef, "") called at /root/.rakudobrew/bin/rakudobrew line 115
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment