From: Thomas Huth <thuth@redhat.com>
To: Richard Zak <richard.j.zak@gmail.com>,
QEMU Developers <qemu-devel@nongnu.org>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>
Subject: Re: [PATCH 1/2] Fix for Haiku
Date: Sun, 4 Jul 2021 09:29:37 +0200 [thread overview]
Message-ID: <6419b192-7aa5-f7e4-fc8a-c9e21e16157b@redhat.com> (raw)
In-Reply-To: <CAOakUfOhn43BUUGoJPahxmxxTk8vcPeyrgsX0GDmzt46ZriNeA@mail.gmail.com>
On 03/07/2021 23.10, Richard Zak wrote:
> For Haiku: turn off TPM, disable mips & xtensa emulators as they won't
> compile on Haiku, use Haiku's capstone. I'm resending this as I previously
> sent to the wrong address. This should resolve the memory issue with "make
> vm-build-haiku.x86_64"
>
> Signed-off-by: Richard Zak <richard.j.zak@gmail.com
> <mailto:richard.j.zak@gmail.com>>
> ---
> configure | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index e799d908a3..a965c6c72e 100755
> --- a/configure
> +++ b/configure
> @@ -358,6 +358,7 @@ oss_lib=""
> bsd="no"
> linux="no"
> solaris="no"
> +haiku="no"
> profiler="no"
> cocoa="auto"
> softmmu="yes"
> @@ -769,7 +770,10 @@ SunOS)
> ;;
> Haiku)
> haiku="yes"
> - QEMU_CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS -D_BSD_SOURCE $QEMU_CFLAGS"
> + tpm="no"
Why is tpm support not auto-detected?
> + capstone="system"
> + target_list_exclude="mips-softmmu mipsel-softmmu mips64-softmmu
> mips64el-softmmu xtensa-softmmu xtensaeb-softmmu"
I think it's rather a bad idea to set target_list_exclude here since this
will prevent that the users can use their own "--target-list" and
"--target-list-exclude" switches for the configure script. But maybe you
could add some logic later that checks whether the user set a target list,
and if that's not the case then tweak the target_list_exclude accordingly.
> + QEMU_CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS -D_BSD_SOURCE -I`finddir
> B_SYSTEM_HEADERS_DIRECTORY`/capstone $QEMU_CFLAGS"
> ;;
> Linux)
> audio_drv_list="try-pa oss"
> --
> 2.25.1
Thomas
prev parent reply other threads:[~2021-07-04 7:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-03 21:10 [PATCH 1/2] Fix for Haiku Richard Zak
2021-07-03 21:39 ` Peter Maydell
2021-07-03 22:06 ` Richard Zak
2021-07-04 9:03 ` Philippe Mathieu-Daudé
2021-07-04 9:27 ` Philippe Mathieu-Daudé
2021-07-04 9:30 ` Philippe Mathieu-Daudé
2021-07-04 14:20 ` Richard Zak
2021-07-04 16:16 ` Thomas Huth
2021-07-04 16:39 ` Richard Zak
2021-07-04 16:51 ` Thomas Huth
2021-07-04 16:58 ` Richard Zak
2021-07-04 18:34 ` Thomas Huth
2021-07-04 7:29 ` Thomas Huth [this message]
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=6419b192-7aa5-f7e4-fc8a-c9e21e16157b@redhat.com \
--to=thuth@redhat.com \
--cc=f4bug@amsat.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.j.zak@gmail.com \
/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).