Re: [Qemu-devel] [PATCH 2/2] configure: Make AVX2 test robust to non-ELF systems

2016-06-19 Thread Stefan Weil
Am 19.06.2016 um 11:41 schrieb Peter Maydell: > On 19 June 2016 at 06:53, Stefan Weil wrote: >> Am 19.06.2016 um 00:05 schrieb Peter Maydell: >>> From: Peter Maydell >>> >>> The AVX2 optimization test assumes that the object format >>> is ELF and the system has the readelf utility. If this isn't

Re: [Qemu-devel] [PATCH 2/2] configure: Make AVX2 test robust to non-ELF systems

2016-06-19 Thread Peter Maydell
On 19 June 2016 at 06:53, Stefan Weil wrote: > Am 19.06.2016 um 00:05 schrieb Peter Maydell: >> From: Peter Maydell >> >> The AVX2 optimization test assumes that the object format >> is ELF and the system has the readelf utility. If this isn't >> true then configure might fail or emit a warning (

Re: [Qemu-devel] [PATCH 2/2] configure: Make AVX2 test robust to non-ELF systems

2016-06-18 Thread Stefan Weil
Am 19.06.2016 um 00:05 schrieb Peter Maydell: > From: Peter Maydell > > The AVX2 optimization test assumes that the object format > is ELF and the system has the readelf utility. If this isn't > true then configure might fail or emit a warning (since in > a pipe "foo | bar >/dev/null 2>&1" does n

[Qemu-devel] [PATCH 2/2] configure: Make AVX2 test robust to non-ELF systems

2016-06-18 Thread Peter Maydell
From: Peter Maydell The AVX2 optimization test assumes that the object format is ELF and the system has the readelf utility. If this isn't true then configure might fail or emit a warning (since in a pipe "foo | bar >/dev/null 2>&1" does not redirect the stderr of foo, only of bar). Adjust the ch