From: David Michael <fedora.dm0@gmail.com>
To: qemu-devel@nongnu.org
Subject: [PATCH] configure: map x32 to cpu_family x86_64 for meson
Date: Wed, 09 Jun 2021 08:28:39 -0400 [thread overview]
Message-ID: <878s3jrzm0.fsf@gmail.com> (raw)
The meson.build file defines supported_cpus which does not contain
x32, and x32 is not one of meson's stable built-in values:
https://mesonbuild.com/Reference-tables.html#cpu-families
Signed-off-by: David Michael <fedora.dm0@gmail.com>
---
Hi,
QEMU fails to build for x32 due to that cpu_family not being defined in
supported_cpus. Can something like this be applied?
Alternatively, maybe it could be added to supported_cpus and accepted
everywhere that matches x86 in meson.build, but upstream meson does not
define a CPU type for x32.
Thanks.
David
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 8dcb9965b2..4478f3889a 100755
--- a/configure
+++ b/configure
@@ -6384,7 +6384,7 @@ if test "$skip_meson" = no; then
i386)
echo "cpu_family = 'x86'" >> $cross
;;
- x86_64)
+ x86_64|x32)
echo "cpu_family = 'x86_64'" >> $cross
;;
ppc64le)
--
2.31.1
next reply other threads:[~2021-06-09 12:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-09 12:28 David Michael [this message]
2021-06-09 12:45 ` [PATCH] configure: map x32 to cpu_family x86_64 for meson Daniel P. Berrangé
2021-06-09 13:00 ` David Michael
2021-06-09 13:30 ` Peter Maydell
2021-06-09 13:48 ` Daniel P. Berrangé
2021-06-11 17:09 ` Paolo Bonzini
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=878s3jrzm0.fsf@gmail.com \
--to=fedora.dm0@gmail.com \
--cc=qemu-devel@nongnu.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).