Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NEX7V-00007S-OF for qemu-devel@nongnu.org; Sat, 28 Nov 2009 18:54:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NEX7R-0008VS-2e for qemu-devel@nongnu.org; Sat, 28 Nov 2009 18:54:29 -0500 Received: from [199.232.76.173] (port=47858 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NEX7Q-0008VK-VV for qemu-devel@nongnu.org; Sat, 28 Nov 2009 18:54:25 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:55546) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NEX7Q-0003AC-LC for qemu-devel@nongnu.org; Sat, 28 Nov 2009 18:54:24 -0500 Message-Id: From: =?ISO-8859-1?Q?Andreas_F=E4rber?= In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [Qemu-devel] PATCH: Building qemu on OpenSolaris 2009.06 (SPARC) host Date: Sun, 29 Nov 2009 00:54:00 +0100 References: <05379AA9-7848-4BFE-BA2D-D2B4799A0099@web.de> Sender: andreas.faerber@web.de List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Palle Lyckegaard Cc: qemu-devel@nongnu.org Hi Palle, Am 28.11.2009 um 21:03 schrieb Palle Lyckegaard: > On Fri, 27 Nov 2009, Andreas F=E4rber wrote: > >> I can ack the softfloat part (fixes redefinition warnings) and the =20= >> tap part (fixes an unresolved symbol TFR). >> >> But what does the cpu.h part fix? > > the cpu.h part is an attempt to avoid warnings about e.g. PSR_EF =20 > being redefined in /usr/include/v7/sys/privregs.h on my OpenSolaris =20= > 2009.06 SPARC host. > > Other redefines are PSR_ICC, PSR_PIL, PSR_S, ... Not having that v7 dir on amd64 here, did you check whether their =20 values are really defined identically? If not, it may be necessary to either #undef them first or to prefix =20 them with TARGET_ as done for the user emulators... Andreas