qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: "Michael Tokarev" <mjt@tls.msk.ru>,
	"QEMU Developers" <qemu-devel@nongnu.org>,
	"Philippe Mathieu-Daudé" <f4bug@amsat.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: Building tools on unsupported cpu/arch
Date: Mon, 20 Jun 2022 14:07:27 +0200	[thread overview]
Message-ID: <82e9f989-c903-ae13-3a8f-2edc94b73a50@redhat.com> (raw)
In-Reply-To: <0b98e946-3f1b-0e2c-8beb-9cc878190c06@msgid.tls.msk.ru>

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	other threads:[~2022-06-20 12:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-30 14:11 Building tools on unsupported cpu/arch Michael Tokarev
2022-04-30 16:57 ` Richard Henderson
2022-04-30 17:08   ` Michael Tokarev
2022-06-20 10:31 ` Thomas Huth
2022-06-20 10:54   ` Michael Tokarev
2022-06-20 12:07     ` Thomas Huth [this message]
2022-07-18  7:39 ` Thomas Huth

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=82e9f989-c903-ae13-3a8f-2edc94b73a50@redhat.com \
    --to=thuth@redhat.com \
    --cc=f4bug@amsat.org \
    --cc=mjt@tls.msk.ru \
    --cc=pbonzini@redhat.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).