>>> moarvm 2017.05 Extracting gzip -d -c /data/buildroot/buildroot-test/instance-1/dl/moarvm/MoarVM-2017.05.tar.gz | /data/buildroot/buildroot-test/instance-1/output/host/bin/tar --strip-components=1 -C /data/buildroot/buildroot-test/instance-1/output/build/moarvm-2017.05 -xf - >>> moarvm 2017.05 Patching >>> moarvm 2017.05 Configuring (cd /data/buildroot/buildroot-test/instance-1/output/build/moarvm-2017.05; PATH="/data/buildroot/buildroot-test/instance-1/output/host/bin:/data/buildroot/buildroot-test/instance-1/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" perl Configure.pl --build=x86_64-pc-linux-gnu --host=mips64el-buildroot-linux-gnu --ar="/data/buildroot/buildroot-test/instance-1/output/host/bin/mips64el-ctng_n32-linux-gnu-ar" --cc="/data/buildroot/buildroot-test/instance-1/output/host/bin/mips64el-ctng_n32-linux-gnu-gcc" --ld="/data/buildroot/buildroot-test/instance-1/output/host/bin/mips64el-ctng_n32-linux-gnu-gcc" --prefix="/usr" --pkgconfig=/data/buildroot/buildroot-test/instance-1/output/host/bin/pkg-config --lua=/data/buildroot/buildroot-test/instance-1/output/host/bin/lua --has-libuv --has-libtommath --has-libatomic --has-libffi) Welcome to MoarVM! Configuring cross build environment .................... Testing pkgconfig ... 1.5.3 Adding extra include for libuv: -I/data/buildroot/buildroot-test/instance-1/output/host/bin/../mips64el-buildroot-linux-gnu/sysroot/usr/include Adding extra include for atomic_ops: -I/data/buildroot/buildroot-test/instance-1/output/host/bin/../mips64el-buildroot-linux-gnu/sysroot/usr/include Adding extra include for libffi: -I/data/buildroot/buildroot-test/instance-1/output/host/bin/../mips64el-buildroot-linux-gnu/sysroot/usr/include Adding extra libs for libffi: -L/data/buildroot/buildroot-test/instance-1/output/host/bin/../mips64el-buildroot-linux-gnu/sysroot/usr/lib/../lib32 -lffi OK trying to compile a simple C program ............... Guessing :-( at build/probe.pm line 349. YES your CPU can't read unaligned values for any of int32 int64 num64 JIT isn't supported on platforms with 4 byte pointers. probing C type support for: _Bool, bool ............ YES: _Bool,bool probing computed goto support ...................... YES probing pthread_yield support ...................... ./try: ./try: cannot execute binary file NO probing support of rdtscp intrinsic ................ NO make: make compile: /data/buildroot/buildroot-test/instance-1/output/host/bin/mips64el-ctng_n32-linux-gnu-gcc -Wdeclaration-after-statement -Werror=declaration-after-statement -O3 -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DHAVE_LIBFFI -fPIC includes: -I/data/buildroot/buildroot-test/instance-1/output/host/bin/../mips64el-buildroot-linux-gnu/sysroot/usr/include -I/data/buildroot/buildroot-test/instance-1/output/host/bin/../mips64el-buildroot-linux-gnu/sysroot/usr/include -I3rdparty/dynasm -I/data/buildroot/buildroot-test/instance-1/output/host/bin/../mips64el-buildroot-linux-gnu/sysroot/usr/include link: /data/buildroot/buildroot-test/instance-1/output/host/bin/mips64el-ctng_n32-linux-gnu-gcc -O3 -DNDEBUG libs: -lffi -L/data/buildroot/buildroot-test/instance-1/output/host/bin/../mips64el-buildroot-linux-gnu/sysroot/usr/lib/../lib32 -lffi -ltommath -L/data/buildroot/buildroot-test/instance-1/output/host/bin/../mips64el-buildroot-linux-gnu/sysroot/usr/lib/../lib32 -lffi -latomic_ops -L/data/buildroot/buildroot-test/instance-1/output/host/bin/../mips64el-buildroot-linux-gnu/sysroot/usr/lib/../lib32 -lffi -luv -L/data/buildroot/buildroot-test/instance-1/output/host/bin/../mips64el-buildroot-linux-gnu/sysroot/usr/lib/../lib32 -lffi -lm -lpthread -lrt -ldl byte order: little endian Configuring 3rdparty libs .............................. OK 3rdparty: 3rdparty/sha1/libsha1.a 3rdparty/tinymt/libtinymt.a Generating src/gen/config.c ............................ OK Generating src/gen/config.h ............................ OK Generating Makefile .................................... OK Generating tools/check.mk .............................. OK Generating build/mk-moar-pc.pl ......................... OK Configuration SUCCESS. Type 'make' to build and 'make help' to see a list of available make targets. >>> moarvm 2017.05 Building PATH="/data/buildroot/buildroot-test/instance-1/output/host/bin:/data/buildroot/buildroot-test/instance-1/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /usr/bin/make -j4 -C /data/buildroot/buildroot-test/instance-1/output/build/moarvm-2017.05 make[1]: Entering directory '/data/buildroot/buildroot-test/instance-1/output/build/moarvm-2017.05' compiling src/main.o compiling src/core/callsite.o compiling src/core/args.o compiling src/core/exceptions.o src/core/exceptions.c: In function 'handler_can_handle': src/core/exceptions.c:79:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] MVMuint64 block_label = block_has_label ? (MVMuint64)(f->work[fh->label_reg].o) : 0; ^ src/core/exceptions.c:80:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] MVMuint64 thrown_label = payload ? (MVMuint64)payload : 0; ^ compiling src/core/interp.o compiling src/core/threadcontext.o src/core/interp.c: In function 'MVM_interp_run': src/core/interp.c:1865:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] GET_REG(cur_op, 0).i64 = (MVMint64)GET_REG(cur_op, 2).o; ^ src/core/interp.c:5626:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] char *cache = (char *)MVM_BC_get_I64(cur_op, 12); ^ compiling src/core/compunit.o compiling src/core/bytecode.o compiling src/core/frame.o compiling src/core/callstack.o compiling src/core/validation.o compiling src/core/bytecodedump.o compiling src/core/threads.o compiling src/core/ops.o compiling src/core/hll.o compiling src/core/loadbytecode.o compiling src/math/num.o compiling src/core/coerce.o compiling src/core/dll.o compiling src/core/ext.o compiling src/core/nativecall.o compiling src/core/nativecall_libffi.o compiling src/core/continuation.o In file included from src/moar.h:136:0, from src/core/nativecall_libffi.c:1: src/core/nativecall_libffi.c: In function 'MVM_nativecall_invoke': src/core/nativecall_libffi.c:460:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] result = make_fun(tc, res_type, (c_type)ret); \ ^ src/gc/roots.h:70:5: note: in definition of macro 'MVMROOT' block \ ^ src/core/nativecall_libffi.c:604:5: note: in expansion of macro 'MVMROOT' MVMROOT(tc, res_type, { ^ src/core/nativecall_libffi.c:661:21: note: in expansion of macro 'handle_ret' handle_ret(tc, void *, ffi_arg, MVM_nativecall_make_cstruct); ^ src/core/nativecall_libffi.c:460:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] result = make_fun(tc, res_type, (c_type)ret); \ ^ src/gc/roots.h:70:5: note: in definition of macro 'MVMROOT' block \ ^ src/core/nativecall_libffi.c:604:5: note: in expansion of macro 'MVMROOT' MVMROOT(tc, res_type, { ^ src/core/nativecall_libffi.c:664:21: note: in expansion of macro 'handle_ret' handle_ret(tc, void *, ffi_arg, MVM_nativecall_make_cppstruct); ^ src/core/nativecall_libffi.c:460:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] result = make_fun(tc, res_type, (c_type)ret); \ ^ src/gc/roots.h:70:5: note: in definition of macro 'MVMROOT' block \ ^ src/core/nativecall_libffi.c:604:5: note: in expansion of macro 'MVMROOT' MVMROOT(tc, res_type, { ^ src/core/nativecall_libffi.c:667:21: note: in expansion of macro 'handle_ret' handle_ret(tc, void *, ffi_arg, MVM_nativecall_make_cpointer); ^ src/core/nativecall_libffi.c:460:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] result = make_fun(tc, res_type, (c_type)ret); \ ^ src/gc/roots.h:70:5: note: in definition of macro 'MVMROOT' block \ ^ src/core/nativecall_libffi.c:604:5: note: in expansion of macro 'MVMROOT' MVMROOT(tc, res_type, { ^ src/core/nativecall_libffi.c:670:21: note: in expansion of macro 'handle_ret' handle_ret(tc, void *, ffi_arg, MVM_nativecall_make_carray); ^ src/core/nativecall_libffi.c:460:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] result = make_fun(tc, res_type, (c_type)ret); \ ^ src/gc/roots.h:70:5: note: in definition of macro 'MVMROOT' block \ ^ src/core/nativecall_libffi.c:604:5: note: in expansion of macro 'MVMROOT' MVMROOT(tc, res_type, { ^ src/core/nativecall_libffi.c:673:21: note: in expansion of macro 'handle_ret' handle_ret(tc, void *, ffi_arg, MVM_nativecall_make_cunion); ^ src/core/nativecall_libffi.c:751:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (MVMint64)*(void **)*(void **)values[i]); ^ compiling src/core/intcache.o compiling src/core/fixedsizealloc.o compiling src/core/regionalloc.o compiling src/gen/config.o compiling src/gc/orchestrate.o compiling src/gc/allocation.o compiling src/gc/worklist.o compiling src/gc/roots.o compiling src/gc/collect.o compiling src/gc/gen2.o compiling src/gc/wb.o compiling src/gc/objectid.o compiling src/gc/finalize.o compiling src/gc/debug.o src/gc/objectid.c: In function 'MVM_gc_object_id': src/gc/objectid.c:11:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] id = (MVMuint64)obj; ^ src/gc/objectid.c:33:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] id = (MVMuint64)entry->gen2_addr; ^ compiling src/io/io.o compiling src/io/eventloop.o compiling src/io/syncfile.o compiling src/io/syncstream.o compiling src/io/syncpipe.o compiling src/io/syncsocket.o compiling src/io/fileops.o compiling src/io/dirops.o compiling src/io/procops.o compiling src/io/timers.o compiling src/io/filewatchers.o compiling src/io/signals.o compiling src/io/asyncsocket.o compiling src/io/asyncsocketudp.o compiling src/6model/reprs.o compiling src/6model/reprconv.o compiling src/6model/containers.o compiling src/6model/parametric.o compiling src/6model/reprs/MVMString.o compiling src/6model/reprs/VMArray.o compiling src/6model/reprs/MVMHash.o compiling src/6model/reprs/MVMCFunction.o compiling src/6model/reprs/KnowHOWREPR.o compiling src/6model/reprs/KnowHOWAttributeREPR.o compiling src/6model/reprs/P6str.o compiling src/6model/reprs/P6opaque.o compiling src/6model/reprs/MVMCode.o compiling src/6model/reprs/MVMOSHandle.o compiling src/6model/reprs/MVMCompUnit.o compiling src/6model/reprs/MVMStaticFrame.o compiling src/6model/reprs/P6int.o compiling src/6model/reprs/P6num.o compiling src/6model/reprs/Uninstantiable.o compiling src/6model/reprs/HashAttrStore.o compiling src/6model/reprs/MVMThread.o compiling src/6model/reprs/MVMIter.o compiling src/6model/reprs/MVMContext.o compiling src/6model/reprs/SCRef.o compiling src/6model/reprs/Lexotic.o compiling src/6model/reprs/MVMCallCapture.o compiling src/6model/reprs/P6bigint.o compiling src/6model/reprs/NFA.o compiling src/6model/reprs/MVMException.o compiling src/6model/reprs/MVMDLLSym.o compiling src/6model/reprs/MVMMultiCache.o compiling src/6model/reprs/MVMContinuation.o compiling src/6model/reprs/NativeCall.o compiling src/6model/reprs/CPointer.o compiling src/6model/reprs/CStr.o compiling src/6model/reprs/CArray.o compiling src/6model/reprs/CStruct.o compiling src/6model/reprs/CUnion.o compiling src/6model/reprs/ReentrantMutex.o compiling src/6model/reprs/ConditionVariable.o compiling src/6model/reprs/Semaphore.o compiling src/6model/reprs/ConcBlockingQueue.o compiling src/6model/reprs/MVMAsyncTask.o compiling src/6model/reprs/MVMNull.o compiling src/6model/reprs/CPPStruct.o compiling src/6model/reprs/NativeRef.o compiling src/6model/reprs/MultiDimArray.o compiling src/6model/reprs/Decoder.o compiling src/6model/6model.o compiling src/6model/bootstrap.o compiling src/6model/sc.o compiling src/6model/serialization.o compiling src/mast/compiler.o compiling src/mast/driver.o compiling src/spesh/dump.o compiling src/spesh/graph.o compiling src/spesh/codegen.o compiling src/spesh/candidate.o compiling src/spesh/manipulate.o compiling src/spesh/args.o compiling src/spesh/facts.o compiling src/spesh/optimize.o compiling src/spesh/deopt.o src/spesh/optimize.c: In function 'optimize_coverage_log': src/spesh/optimize.c:1228:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] char *cache = (char *)ins->operands[3].lit_i64; ^ compiling src/spesh/log.o compiling src/spesh/threshold.o compiling src/spesh/inline.o compiling src/spesh/osr.o compiling src/spesh/lookup.o compiling src/jit/graph.o compiling src/jit/compile.o compiling src/jit/log.o compiling src/strings/decode_stream.o compiling src/strings/ascii.o compiling src/strings/utf8.o src/jit/graph.c: In function 'jgb_consume_ins': src/jit/graph.c:1909:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] { MVM_JIT_LITERAL_PTR, { (MVMint64)hll_config } }, ^ compiling src/strings/utf8_c8.o compiling src/strings/nfg.o compiling src/strings/ops.o generating src/strings/unicode.c compiling src/strings/normalize.o compiling src/strings/latin1.o compiling src/strings/utf16.o compiling src/strings/windows1252.o compiling src/math/bigintops.o src/math/bigintops.c:48:17: error: conflicting types for 'mp_get_double' static MVMnum64 mp_get_double(mp_int *a) { ^ In file included from src/6model/reprs/P6bigint.h:1:0, from src/6model/reprs.h:22, from src/moar.h:124, from src/math/bigintops.c:1: /data/buildroot/buildroot-test/instance-1/output/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/tommath.h:217:8: note: previous declaration of 'mp_get_double' was here double mp_get_double(const mp_int *a); ^ src/math/bigintops.c: In function 'MVM_bigint_or': src/math/bigintops.c:480:1: warning: passing argument 4 of 'two_complement_bitop' from incompatible pointer type [enabled by default] MVM_BIGINT_BINARY_OP_2(or , { sc = sa | sb; }) ^ src/math/bigintops.c:242:13: note: expected 'int (*)(struct mp_int *, struct mp_int *, struct mp_int *)' but argument is of type 'int (*)(const struct mp_int *, const struct mp_int *, struct mp_int *)' static void two_complement_bitop(mp_int *a, mp_int *b, mp_int *c, ^ src/math/bigintops.c: In function 'MVM_bigint_xor': src/math/bigintops.c:481:1: warning: passing argument 4 of 'two_complement_bitop' from incompatible pointer type [enabled by default] MVM_BIGINT_BINARY_OP_2(xor, { sc = sa ^ sb; }) ^ src/math/bigintops.c:242:13: note: expected 'int (*)(struct mp_int *, struct mp_int *, struct mp_int *)' but argument is of type 'int (*)(const struct mp_int *, const struct mp_int *, struct mp_int *)' static void two_complement_bitop(mp_int *a, mp_int *b, mp_int *c, ^ src/math/bigintops.c: In function 'MVM_bigint_and': src/math/bigintops.c:482:1: warning: passing argument 4 of 'two_complement_bitop' from incompatible pointer type [enabled by default] MVM_BIGINT_BINARY_OP_2(and, { sc = sa & sb; }) ^ src/math/bigintops.c:242:13: note: expected 'int (*)(struct mp_int *, struct mp_int *, struct mp_int *)' but argument is of type 'int (*)(const struct mp_int *, const struct mp_int *, struct mp_int *)' static void two_complement_bitop(mp_int *a, mp_int *b, mp_int *c, ^ compiling src/profiler/instrument.o make[1]: *** [Makefile:543: src/math/bigintops.o] Error 1 make[1]: *** Waiting for unfinished jobs.... src/profiler/instrument.c: In function 'dump_call_graph_node': src/profiler/instrument.c:359:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] box_i(tc, (MVMint64)pcn->sf)); ^ src/profiler/instrument.c:375:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] box_i(tc, (MVMint64)pcn->native_target_name)); ^ src/profiler/instrument.c:436:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] MVM_repr_bind_key_o(tc, alloc_info, pds->id, box_i(tc, (MVMint64)type)); ^ make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-1/output/build/moarvm-2017.05' make: *** [package/pkg-generic.mk:233: /data/buildroot/buildroot-test/instance-1/output/build/moarvm-2017.05/.stamp_built] Error 2 make: Leaving directory '/data/buildroot/buildroot-test/instance-1/buildroot'