Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ibzn4-0004CF-LJ for qemu-devel@nongnu.org; Sun, 30 Sep 2007 10:29:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ibzn3-0004Bu-Qg for qemu-devel@nongnu.org; Sun, 30 Sep 2007 10:29:01 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ibzn3-0004Br-Kr for qemu-devel@nongnu.org; Sun, 30 Sep 2007 10:29:01 -0400 Received: from fmmailgate03.web.de ([217.72.192.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ibzn3-0005aa-EZ for qemu-devel@nongnu.org; Sun, 30 Sep 2007 10:29:01 -0400 Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate03.web.de (Postfix) with ESMTP id 8FA3B9F6639C for ; Sun, 30 Sep 2007 16:29:00 +0200 (CEST) Received: from [91.18.86.153] (helo=[10.0.1.1]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #197) id 1Ibzn1-0004ci-00 for qemu-devel@nongnu.org; Sun, 30 Sep 2007 16:28:59 +0200 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <1191158854.29900.131.camel@rapid> References: <9DF95EE0-A0EB-443E-850F-881F2A7B3318@web.de> <1191152728.29900.102.camel@rapid> <494D52E6-D90D-4426-A866-8D413F9333B6@web.de> <1191154622.29900.118.camel@rapid> <5CD94FD2-E210-4C08-8CBA-11B0EFDC0AA4@web.de> <1191158854.29900.131.camel@rapid> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: =?ISO-8859-1?Q?Andreas_F=E4rber?= Subject: Re: [Qemu-devel] Build failure on OS X Date: Sun, 30 Sep 2007 16:28:58 +0200 Sender: andreas.faerber@web.de Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Am 30.09.2007 um 15:27 schrieb J. Mayer: > On Sun, 2007-09-30 at 15:08 +0200, Andreas F=E4rber wrote: >> Am 30.09.2007 um 14:17 schrieb J. Mayer: >>> Would this new definition solve the compilation failure ? >>> >>> #ifndef always_inline >>> #if (__GNUC__ < 3) || defined(__APPLE__) >>> #define always_inline inline >>> #else >>> #define always_inline __attribute__ (( always_inline )) inline >>> #endif >>> #endif >> >> It does. > > OK, then I will commit this fixup, even if it may generate slower code > for interrupt processing (which is already something slow...). Well, slower compared to Linux certainly, but there's no fancy =20 acceleration anyway. I consider working+slow better than not working =20 at all. If someone has a speedup idea for the __APPLE__ case, that could =20 still be applied separately. > the alias attribute is used to define a new function name that =20 > actually > refer to another existant function, this to avoid code duplication. We > can easily avoid using it using an inline function for the actual > implementation and calling it from different places. Please take a =20 > look > at this patch. Patch looks okay to me and compiles. Again, I have no idea about the =20 implications and any performance impact. Either way, if I run "qemu-system-ppc -boot d -cdrom debian-40r0-=20 powerpc-DVD-1.iso" this is what I get: starting qemu... qemu: fatal: Unable to find PowerPC CPU definition NIP fffffffc LR 00000000 CTR 00000000 Bus error I haven't used it in a while; as reported earlier, it didn't really =20 work back then either, but it worked "more", i.e. started to boot. =20 But this is with or without the patch, so unrelated - just saying I =20 can't confirm that this patch works 100%. Regards, Andreas P.S. I'm subscribed, you don't need to CC me. :)=