From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:53488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RutQV-0006Wj-Lj for qemu-devel@nongnu.org; Tue, 07 Feb 2012 17:22:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RutQR-00032u-Mw for qemu-devel@nongnu.org; Tue, 07 Feb 2012 17:22:15 -0500 Received: from cantor2.suse.de ([195.135.220.15]:42912 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RutQR-00032p-Dr for qemu-devel@nongnu.org; Tue, 07 Feb 2012 17:22:11 -0500 Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii From: Alexander Graf In-Reply-To: Date: Tue, 7 Feb 2012 23:22:09 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20120207125222.111560@gmx.net> <443210D1-C948-435B-9C58-D4E989591BC5@suse.de> Subject: Re: [Qemu-devel] Help - `flush_icache_range' MacPPC List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: malc Cc: Christoph Egger , Maurizio Caloro , qemu-devel Developers On 07.02.2012, at 23:12, malc wrote: > On Tue, 7 Feb 2012, Alexander Graf wrote: >=20 >>=20 >> On 07.02.2012, at 22:12, malc wrote: >>=20 >>> On Tue, 7 Feb 2012, Alexander Graf wrote: >>>=20 >>>>=20 >>>> On 07.02.2012, at 13:52, Maurizio Caloro wrote: >>>>=20 >>>>> Hello Together >>>>> Here i drive with me MiniMac G4 1.4Ghz and i try to run Qemu 1.0. = i wan't run one Virt. MS Server2008 it's this realistic?. >>>>>=20 >>>>> Unfortunitly from the first (other) Mailinglist i don't become any = Answer. >>>>>=20 >>>>> on a possible error recovery support, I would grateful to you. >>>>> Thanks and best regards >>>>> Mauri >>>>>=20 >>>>>> NetBSD powermac.G4 5.1 NetBSD 5.1 (GENERIC) #0: Sat Nov 6 = 17:09:11 UTC >2010 = builds@b7.netbsd.org:/home/builds/ab/netbsd-5-1->RELEASE/macppc/2010110619= 43Z-obj/home/builds/ab/netbsd-5-1->RELEASE/src/sys/arch/macppc/compile/GEN= ERIC macppc >>>>>>=20 >>>>>> # gmake >>>>>> CC i386-softmmu/memory.o >>>>>> LINK i386-softmmu/qemu-system-i386 >>>>>> ld: warning: libintl.so.0, needed by = /usr/pkg/lib/libgthread-2.0.so, may conflict with libintl.so.8 >>>>>> tcg/tcg.o: In function `tcg_prologue_init': >>>>>> /usr/source/qemu-1.0/tcg/tcg.c:268: undefined reference to = `flush_icache_range' >>>>>> tcg/tcg.o: In function `ppc_tb_set_jmp_target': >>>>>> /usr/source/qemu-1.0/tcg/ppc/tcg-target.c:1291: undefined = reference to `flush_icache_range' >>>>>> tcg/tcg.o: In function `tcg_gen_code': >>>>>> /usr/source/qemu-1.0/tcg/tcg.c:2191: undefined reference to = `flush_icache_range' >>>>=20 >>>> I'd say your gcc is too old / buggy. >>>=20 >>> You probably missed the NetBSD part (anyway originally i did) >>=20 >> Gcc on NetBSD doesn't implement the cache flush helpers? They're just = a=20 >> bunch of instructions, so I don't see how that'd be target os = specific. >>=20 >=20 > Take a look at cache-utils.c, it conditionally (depending on the host = OS > type) tries to gigure out the cache line sizes, there's code to do = that > on Linux, OSX, AIX and FreeBSD. I have no idea if FreeBSD method works > for Net/Open/Dragonfly.. so.. Hrm, I wonder if we could ask some NetBSD enthusiast to help us out = here. Christoph? Alex