[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 07/10] configure: unify x86_64 and x32
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 07/10] configure: unify x86_64 and x32 |
Date: |
Thu, 16 Dec 2021 10:10:08 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 |
On 12/16/21 09:51, Paolo Bonzini wrote:
> The only difference between the two, as far as either configure or
> Meson are concerned, is in the multilib flags passed to the compiler.
>
> For QEMU, this fixes the handling of TYPE_OLDDEVT in
> include/exec/user/thunk.h and enables testing of dirty ring buffer,
> because both are using HOST_X86_64.
>
> For tests/tcg, this means that on a hypothetical x32 host the
> cross compiler will not be used to build the tests.
Why not add the cross compiler definitions to tests/tcg?
+: ${cross_cc_x32="$cross_cc_x86_64"}
+: ${cross_cc_cflags_x32="-mx32"}
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> configure | 6 ++----
> meson.build | 3 +--
> 2 files changed, 3 insertions(+), 6 deletions(-)
- Re: [PATCH 04/10] configure: do not set bsd_user/linux_user early, (continued)
- [PATCH 09/10] configure, meson: move ARCH to meson.build, Paolo Bonzini, 2021/12/16
- [PATCH 05/10] configure: unify two case statements on $cpu, Paolo Bonzini, 2021/12/16
- [PATCH 08/10] meson: rename "arch" variable, Paolo Bonzini, 2021/12/16
- [PATCH 07/10] configure: unify x86_64 and x32, Paolo Bonzini, 2021/12/16
- Re: [PATCH 07/10] configure: unify x86_64 and x32,
Philippe Mathieu-Daudé <=
- Re: [PATCH 07/10] configure: unify x86_64 and x32, Richard Henderson, 2021/12/17