From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LdSea-0004MT-Co for qemu-devel@nongnu.org; Sat, 28 Feb 2009 12:07:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LdSeY-0004KS-CV for qemu-devel@nongnu.org; Sat, 28 Feb 2009 12:07:07 -0500 Received: from [199.232.76.173] (port=39870 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LdSeX-0004Jj-Ua for qemu-devel@nongnu.org; Sat, 28 Feb 2009 12:07:06 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:59776) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LdSeW-0000Da-Vs for qemu-devel@nongnu.org; Sat, 28 Feb 2009 12:07:05 -0500 In-Reply-To: <3BCD83D2-D2DC-40E2-9D0D-68A7B9100DDC@web.de> From: "=?utf-8?q?Fran=C3=A7ois?= Revol" Date: Sat, 28 Feb 2009 18:08:43 +0100 CET Message-Id: <6011275057-BeMail@laptop> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Re: [PATCH] [RFC] Haiku host support and general configure issues Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?utf-8?q?F=C3=A4rber?= Cc: haikuports-devs@ports.haiku-files.org, qemu-devel@nongnu.org > We have undocumented --extra-cflags=3D and --extra-ldflags=3D 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=5FCFLAGS come closest, > but they are ignored for some of the tests, too. Any preferences how > to fix this=3F 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 =5FIO > in nbd code. Not sure if that's a missing check in QEMU or an issue > in > Haiku=3F 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=C3=A7ois.