=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> 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 unicorn-0.9 if [ "x86 m68k arm aarch64 mips sparc" != "`cat config.log`" ]; then /usr/pkg/bin/gmake clean; fi cd qemu && \ ./configure --extra-cflags="-DUNICORN_HAS_X86 -DUNICORN_HAS_ARM -DUNICORN_HAS_M68K -DUNICORN_HAS_ARM64 -DUNICORN_HAS_MIPS -DUNICORN_HAS_MIPSEL -DUNICORN_HAS_MIPS64 -DUNICORN_HAS_MIPS64EL -DUNICORN_HAS_SPARC -fPIC -fvisibility=hidden" --target-list="x86_64-softmmu, arm-softmmu, m68k-softmmu, aarch64-softmmu, mips-softmmu, mipsel-softmmu, mips64-softmmu, mips64el-softmmu, sparc-softmmu,sparc64-softmmu," --python=/usr/pkg/bin/python2.7 cat: config.log: No such file or directory gmake[1]: Entering directory '/scratch/emulators/unicorn/work/unicorn-0.9' /usr/pkg/bin/gmake -C qemu clean gmake[2]: Entering directory '/scratch/emulators/unicorn/work/unicorn-0.9/qemu' rm -f config.mak op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h find . \( -name '*.l[oa]' -o -name '*.so' -o -name '*.dll' -o -name '*.mo' -o -name '*.[oda]' \) -type f -exec rm {} + rm -f qemu-ga TAGS cscope.* *.pod *~ */*~ rm -rf .libs */.libs rm -f config-host.h config-host.h-timestamp qapi-types.h qapi-types.h-timestamp qapi-visit.h qapi-visit.h-timestamp rm -f qapi-types.c qapi-types.c-timestamp qapi-visit.c qapi-visit.c-timestamp rm -rf qapi-generated for d in ; do \ if test -d $d; then /usr/pkg/bin/gmake -C $d clean || exit 1; fi; \ done gmake[2]: Leaving directory '/scratch/emulators/unicorn/work/unicorn-0.9/qemu' rm -rf *.d *.o rm -rf libunicorn* unicorn*.lib unicorn*.dll cd samples && /usr/pkg/bin/gmake clean gmake[2]: Entering directory '/scratch/emulators/unicorn/work/unicorn-0.9/samples' rm -rf *.o ./sample_arm ./sample_arm64 ./sample_mips ./sample_sparc ./sample_x86 ./shellcode ./mem_apis ./sample_m68k ./sample_arm ./sample_arm64 ./sample_mips ./sample_sparc ./sample_x86 ./shellcode ./mem_apis ./sample_m68k ./*.exe ./*.static ./libunicorn* ./unicorn* rm -rf libunicorn*.so libunicorn*.lib libunicorn*.dylib unicorn*.dll unicorn*.lib rm -rf sample_x86 sample_arm sample_arm64 sample_mips sample_sparc sample_ppc sample_m68k shellcode mem_apis gmake[2]: Leaving directory '/scratch/emulators/unicorn/work/unicorn-0.9/samples' rm -f ./samples/libunicorn.so /usr/pkg/bin/gmake -C tests/unit clean gmake[2]: Entering directory '/scratch/emulators/unicorn/work/unicorn-0.9/tests/unit' rm -rf test_sanity test_x86 test_mem_map gmake[2]: Leaving directory '/scratch/emulators/unicorn/work/unicorn-0.9/tests/unit' gmake[1]: Leaving directory '/scratch/emulators/unicorn/work/unicorn-0.9' Install prefix /usr/local binary directory /usr/local/bin library directory /usr/local/lib module directory /usr/local/lib/qemu libexec directory /usr/local/libexec include directory /usr/local/include config directory /usr/local/etc local state directory /usr/local/var Manual directory /usr/local/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /scratch/emulators/unicorn/work/unicorn-0.9/qemu C compiler gcc Host C compiler cc Objective-C compiler clang ARFLAGS rv CFLAGS -pthread -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -g -O2 -I/usr/include -I/usr/pkg/include -O3 QEMU_CFLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -DUNICORN_HAS_X86 -DUNICORN_HAS_ARM -DUNICORN_HAS_M68K -DUNICORN_HAS_ARM64 -DUNICORN_HAS_MIPS -DUNICORN_HAS_MIPSEL -DUNICORN_HAS_MIPS64 -DUNICORN_HAS_MIPS64EL -DUNICORN_HAS_SPARC -fPIC -fvisibility=hidden -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-all LDFLAGS -Wl,--warn-common -g -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib make gmake install install python /usr/pkg/bin/python2.7 -B host CPU arm host big endian no target list x86_64-softmmu arm-softmmu m68k-softmmu aarch64-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu sparc-softmmu sparc64-softmmu tcg debug enabled no strip binaries yes static build no mingw32 support no PIE no printf "x86 m68k arm aarch64 mips sparc" > config.log rm -rf libunicorn* unicorn*.lib unicorn*.dll && cd qemu && /usr/pkg/bin/gmake -j 8 gmake[1]: warning: -jN forced in submake: disabling jobserver mode. gmake[1]: Entering directory '/scratch/emulators/unicorn/work/unicorn-0.9/qemu' GEN x86_64-softmmu/config-devices.mak GEN arm-softmmu/config-devices.mak GEN mipsel-softmmu/config-devices.mak GEN mips64-softmmu/config-devices.mak GEN mips64el-softmmu/config-devices.mak GEN m68k-softmmu/config-devices.mak GEN mips-softmmu/config-devices.mak GEN aarch64-softmmu/config-devices.mak GEN sparc-softmmu/config-devices.mak GEN sparc64-softmmu/config-devices.mak GEN config-host.h GEN qapi-visit.h GEN qapi-types.h GEN config-all-devices.mak CC ../uc.o GEN qapi-visit.c GEN qapi-types.c CC qemu-timer.o CC main-loop.o CC ../hook.o CC accel.o CC vl.o CC qemu-log.o CC tcg-runtime.o CC hw/core/qdev.o CC hw/core/machine.o CC qom/object.o CC qom/container.o CC qom/qom-qobject.o CC qom/cpu.o CC qapi-types.o CC qapi-visit.o CC qapi/qapi-visit-core.o CC qapi/qapi-dealloc-visitor.o CC qapi/qmp-input-visitor.o CC qapi/qmp-output-visitor.o CC qapi/string-input-visitor.o CC qapi/string-output-visitor.o CC qobject/qint.o CC qobject/qstring.o CC qobject/qdict.o CC qobject/qlist.o CC qobject/qfloat.o CC qobject/qbool.o CC qobject/qjson.o CC qobject/json-lexer.o CC qobject/json-streamer.o CC qobject/json-parser.o CC qobject/qerror.o CC util/unicode.o CC util/cutils.o CC util/qemu-timer-common.o CC util/oslib-posix.o CC util/qemu-thread-posix.o CC util/module.o CC util/bitmap.o CC util/bitops.o CC util/error.o CC util/aes.o CC util/qemu-option.o CC util/crc32c.o CC util/host-utils.o GEN mips-softmmu/config-target.h GEN x86_64-softmmu/config-target.h GEN arm-softmmu/config-target.h GEN aarch64-softmmu/config-target.h CC mips-softmmu/exec.o GEN mipsel-softmmu/config-target.h CC arm-softmmu/exec.o CC aarch64-softmmu/exec.o CC mipsel-softmmu/exec.o GEN mips64-softmmu/config-target.h CC x86_64-softmmu/exec.o GEN m68k-softmmu/config-target.h CC m68k-softmmu/exec.o CC mips64-softmmu/exec.o GEN mips64el-softmmu/config-target.h CC mips64el-softmmu/exec.o CC mips64el-softmmu/translate-all.o CC mips-softmmu/translate-all.o CC m68k-softmmu/translate-all.o CC aarch64-softmmu/translate-all.o CC arm-softmmu/translate-all.o CC mips64-softmmu/translate-all.o CC mipsel-softmmu/translate-all.o CC mips-softmmu/cpu-exec.o CC m68k-softmmu/cpu-exec.o CC mips-softmmu/tcg/tcg.o CC x86_64-softmmu/translate-all.o CC mips64el-softmmu/cpu-exec.o CC aarch64-softmmu/cpu-exec.o In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg-op.h:24:0, from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:49: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c: In function 'tcg_target_init_mips': /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1997:22: error: 'tcg_target_available_regs' undeclared (first use in this function) tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffff); ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1997:22: note: each undeclared identifier is reported only once for each function it appears in tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffff); ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1998:22: error: 'tcg_target_call_clobber_regs' undeclared (first use in this function) tcg_regset_set32(tcg_target_call_clobber_regs, 0, ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:259:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:2011:5: warning: passing argument 1 of 'tcg_add_target_add_op_defs_mips' from incompatible pointer type [enabled by default] tcg_add_target_add_op_defs(arm_op_defs); ^ In file included from :0:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/mips.h:2815:36: note: expected 'struct TCGContext *' but argument is of type 'const struct TCGTargetOpDef *' #define tcg_add_target_add_op_defs tcg_add_target_add_op_defs_mips ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:783:6: note: in expansion of macro 'tcg_add_target_add_op_defs' void tcg_add_target_add_op_defs(TCGContext *s, const TCGTargetOpDef *tdefs); ^ In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:259:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:2011:5: error: too few arguments to function 'tcg_add_target_add_op_defs_mips' tcg_add_target_add_op_defs(arm_op_defs); ^ In file included from :0:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/mips.h:2815:36: note: declared here #define tcg_add_target_add_op_defs tcg_add_target_add_op_defs_mips ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:783:6: note: in expansion of macro 'tcg_add_target_add_op_defs' void tcg_add_target_add_op_defs(TCGContext *s, const TCGTargetOpDef *tdefs); ^ CC mips64el-softmmu/tcg/tcg.o CC m68k-softmmu/tcg/tcg.o CC mips64-softmmu/cpu-exec.o In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg-op.h:24:0, from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:49: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c: In function 'tcg_target_init_m68k': /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1997:22: error: 'tcg_target_available_regs' undeclared (first use in this function) tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffff); ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1997:22: note: each undeclared identifier is reported only once for each function it appears in tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffff); ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1998:22: error: 'tcg_target_call_clobber_regs' undeclared (first use in this function) tcg_regset_set32(tcg_target_call_clobber_regs, 0, ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:259:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:2011:5: warning: passing argument 1 of 'tcg_add_target_add_op_defs_m68k' from incompatible pointer type [enabled by default] tcg_add_target_add_op_defs(arm_op_defs); ^ In file included from :0:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/m68k.h:2815:36: note: expected 'struct TCGContext *' but argument is of type 'const struct TCGTargetOpDef *' #define tcg_add_target_add_op_defs tcg_add_target_add_op_defs_m68k ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:783:6: note: in expansion of macro 'tcg_add_target_add_op_defs' void tcg_add_target_add_op_defs(TCGContext *s, const TCGTargetOpDef *tdefs); ^ In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:259:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:2011:5: error: too few arguments to function 'tcg_add_target_add_op_defs_m68k' tcg_add_target_add_op_defs(arm_op_defs); ^ In file included from :0:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/m68k.h:2815:36: note: declared here #define tcg_add_target_add_op_defs tcg_add_target_add_op_defs_m68k ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:783:6: note: in expansion of macro 'tcg_add_target_add_op_defs' void tcg_add_target_add_op_defs(TCGContext *s, const TCGTargetOpDef *tdefs); ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/rules.mak:54: recipe for target 'tcg/tcg.o' failed gmake[2]: *** [tcg/tcg.o] Error 1 Makefile:125: recipe for target 'subdir-m68k-softmmu' failed gmake[1]: *** [subdir-m68k-softmmu] Error 2 gmake[1]: *** Waiting for unfinished jobs.... CC mipsel-softmmu/cpu-exec.o CC arm-softmmu/cpu-exec.o /scratch/emulators/unicorn/work/unicorn-0.9/qemu/rules.mak:54: recipe for target 'tcg/tcg.o' failed gmake[2]: *** [tcg/tcg.o] Error 1 Makefile:125: recipe for target 'subdir-mips-softmmu' failed gmake[1]: *** [subdir-mips-softmmu] Error 2 CC arm-softmmu/tcg/tcg.o CC x86_64-softmmu/cpu-exec.o CC mips64-softmmu/tcg/tcg.o In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg-op.h:24:0, from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:49: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c: In function 'tcg_target_init_arm': /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1997:22: error: 'tcg_target_available_regs' undeclared (first use in this function) tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffff); ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1997:22: note: each undeclared identifier is reported only once for each function it appears in tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffff); ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1998:22: error: 'tcg_target_call_clobber_regs' undeclared (first use in this function) tcg_regset_set32(tcg_target_call_clobber_regs, 0, ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:259:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:2011:5: warning: passing argument 1 of 'tcg_add_target_add_op_defs_arm' from incompatible pointer type [enabled by default] tcg_add_target_add_op_defs(arm_op_defs); ^ In file included from :0:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/arm.h:2815:36: note: expected 'struct TCGContext *' but argument is of type 'const struct TCGTargetOpDef *' #define tcg_add_target_add_op_defs tcg_add_target_add_op_defs_arm ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:783:6: note: in expansion of macro 'tcg_add_target_add_op_defs' void tcg_add_target_add_op_defs(TCGContext *s, const TCGTargetOpDef *tdefs); ^ In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:259:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:2011:5: error: too few arguments to function 'tcg_add_target_add_op_defs_arm' tcg_add_target_add_op_defs(arm_op_defs); ^ In file included from :0:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/arm.h:2815:36: note: declared here #define tcg_add_target_add_op_defs tcg_add_target_add_op_defs_arm ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:783:6: note: in expansion of macro 'tcg_add_target_add_op_defs' void tcg_add_target_add_op_defs(TCGContext *s, const TCGTargetOpDef *tdefs); ^ CC mips64el-softmmu/tcg/optimize.o CC mips64el-softmmu/fpu/softfloat.o CC aarch64-softmmu/tcg/tcg.o /scratch/emulators/unicorn/work/unicorn-0.9/qemu/rules.mak:54: recipe for target 'tcg/tcg.o' failed gmake[2]: *** [tcg/tcg.o] Error 1 Makefile:125: recipe for target 'subdir-arm-softmmu' failed gmake[1]: *** [subdir-arm-softmmu] Error 2 CC aarch64-softmmu/tcg/optimize.o CC mipsel-softmmu/tcg/tcg.o In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg-op.h:24:0, from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:49: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c: In function 'tcg_target_init_mips64el': /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1997:22: error: 'tcg_target_available_regs' undeclared (first use in this function) tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffff); ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1997:22: note: each undeclared identifier is reported only once for each function it appears in tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffff); ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1998:22: error: 'tcg_target_call_clobber_regs' undeclared (first use in this function) tcg_regset_set32(tcg_target_call_clobber_regs, 0, ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:259:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:2011:5: warning: passing argument 1 of 'tcg_add_target_add_op_defs_mips64el' from incompatible pointer type [enabled by default] tcg_add_target_add_op_defs(arm_op_defs); ^ In file included from :0:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/mips64el.h:2815:36: note: expected 'struct TCGContext *' but argument is of type 'const struct TCGTargetOpDef *' #define tcg_add_target_add_op_defs tcg_add_target_add_op_defs_mips64el ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:783:6: note: in expansion of macro 'tcg_add_target_add_op_defs' void tcg_add_target_add_op_defs(TCGContext *s, const TCGTargetOpDef *tdefs); ^ In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:259:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:2011:5: error: too few arguments to function 'tcg_add_target_add_op_defs_mips64el' tcg_add_target_add_op_defs(arm_op_defs); ^ In file included from :0:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/mips64el.h:2815:36: note: declared here #define tcg_add_target_add_op_defs tcg_add_target_add_op_defs_mips64el ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:783:6: note: in expansion of macro 'tcg_add_target_add_op_defs' void tcg_add_target_add_op_defs(TCGContext *s, const TCGTargetOpDef *tdefs); ^ In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg-op.h:24:0, from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:49: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c: In function 'tcg_target_init_aarch64': /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1997:22: error: 'tcg_target_available_regs' undeclared (first use in this function) tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffff); ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1997:22: note: each undeclared identifier is reported only once for each function it appears in tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffff); ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1998:22: error: 'tcg_target_call_clobber_regs' undeclared (first use in this function) tcg_regset_set32(tcg_target_call_clobber_regs, 0, ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:259:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:2011:5: warning: passing argument 1 of 'tcg_add_target_add_op_defs_aarch64' from incompatible pointer type [enabled by default] tcg_add_target_add_op_defs(arm_op_defs); ^ In file included from :0:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/aarch64.h:2815:36: note: expected 'struct TCGContext *' but argument is of type 'const struct TCGTargetOpDef *' #define tcg_add_target_add_op_defs tcg_add_target_add_op_defs_aarch64 ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:783:6: note: in expansion of macro 'tcg_add_target_add_op_defs' void tcg_add_target_add_op_defs(TCGContext *s, const TCGTargetOpDef *tdefs); ^ In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:259:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:2011:5: error: too few arguments to function 'tcg_add_target_add_op_defs_aarch64' tcg_add_target_add_op_defs(arm_op_defs); ^ In file included from :0:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/aarch64.h:2815:36: note: declared here #define tcg_add_target_add_op_defs tcg_add_target_add_op_defs_aarch64 ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:783:6: note: in expansion of macro 'tcg_add_target_add_op_defs' void tcg_add_target_add_op_defs(TCGContext *s, const TCGTargetOpDef *tdefs); ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/rules.mak:54: recipe for target 'tcg/tcg.o' failed gmake[2]: *** [tcg/tcg.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... CC mips64el-softmmu/cpus.o /scratch/emulators/unicorn/work/unicorn-0.9/qemu/rules.mak:54: recipe for target 'tcg/tcg.o' failed gmake[2]: *** [tcg/tcg.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... CC x86_64-softmmu/tcg/tcg.o CC mips64-softmmu/tcg/optimize.o In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg-op.h:24:0, from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:49: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c: In function 'tcg_target_init_mipsel': /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1997:22: error: 'tcg_target_available_regs' undeclared (first use in this function) tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffff); ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1997:22: note: each undeclared identifier is reported only once for each function it appears in tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffff); ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1998:22: error: 'tcg_target_call_clobber_regs' undeclared (first use in this function) tcg_regset_set32(tcg_target_call_clobber_regs, 0, ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:259:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:2011:5: warning: passing argument 1 of 'tcg_add_target_add_op_defs_mipsel' from incompatible pointer type [enabled by default] tcg_add_target_add_op_defs(arm_op_defs); ^ In file included from :0:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/mipsel.h:2815:36: note: expected 'struct TCGContext *' but argument is of type 'const struct TCGTargetOpDef *' #define tcg_add_target_add_op_defs tcg_add_target_add_op_defs_mipsel ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:783:6: note: in expansion of macro 'tcg_add_target_add_op_defs' void tcg_add_target_add_op_defs(TCGContext *s, const TCGTargetOpDef *tdefs); ^ In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:259:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:2011:5: error: too few arguments to function 'tcg_add_target_add_op_defs_mipsel' tcg_add_target_add_op_defs(arm_op_defs); ^ In file included from :0:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/mipsel.h:2815:36: note: declared here #define tcg_add_target_add_op_defs tcg_add_target_add_op_defs_mipsel ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:783:6: note: in expansion of macro 'tcg_add_target_add_op_defs' void tcg_add_target_add_op_defs(TCGContext *s, const TCGTargetOpDef *tdefs); ^ CC mips64-softmmu/fpu/softfloat.o In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg-op.h:24:0, from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:49: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c: In function 'tcg_target_init_mips64': /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1997:22: error: 'tcg_target_available_regs' undeclared (first use in this function) tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffff); ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1997:22: note: each undeclared identifier is reported only once for each function it appears in tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffff); ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1998:22: error: 'tcg_target_call_clobber_regs' undeclared (first use in this function) tcg_regset_set32(tcg_target_call_clobber_regs, 0, ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:259:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:2011:5: warning: passing argument 1 of 'tcg_add_target_add_op_defs_mips64' from incompatible pointer type [enabled by default] tcg_add_target_add_op_defs(arm_op_defs); ^ In file included from :0:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/mips64.h:2815:36: note: expected 'struct TCGContext *' but argument is of type 'const struct TCGTargetOpDef *' #define tcg_add_target_add_op_defs tcg_add_target_add_op_defs_mips64 ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:783:6: note: in expansion of macro 'tcg_add_target_add_op_defs' void tcg_add_target_add_op_defs(TCGContext *s, const TCGTargetOpDef *tdefs); ^ In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:259:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:2011:5: error: too few arguments to function 'tcg_add_target_add_op_defs_mips64' tcg_add_target_add_op_defs(arm_op_defs); ^ In file included from :0:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/mips64.h:2815:36: note: declared here #define tcg_add_target_add_op_defs tcg_add_target_add_op_defs_mips64 ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:783:6: note: in expansion of macro 'tcg_add_target_add_op_defs' void tcg_add_target_add_op_defs(TCGContext *s, const TCGTargetOpDef *tdefs); ^ In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg-op.h:24:0, from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:49: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c: In function 'tcg_target_init_x86_64': /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1997:22: error: 'tcg_target_available_regs' undeclared (first use in this function) tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffff); ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1997:22: note: each undeclared identifier is reported only once for each function it appears in tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffff); ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:1998:22: error: 'tcg_target_call_clobber_regs' undeclared (first use in this function) tcg_regset_set32(tcg_target_call_clobber_regs, 0, ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:140:42: note: in definition of macro 'tcg_regset_set32' #define tcg_regset_set32(d, reg, val32) (d) |= (val32) << (reg) ^ In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:259:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:2011:5: warning: passing argument 1 of 'tcg_add_target_add_op_defs_x86_64' from incompatible pointer type [enabled by default] tcg_add_target_add_op_defs(arm_op_defs); ^ In file included from :0:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/x86_64.h:2815:36: note: expected 'struct TCGContext *' but argument is of type 'const struct TCGTargetOpDef *' #define tcg_add_target_add_op_defs tcg_add_target_add_op_defs_x86_64 ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:783:6: note: in expansion of macro 'tcg_add_target_add_op_defs' void tcg_add_target_add_op_defs(TCGContext *s, const TCGTargetOpDef *tdefs); ^ In file included from /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.c:259:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/arm/tcg-target.c:2011:5: error: too few arguments to function 'tcg_add_target_add_op_defs_x86_64' tcg_add_target_add_op_defs(arm_op_defs); ^ In file included from :0:0: /scratch/emulators/unicorn/work/unicorn-0.9/qemu/x86_64.h:2815:36: note: declared here #define tcg_add_target_add_op_defs tcg_add_target_add_op_defs_x86_64 ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/tcg/tcg.h:783:6: note: in expansion of macro 'tcg_add_target_add_op_defs' void tcg_add_target_add_op_defs(TCGContext *s, const TCGTargetOpDef *tdefs); ^ /scratch/emulators/unicorn/work/unicorn-0.9/qemu/rules.mak:54: recipe for target 'tcg/tcg.o' failed gmake[2]: *** [tcg/tcg.o] Error 1 Makefile:125: recipe for target 'subdir-mipsel-softmmu' failed gmake[1]: *** [subdir-mipsel-softmmu] Error 2 CC mips64-softmmu/cpus.o /scratch/emulators/unicorn/work/unicorn-0.9/qemu/rules.mak:54: recipe for target 'tcg/tcg.o' failed gmake[2]: *** [tcg/tcg.o] Error 1 Makefile:125: recipe for target 'subdir-x86_64-softmmu' failed gmake[1]: *** [subdir-x86_64-softmmu] Error 2 CC mips64-softmmu/ioport.o /scratch/emulators/unicorn/work/unicorn-0.9/qemu/rules.mak:54: recipe for target 'tcg/tcg.o' failed gmake[2]: *** [tcg/tcg.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... Makefile:125: recipe for target 'subdir-aarch64-softmmu' failed gmake[1]: *** [subdir-aarch64-softmmu] Error 2 Makefile:125: recipe for target 'subdir-mips64el-softmmu' failed gmake[1]: *** [subdir-mips64el-softmmu] Error 2 Makefile:125: recipe for target 'subdir-mips64-softmmu' failed gmake[1]: *** [subdir-mips64-softmmu] Error 2 gmake[1]: Leaving directory '/scratch/emulators/unicorn/work/unicorn-0.9/qemu' Makefile:216: recipe for target 'compile_lib' failed gmake: *** [compile_lib] Error 2 *** Error code 2 Stop. make[1]: stopped in /bulk-data/pkgsrc/emulators/unicorn *** Error code 1 Stop. make: stopped in /bulk-data/pkgsrc/emulators/unicorn