|
From: Julian S. <js...@ac...> - 2015-04-08 07:08:27
|
[Torbjörn's reply; I forgot that he can't post to this list without first subscribing.] -------- Forwarded Message -------- Subject: Re: Testing with QEMU and mips32/64, arm32/64 Date: Tue, 07 Apr 2015 18:04:00 +0200 From: tg...@gm... To: js...@ac... CC: Valgrind Developers <val...@li...> Julian Seward <js...@ac...> writes: Hi Torbjörn, Once again in Valgrind land we are having problems due to lack of nightly test machines for some architectures, especially mips32/64 and arm32/64. In the context of the conversation below, I seem to remember you said something to the effect that you use QEMU to solve this problem for GMP. Do I remember correctly? If so, do you have any information that you can share, regarding configurations of QEMU and Linux distros for these targets? I am wondering if we can set up QEMU VMs for at least some of them, so I am writing to ask if you know which QEMU+distro combinations work well enough to actually be useful. I maintain a page where all my successful (and some unsuccessful) installs are summarised, pl see <https://gmplib.org/~tege/qemu.html>. I've used mainly Debian until now. I'd be happy to help the Valgrind community to get this going. These are all full system emulation installs. The slowdown is often a problem, and multiplying QEMU's and Valgrind's slowdown might make things impractical. QEMU's mips64 slowdown factor for system emulation is around 80. I am migrating GMP testing to use user mode QEMU. A shell script installs by means of debootstrap all debian 6, 7, and 8 ports I have been able to make work. This uses the kernel feature 'binfmts' for transparently invoking QEMU. Not sure how well that'd conspire with Valgrind; I can envision some issues. (This script was not written for publication; I am willing to share it privately but I don't have time to clean it up for publication.) Recently somebody working for the present MIPS owner posted to the GMP list. Maybe he could help with a physical machine (or access to one): https://gmplib.org/list-archives/gmp-devel/2015-February/003933.html -- Torbjörn Please encrypt, key id 0xC8601622 |