From 4709ab34da6dd39c484c242e235d268ebe79586d Mon Sep 17 00:00:00 2001 From: Alex Huszagh Date: Mon, 9 Sep 2019 13:39:03 -0500 Subject: [PATCH] Patch for breaking 32-bit float conversions on ppc (#313). --- docker/qemu.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docker/qemu.sh b/docker/qemu.sh index e0de575d6..32f68ab7a 100644 --- a/docker/qemu.sh +++ b/docker/qemu.sh @@ -1,8 +1,19 @@ +#!/usr/bin/env bash + set -ex main() { local version=4.1.0 + # Qemu versions 3.10.0 and above break 32-bit float conversions + # on powerpc, powerpc64, and powerpc64le. Last known working version + # is 3.0.1. + # Upstream Issue: + # https://bugs.launchpad.net/qemu/+bug/1821444 + if [[ $1 == ppc* ]]; then + version=3.0.1 + fi + local arch=$1 \ os=$2 \ softmmu=$3 \