Home
last modified time | relevance | path

Searched hist:"7 dd929dfdc5c52ce79b21bf557ff506e89acbf63" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/
H A Dconfigure7dd929dfdc5c52ce79b21bf557ff506e89acbf63 Sat Jun 18 17:05:02 CDT 2016 Peter Maydell <peter.maydell@linaro.org> configure: Make AVX2 test robust to non-ELF systems

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 check so that if
we don't have readelf or don't have an ELF object then we
just don't enable the AVX2 optimization.

Reported-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Message-id: 1466287502-18730-3-git-send-email-pmaydell@chiark.greenend.org.uk