On 30 July 2018 at 18:24, Alistair Francis <alistai...@gmail.com> wrote: > On Sun, Jul 29, 2018 at 4:28 AM, Peter Maydell <peter.mayd...@linaro.org> > wrote: >>> Another piece that even Michael Clark does not have is >>> linux-user/host/*/safe-syscall.S. >> >> It might be nice to complete the safe-syscall stuff for all hosts, >> and then remove the fallback that lets you build an unreliable >> linux-user binary without it... > > At the moment though QEMU won't build with Linux user. So some work is > required just to get the build working.
Right -- it's not really sufficient to just change configure. I'd rather see: (a) a proper backend for any host CPU type we actually care about, which is what Michael's work is doing (b) support for the various per-host-arch things that are needed like the safe-syscall shim (c) QEMU's build infrastructure guiding the process of implementing both of those, by making it a build failure to not provide all the set of things, rather than producing a configuration that will build but not work reliably thanks -- PMM