[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCH v2] configure: Only build the s390-ccw bios if t
From: |
Cornelia Huck |
Subject: |
Re: [qemu-s390x] [PATCH v2] configure: Only build the s390-ccw bios if the compiler supports -march=z900 |
Date: |
Mon, 14 Jan 2019 16:20:03 +0100 |
On Mon, 14 Jan 2019 13:52:26 +0100
Thomas Huth <address@hidden> wrote:
> We want to build our s390-ccw bios with -march=z900 so that it also
> works with the oldest s390x CPU that we support with TCG. However,
> Clang on s390x does not support -march=z900 anymore, so we can not
> use this compiler to build the s390-ccw bios. Thus add a proper test
> to the configure script to see whether the compiler is usable.
>
> Signed-off-by: Thomas Huth <address@hidden>
> ---
> v2: Use compile_prog as suggested by Peter
>
> configure | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
With this, the fpu/softfloat patch, and Marcel's rdma patches, I can
compile with clang on my Fedora 29 s390x system. Yeah!
Should this patch go through the s390 tree, or take some other path?