From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Cc: Richard Henderson <richard.henderson@linaro.org>,
Ilya Leoshkevich <iii@linux.ibm.com>,
Michael Tokarev <mjt@tls.msk.ru>
Subject: [PULL 1/3] configure: fix detection for x32 linux-user
Date: Tue, 8 Aug 2023 20:45:49 +0200 [thread overview]
Message-ID: <20230808184551.684522-2-pbonzini@redhat.com> (raw)
In-Reply-To: <20230808184551.684522-1-pbonzini@redhat.com>
x32 uses the same signal handling fragments as x86_64, since host_arch
is set to x86_64 when Meson runs. Remove the unnecessary forwarder and
set the host_arch variable properly in configure.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Tested-by: Ilya Leoshkevich <iii@linux.ibm.com>
Tested-by: Michael Tokarev <mjt@tls.msk.ru>
Message-ID: <20230808120303.585509-2-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
configure | 2 ++
linux-user/include/host/x32/host-signal.h | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
delete mode 100644 linux-user/include/host/x32/host-signal.h
diff --git a/configure b/configure
index 98dc78280e6..484d38d81f4 100755
--- a/configure
+++ b/configure
@@ -472,6 +472,8 @@ fi
case "$cpu" in
riscv*)
host_arch=riscv ;;
+ x32)
+ host_arch=x86_64 ;;
*)
host_arch="$cpu" ;;
esac
diff --git a/linux-user/include/host/x32/host-signal.h b/linux-user/include/host/x32/host-signal.h
deleted file mode 100644
index 26800591d3b..00000000000
--- a/linux-user/include/host/x32/host-signal.h
+++ /dev/null
@@ -1 +0,0 @@
-#include "../x86_64/host-signal.h"
--
2.41.0
next prev parent reply other threads:[~2023-08-08 18:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-08 18:45 [PULL 0/3] fix ppc64le build, fully kill alpha and s390 linux-user Paolo Bonzini
2023-08-08 18:45 ` Paolo Bonzini [this message]
2023-08-08 18:45 ` [PULL 2/3] linux-user: cleanup unused linux-user/include/host directories Paolo Bonzini
2023-08-08 18:45 ` [PULL 3/3] configure: unify case statements for CPU canonicalization Paolo Bonzini
2023-08-08 23:38 ` [PULL 0/3] fix ppc64le build, fully kill alpha and s390 linux-user Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230808184551.684522-2-pbonzini@redhat.com \
--to=pbonzini@redhat.com \
--cc=iii@linux.ibm.com \
--cc=mjt@tls.msk.ru \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).