=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for MoarVM-2020.02.1nb1 compiling src/main.o compiling src/core/callsite.o compiling src/core/args.o compiling src/core/exceptions.o compiling src/core/interp.o compiling src/core/threadcontext.o 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 In file included from src/core/threads.c:2:0: src/core/threads.c: In function 'start_thread': src/platform/threads.h:16:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define MVM_platform_thread_id() (MVMint64)uv_thread_self() ^ src/core/threads.c:77:45: note: in expansion of macro 'MVM_platform_thread_id' tc->thread_obj->body.native_thread_id = MVM_platform_thread_id(); ^~~~~~~~~~~~~~~~~~~~~~ compiling src/core/hll.o compiling src/core/loadbytecode.o compiling src/math/num.o compiling src/math/grisu.o compiling src/core/coerce.o compiling src/core/dll.o compiling src/core/ext.o compiling src/core/nativecall.o In file included from src/core/nativecall.c:5:0: src/core/nativecall.c: In function 'MVM_nativecall_find_thread_context': src/platform/threads.h:16:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define MVM_platform_thread_id() (MVMint64)uv_thread_self() ^ src/core/nativecall.c:1155:33: note: in expansion of macro 'MVM_platform_thread_id' MVMint64 wanted_thread_id = MVM_platform_thread_id(); ^~~~~~~~~~~~~~~~~~~~~~ compiling src/core/nativecall_libffi.o src/core/nativecall_libffi.c: In function 'unmarshal_callback': src/core/nativecall_libffi.c:114:20: warning: variable 'status' set but not used [-Wunused-but-set-variable] ffi_status status; ^~~~~~ src/core/nativecall_libffi.c: In function 'callback_handler': src/core/nativecall_libffi.c:215:22: warning: unused variable 'values' [-Wunused-variable] void **values = MVM_malloc(sizeof(void *) * (data->cs->arg_count ? data->cs->arg_count : 1)); ^~~~~~ src/core/nativecall_libffi.c: In function 'MVM_nativecall_invoke': src/core/nativecall_libffi.c:480:16: warning: unused variable 'status' [-Wunused-variable] ffi_status status = ffi_prep_cif(&cif, body->convention, (unsigned int)num_args, body->ffi_ret_type, body->ffi_arg_types); ^~~~~~ compiling src/core/continuation.o compiling src/core/intcache.o compiling src/core/fixedsizealloc.o compiling src/core/regionalloc.o compiling src/debug/debugserver.o compiling src/gen/config.o compiling src/gc/orchestrate.o src/core/interp.c: In function 'MVM_interp_run': src/core/interp.c:142:16: warning: variable 'backup_interp_cur_op' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] MVMuint8 **backup_interp_cur_op = NULL; ^~~~~~~~~~~~~~~~~~~~ src/core/interp.c:143:16: warning: variable 'backup_interp_bytecode_start' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] MVMuint8 **backup_interp_bytecode_start = NULL; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/core/interp.c:144:19: warning: variable 'backup_interp_reg_base' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] MVMRegister **backup_interp_reg_base = NULL; ^~~~~~~~~~~~~~~~~~~~~~ src/core/interp.c:145:19: warning: variable 'backup_interp_cu' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] MVMCompUnit **backup_interp_cu = NULL; ^~~~~~~~~~~~~~~~ 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 In file included from src/strings/uthash.h:36:0, from src/moar.h:100, from src/gc/objectid.c:1: src/strings/siphash/csiphash.h: In function 'siphashfinish': src/strings/siphash/csiphash.h:153:25: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: t.u8[4] = src[4]; ~~~~~~~~^~~~~~~~ src/strings/siphash/csiphash.h:160:9: note: here case 4: t.u8[3] = src[3]; ^~~~ compiling src/gc/debug.o compiling src/io/io.o compiling src/io/eventloop.o compiling src/io/syncfile.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/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/reprs/MVMSpeshLog.o compiling src/6model/reprs/MVMStaticFrameSpesh.o compiling src/6model/reprs/MVMSpeshPluginState.o compiling src/6model/6model.o compiling src/6model/bootstrap.o compiling src/6model/sc.o compiling src/6model/serialization.o compiling src/spesh/dump.o compiling src/spesh/graph.o src/spesh/graph.c: In function 'build_cfg': src/spesh/graph.c:226:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ann_ptr && pc - sf->body.bytecode == ann_ptr->bytecode_offset) { ^~ src/spesh/graph.c:308:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (target > 0 && target < pc - g->bytecode) { ^ compiling src/spesh/codegen.o compiling src/spesh/candidate.o compiling src/spesh/manipulate.o compiling src/spesh/args.o compiling src/spesh/usages.o compiling src/spesh/facts.o compiling src/spesh/optimize.o compiling src/spesh/dead_bb_elimination.o compiling src/spesh/dead_ins_elimination.o compiling src/spesh/deopt.o 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/spesh/iterator.o compiling src/spesh/worker.o compiling src/spesh/debug.o compiling src/spesh/stats.o compiling src/spesh/plan.o compiling src/spesh/arg_guard.o compiling src/spesh/plugin.o compiling src/spesh/frame_walker.o compiling src/spesh/pea.o compiling src/strings/decode_stream.o compiling src/strings/ascii.o compiling src/strings/parse_num.o src/strings/ascii.c: In function 'MVM_string_ascii_decode': src/strings/ascii.c:18:27: warning: comparison is always true due to limited range of data type [-Wtype-limits] else if (ascii[i] >= 0) { ^~ compiling src/strings/utf8.o 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 In file included from src/strings/uthash.h:36:0, from src/moar.h:100, from src/strings/ops.c:3: src/strings/siphash/csiphash.h: In function 'siphashfinish': src/strings/siphash/csiphash.h:153:25: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: t.u8[4] = src[4]; ~~~~~~~~^~~~~~~~ src/strings/siphash/csiphash.h:160:9: note: here case 4: t.u8[3] = src[3]; ^~~~ compiling src/strings/utf16.o compiling src/strings/windows1252.o compiling src/strings/shiftjis.o compiling src/strings/gb2312.o compiling src/strings/gb18030.o compiling src/math/bigintops.o compiling src/profiler/instrument.o compiling src/profiler/log.o compiling src/profiler/profile.o compiling src/profiler/heapsnapshot.o compiling src/profiler/telemeh.o In file included from src/strings/uthash.h:36:0, from src/moar.h:100, from src/profiler/heapsnapshot.c:1: src/strings/siphash/csiphash.h: In function 'siphashfinish': src/strings/siphash/csiphash.h:153:25: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: t.u8[4] = src[4]; ~~~~~~~~^~~~~~~~ src/strings/siphash/csiphash.h:160:9: note: here case 4: t.u8[3] = src[3]; ^~~~ compiling src/profiler/configuration.o src/profiler/configuration.c: In function 'validate_op': src/profiler/configuration.c:293:82: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'MVMuint64 {aka long long unsigned int}' [-Wformat=] MVM_exception_throw_adhoc(tc, "STRUCT_SELECT string length %ld (index %d) NYI or something", string_length, string_idx); ~~^ %lld src/profiler/configuration.c:361:108: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'MVMuint64 {aka long long unsigned int}' [-Wformat=] MVM_exception_throw_adhoc(tc, "STRUCT_SELECT is MVMStaticFrame, no field with length %ld (string heap index %d) implemented", string_length, string_idx); ~~^ %lld src/profiler/configuration.c:373:109: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'MVMuint64 {aka long long unsigned int}' [-Wformat=] MVM_exception_throw_adhoc(tc, "STRUCT_SELECT is MVMCompUnit, no field with length %ld (string heap index %d) implemented", string_length, string_idx); ~~^ %lld src/profiler/configuration.c: In function 'stats_position_for_value': src/profiler/configuration.c:488:86: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'MVMuint64 {aka long long unsigned int}' [-Wformat=] MVM_exception_throw_adhoc(tc, "Can't get stats for out-of-bounds value %ld for dynamic profiler entrypoint", return_value); ~~^ %lld src/profiler/configuration.c:493:86: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'MVMuint64 {aka long long unsigned int}' [-Wformat=] MVM_exception_throw_adhoc(tc, "Can't get stats for out-of-bounds value %ld for heapsnapshot entrypoint", return_value); ~~^ %lld src/profiler/configuration.c: In function 'MVM_confprog_install': src/profiler/configuration.c:528:125: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'MVMuint64 {aka long long unsigned int}' [-Wformat=] MVM_exception_throw_adhoc(tc, "installconfprog expected bytecode array to be a multiple of 2 bytes big (got a %ld)", ~~^ %lld src/profiler/configuration.c:533:91: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'MVMuint64 {aka long long unsigned int}' [-Wformat=] MVM_exception_throw_adhoc(tc, "confprog too big. maximum 4096, this one has %ld", bytecode_size); ~~^ %lld src/profiler/configuration.c: In function 'operand_size': src/profiler/configuration.c:108:15: warning: 'size' may be used uninitialized in this function [-Wmaybe-uninitialized] MVMuint32 size; ^~~~ compiling src/instrument/crossthreadwrite.o compiling src/instrument/line_coverage.o compiling src/platform/sys.o compiling src/platform/random.o compiling src/platform/memmem32.o compiling src/platform/malloc_trim.o compiling src/moar.o compiling src/platform/posix/mmap.o In file included from src/moar.c:3:0: src/moar.c: In function 'MVM_vm_create_instance': src/platform/threads.h:16:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define MVM_platform_thread_id() (MVMint64)uv_thread_self() ^ src/moar.c:187:48: note: in expansion of macro 'MVM_platform_thread_id' instance->threads->body.native_thread_id = MVM_platform_thread_id(); ^~~~~~~~~~~~~~~~~~~~~~ compiling src/platform/posix/time.o compiling src/platform/posix/io.o compiling src/platform/posix/fork.o compiling src/jit/stub.o compiling 3rdparty/cmp/cmp.o compiling 3rdparty/tinymt/tinymt64.o compiling 3rdparty/sha1/sha1.o /usr/pkg/bin/perl build/mk-moar-pc.pl pkgconfig/moar.pc compiling src/strings/unicode.o linking 3rdparty/tinymt/libtinymt.a linking 3rdparty/sha1/libsha1.a linking 3rdparty/cmp/libcmp.a In file included from src/strings/uthash.h:36:0, from src/moar.h:100, from src/strings/unicode.c:56: src/strings/siphash/csiphash.h: In function 'siphashfinish': src/strings/siphash/csiphash.h:153:25: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: t.u8[4] = src[4]; ~~~~~~~~^~~~~~~~ src/strings/siphash/csiphash.h:160:9: note: here case 4: t.u8[3] = src[3]; ^~~~ linking libmoar.so linking moar