On 06/17/16 14:55, Peter Maydell wrote: > On 17 June 2016 at 13:41, Mark Cave-Ayland > <mark.cave-ayl...@ilande.co.uk> wrote: >> Thank you looking into this. I know that some workarounds have been >> applied for similar bugs in Peter's setup, but in general should I >> assume that out-of-the-box Debian oldstable is now no longer supported >> to build QEMU?
(I have no stake in this, just took an interest in it for some reason.) > I would kind of prefer us to work around the compiler issue if > it's not too difficult to do so. Otherwise, just configure > with --disable-werror. I agree working it around is preferable, if we can find a deterministic way to do that. I'm afraid it will require someone to look into, and understand, the internal AST representation of gcc (with -fdump-tree-*), and then perturb it through the QEMU source sufficiently. Also, how about filing that backport bug for Debian? If they backport the gcc fix, then the issue is solved -- people can be expected to update their Debian systems fully, before they do any heavy-lifting with them (like building QEMU). Thanks Laszlo