Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch for breaking 32-bit float conversions on ppc (#313). #316

Merged
merged 1 commit into from
Sep 9, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docker/qemu.sh
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down