=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for MoarVM-2018.12 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 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 compiling src/core/nativecall_libffi.o 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 In file included from src/debug/debugserver.c:1:0: src/debug/debugserver.c: In function 'stop_point_hit': src/moar.h:245:33: warning: implicit declaration of function 'AO_fetch_compare_and_swap_full' [-Wimplicit-function-declaration] #define MVM_cas(addr, old, new) AO_fetch_compare_and_swap_full((addr), (old), (new)) ^ src/debug/debugserver.c:227:13: note: in expansion of macro 'MVM_cas' if (MVM_cas(&tc->gc_status, MVMGCStatus_NONE, MVMGCStatus_INTERRUPT | MVMSuspendState_SUSPEND_REQUEST) ^ compiling src/gen/config.o compiling src/gc/orchestrate.o In file included from src/gc/orchestrate.c:1:0: src/gc/orchestrate.c: In function 'signal_one_thread': src/moar.h:245:33: warning: implicit declaration of function 'AO_fetch_compare_and_swap_full' [-Wimplicit-function-declaration] #define MVM_cas(addr, old, new) AO_fetch_compare_and_swap_full((addr), (old), (new)) ^ src/gc/orchestrate.c:35:21: note: in expansion of macro 'MVM_cas' if (MVM_cas(&to_signal->gc_status, MVMGCStatus_NONE, ^ compiling src/gc/allocation.o compiling src/gc/worklist.o compiling src/gc/roots.o compiling src/gc/collect.o In file included from src/gc/collect.c:1:0: src/gc/collect.c: In function 'push_work_to_thread_in_tray': src/moar.h:245:33: warning: implicit declaration of function 'AO_fetch_compare_and_swap_full' [-Wimplicit-function-declaration] #define MVM_cas(addr, old, new) AO_fetch_compare_and_swap_full((addr), (old), (new)) ^ src/moar.h:248:45: note: in expansion of macro 'MVM_cas' #define MVM_casptr(addr, old, new) ((void *)MVM_cas((AO_t *)(addr), (AO_t)(old), (AO_t)(new))) ^ src/gc/collect.c:471:13: note: in expansion of macro 'MVM_casptr' if (MVM_casptr(target_tray, orig, work) == orig) ^ src/moar.h:248:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define MVM_casptr(addr, old, new) ((void *)MVM_cas((AO_t *)(addr), (AO_t)(old), (AO_t)(new))) ^ src/gc/collect.c:471:13: note: in expansion of macro 'MVM_casptr' if (MVM_casptr(target_tray, orig, work) == orig) ^ src/gc/collect.c: In function 'add_in_tray_to_worklist': src/moar.h:248:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define MVM_casptr(addr, old, new) ((void *)MVM_cas((AO_t *)(addr), (AO_t)(old), (AO_t)(new))) ^ src/gc/collect.c:541:13: note: in expansion of macro 'MVM_casptr' if (MVM_casptr(in_tray, head, NULL) == head) ^ 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 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 In file included from src/6model/reprconv.c:1:0: src/6model/reprconv.c: In function 'MVM_repr_casattr_o': src/moar.h:245:33: warning: implicit declaration of function 'AO_fetch_compare_and_swap_full' [-Wimplicit-function-declaration] #define MVM_cas(addr, old, new) AO_fetch_compare_and_swap_full((addr), (old), (new)) ^ src/moar.h:248:45: note: in expansion of macro 'MVM_cas' #define MVM_casptr(addr, old, new) ((void *)MVM_cas((AO_t *)(addr), (AO_t)(old), (AO_t)(new))) ^ src/6model/reprconv.c:775:39: note: in expansion of macro 'MVM_casptr' MVMObject *witness = (MVMObject *)MVM_casptr(target, expected, value); ^ src/moar.h:248:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define MVM_casptr(addr, old, new) ((void *)MVM_cas((AO_t *)(addr), (AO_t)(old), (AO_t)(new))) ^ src/6model/reprconv.c:775:39: note: in expansion of macro 'MVM_casptr' MVMObject *witness = (MVMObject *)MVM_casptr(target, expected, value); ^ compiling src/6model/containers.o In file included from src/6model/containers.c:1:0: src/6model/containers.c: In function 'MVM_6model_container_cas_i': src/moar.h:245:33: warning: implicit declaration of function 'AO_fetch_compare_and_swap_full' [-Wimplicit-function-declaration] #define MVM_cas(addr, old, new) AO_fetch_compare_and_swap_full((addr), (old), (new)) ^ src/6model/containers.c:703:22: note: in expansion of macro 'MVM_cas' return (MVMint64)MVM_cas(native_ref_as_atomic_i(tc, cont), (AO_t)expected, (AO_t)value); ^ 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/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/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/strings/decode_stream.o compiling src/strings/ascii.o compiling src/strings/parse_num.o 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/unicode.o compiling src/strings/normalize.o compiling src/strings/latin1.o compiling src/strings/utf16.o compiling src/strings/windows1252.o compiling src/strings/shiftjis.o compiling src/strings/shiftjis_codeindex.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 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 src/platform/memmem32.c:69:0: warning: "MAX" redefined #define MAX(a,b) ((a)>(b)?(a):(b)) ^ In file included from /tmp/pkgbuild/devel/MoarVM/work.alpha/.buildlink/include/uv/unix.h:41:0, from /tmp/pkgbuild/devel/MoarVM/work.alpha/.buildlink/include/uv.h:62, from src/moar.h:19, from src/platform/memmem32.c:29: /usr/include/sys/param.h:139:0: note: this is the location of the previous definition #define MAX(a,b) ((/*CONSTCOND*/(a)>(b))?(a):(b)) ^ src/platform/memmem32.c:70:0: warning: "MIN" redefined #define MIN(a,b) ((a)<(b)?(a):(b)) ^ In file included from /tmp/pkgbuild/devel/MoarVM/work.alpha/.buildlink/include/uv/unix.h:41:0, from /tmp/pkgbuild/devel/MoarVM/work.alpha/.buildlink/include/uv.h:62, from src/moar.h:19, from src/platform/memmem32.c:29: /usr/include/sys/param.h:138:0: note: this is the location of the previous definition #define MIN(a,b) ((/*CONSTCOND*/(a)<(b))?(a):(b)) ^ compiling src/moar.o compiling src/platform/posix/mmap.o 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 linking 3rdparty/cmp/libcmp.a compiling 3rdparty/tinymt/tinymt64.o linking 3rdparty/tinymt/libtinymt.a compiling 3rdparty/sha1/sha1.o linking 3rdparty/sha1/libsha1.a linking libmoar.so linking moar ./libmoar.so: undefined reference to `AO_fetch_compare_and_swap_full' gmake: *** [Makefile:577: moar] Error 1 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/devel/MoarVM *** Error code 1 Stop. make: stopped in /usr/pkgsrc/devel/MoarVM