qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building tools on unsupported cpu/arch


From: Thomas Huth
Subject: Re: Building tools on unsupported cpu/arch
Date: Mon, 20 Jun 2022 14:07:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0

On 20/06/2022 12.54, Michael Tokarev wrote:
20.06.2022 13:31, Thomas Huth write:
On 30/04/2022 16.11, Michael Tokarev wrote:
Hello!

Previously, it was possible to build qemu tools (such as qemu-img, or qemu-ga)
on an unsupported cpu/architecture.  In a hackish way, by specifying
--enable-tcg-interpreter on the ./configure line.

Today (with 7.0), it does not work anymore, with the following error
during configure:

  common-user/meson.build:1:0: ERROR: Include dir host/unknown does not exist.

Did you ever send a patch for this? I something like this should do the job:

diff a/common-user/meson.build b/common-user/meson.build
--- a/common-user/meson.build
+++ b/common-user/meson.build
@@ -1,3 +1,7 @@
+if not have_user
+   subdir_done()
+endif
+

https://salsa.debian.org/qemu-team/qemu/-/blob/master/debian/patches/common-user-no-user.patch

I dunno which one is right - "have_user" or "have_linux_user & have_bsd_user".

Both should be fine - have_user is just a shortcut:

$ grep have_user meson.build
have_user = have_linux_user or have_bsd_user
...

Could you send it as a proper patch? (otherwise I could assemble a patch, too, if you prefer that)

 Thanks,
  Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]