From patchwork Tue Feb 7 18:03:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: malc X-Patchwork-Id: 140018 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 28FD9B6F98 for ; Wed, 8 Feb 2012 08:33:01 +1100 (EST) Received: from localhost ([::1]:34357 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rusep-00078V-05 for incoming@patchwork.ozlabs.org; Tue, 07 Feb 2012 16:32:59 -0500 Received: from eggs.gnu.org ([140.186.70.92]:38280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RupOg-0003H8-Gk for qemu-devel@nongnu.org; Tue, 07 Feb 2012 13:04:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RupOa-0002Aj-Fh for qemu-devel@nongnu.org; Tue, 07 Feb 2012 13:04:06 -0500 Received: from fe01x03-cgp.akado.ru ([77.232.31.164]:51589 helo=akado.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RupOa-0002AV-88 for qemu-devel@nongnu.org; Tue, 07 Feb 2012 13:04:00 -0500 Received: from [10.0.66.9] ([10.0.66.9] verified) by fe01-cgp.akado.ru (CommuniGate Pro SMTP 5.2.13) with ESMTPS id 321545319; Tue, 07 Feb 2012 22:03:55 +0400 Date: Tue, 7 Feb 2012 22:03:54 +0400 (MSK) From: malc X-X-Sender: malc@linmac To: Maurizio Caloro In-Reply-To: <20120207125222.111560@gmx.net> Message-ID: References: <20120207125222.111560@gmx.net> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 77.232.31.164 X-Mailman-Approved-At: Tue, 07 Feb 2012 16:32:40 -0500 Cc: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] Help - `flush_icache_range' MacPPC X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org On Tue, 7 Feb 2012, Maurizio Caloro wrote: > 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?. > > Unfortunitly from the first (other) Mailinglist i don't become any Answer. > > on a possible error recovery support, I would grateful to you. > Thanks and best regards > Mauri > > >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/201011061943Z-obj/home/builds/ab/netbsd-5-1->RELEASE/src/sys/arch/macppc/compile/GENERIC macppc > > > ># 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' > >gmake[1]: *** [qemu-system-i386] Error 1 > >gmake: *** [subdir-i386-softmmu] Error 2 Does follwing fix it? diff --git a/cache-utils.c b/cache-utils.c index 2db5af2..362c98e 100644 --- a/cache-utils.c +++ b/cache-utils.c @@ -57,7 +57,7 @@ static void ppc_init_cacheline_sizes(void) } #endif -#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) #include #include #include