On 12/25/2012 01:12 PM, Brad Smith wrote: > Public bug reported: > > Building QEMU 1.2.1 on OpenBSD/mips64 fails as follows although I > believe QEMU was also broken with 1.1.x as well.. ... > In file included from /usr/obj/ports/qemu-1.2.1/qemu-1.2.1/tcg/tcg.c:50: > /usr/obj/ports/qemu-1.2.1/qemu-1.2.1/tcg/tcg-op.h: In function > 'tcg_gen_div_i64': > /usr/obj/ports/qemu-1.2.1/qemu-1.2.1/tcg/tcg-op.h:1229: error: > 'TCG_TARGET_HAS_div_i64' undeclared (first use in this function)
The tcg/mips target only supports mips32. In order to build on mips64 you'll need to use the interpreter backend, configurable with --enable-tcg-interpreter. We could be more clever and enable this by default for mips64... r~
