- Update emulators/qemu-devel to 1.4.0 with preliminary bsd-user patches.
Thanx to: sson, cognet, and others for much improved bsd-user support -
it now runs at least quite a few mips64 and single-threaded
arm binaries, see:
https://wiki.freebsd.org/QemuUserModeHowTo
http://lists.nongnu.org/archive/html/qemu-devel/2012-07/msg01626.html
- Rename CLANG workaround knob to CLANG_HACK to avoid it being
inadvertently triggered by WITH_CLANG in make.conf etc.
- Change USE_BZIP2=yes to EXTRACT_SUFX=.tar.bz2 because the
1.1.1 distfile is in fact compressed with gzip not bzip2 despite
the extension.
- Add preliminary arm-bsd-user support, this still will only run
very simple executables like a static echo (the same as the rest
of the bsd-user targets) due to lots of syscall handling still
missing. Help welcome there! :)
This work was started by bapt and cognet, I fixed syscall arg
passing (only the first four are passed in registers, the rest
on the stack) as well as errno and carry handling at syscall
return among other things and cleaned up cognet's version a bit.
(The OpenBSD case is untested and probably wrong.) [1]
Some notes in this post:
http://lists.freebsd.org/pipermail/freebsd-emulation/2012-July/009901.html
Submitted by: cognet [1] (initial version of the patch)