From: "François Revol" <revol@free.fr>
To: "Andreas Färber" <andreas.faerber@web.de>
Cc: haikuports-devs@ports.haiku-files.org, qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH] [RFC] Haiku host support and general configure issues
Date: Sat, 28 Feb 2009 18:08:43 +0100 CET [thread overview]
Message-ID: <6011275057-BeMail@laptop> (raw)
In-Reply-To: <3BCD83D2-D2DC-40E2-9D0D-68A7B9100DDC@web.de>
> We have undocumented --extra-cflags= and --extra-ldflags= options
> that
> don't work as expected. They are ignored by all the configure tests,
> so it seems there is no direct equivalent to autoconf's CPPFLAGS to
> pass in additional header include paths. The OS_CFLAGS come closest,
> but they are ignored for some of the tests, too. Any preferences how
> to fix this?
Ideally those shouldn't be needed anyway.
> The optional curses support relies on -lcurses but it's called
> libncurses.a on Haiku, so add a check for -lncurses if -lcurses
> fails.
> It is then detected.
ncurses is a different implementation but should be compatible AFAIK.
> Unresolved issues include that AIO is detected, and as a consequence
Then the test is buggy as we don't have AIO in Haiku that I know of :)
> AIOLIBS is set to -lpthread but that is not available on Haiku.
Well we should have a pthread lib available though...
> The code still does not link qemu-img due to an unresolved symbol _IO
> in nbd code. Not sure if that's a missing check in QEMU or an issue
> in
> Haiku? There doesn't appear to be a switch to disable NBD altogether,
> so this seems like a blocker for now.
Another big issue that I mentionned earlier here is the widely used
assumption that error codes are positive, which is not the case for
BeOS and Haiku.
Not fixing this will result in a dangerous binary.
François.
next prev parent reply other threads:[~2009-02-28 17:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-28 14:08 [Qemu-devel] [PATCH] [RFC] Haiku host support and general configure issues Andreas Färber
2009-02-28 17:08 ` François Revol [this message]
2009-02-28 18:31 ` [Qemu-devel] " Andreas Färber
2009-02-28 19:01 ` [HaikuPorts-devs] " François Revol
2009-02-28 20:26 ` Jamie Lokier
2009-02-28 20:32 ` François Revol
2009-03-08 18:15 ` Anthony Liguori
2009-03-08 18:41 ` [HaikuPorts-devs] " François Revol
2009-03-09 8:40 ` Avi Kivity
2009-03-09 14:14 ` [HaikuPorts-devs] " François Revol
2009-03-09 14:33 ` Avi Kivity
2009-03-09 15:39 ` François Revol
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=6011275057-BeMail@laptop \
--to=revol@free.fr \
--cc=andreas.faerber@web.de \
--cc=haikuports-devs@ports.haiku-files.org \
--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).