qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Graf <agraf@suse.de>
To: malc <av1474@comtv.ru>
Cc: Christoph Egger <Christoph.Egger@amd.com>,
	Maurizio Caloro <mauric@gmx.ch>,
	qemu-devel Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Help - `flush_icache_range' MacPPC
Date: Tue, 7 Feb 2012 23:22:09 +0100	[thread overview]
Message-ID: <AC83EED0-D621-497D-9ECC-FC399F06FBC2@suse.de> (raw)
In-Reply-To: <alpine.LNX.2.00.1202080211080.12199@linmac>


On 07.02.2012, at 23:12, malc wrote:

> On Tue, 7 Feb 2012, Alexander Graf wrote:
> 
>> 
>> On 07.02.2012, at 22:12, malc wrote:
>> 
>>> On Tue, 7 Feb 2012, Alexander Graf wrote:
>>> 
>>>> 
>>>> On 07.02.2012, at 13:52, 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'
>>>> 
>>>> I'd say your gcc is too old / buggy.
>>> 
>>> You probably missed the NetBSD part (anyway originally i did)
>> 
>> Gcc on NetBSD doesn't implement the cache flush helpers? They're just a 
>> bunch of instructions, so I don't see how that'd be target os specific.
>> 
> 
> 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

  reply	other threads:[~2012-02-07 22:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-07 12:52 [Qemu-devel] Help - `flush_icache_range' MacPPC Maurizio Caloro
2012-02-07 18:03 ` malc
2012-02-07 20:01 ` Alexander Graf
2012-02-07 21:12   ` malc
2012-02-07 22:05     ` Alexander Graf
2012-02-07 22:12       ` malc
2012-02-07 22:22         ` Alexander Graf [this message]
2012-02-07 22:29         ` Brad Smith
2012-02-07 22:33           ` Alexander Graf
2012-02-07 22:56           ` Alexander Graf
2012-02-07 22:57           ` Alexander Graf
2012-02-07 23:57             ` Maurizio Caloro
2012-02-08 23:29             ` Scott Wood
2012-02-08 23:42               ` Alexander Graf
2012-02-08 23:54                 ` Scott Wood
2012-02-08 23:58                   ` Alexander Graf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AC83EED0-D621-497D-9ECC-FC399F06FBC2@suse.de \
    --to=agraf@suse.de \
    --cc=Christoph.Egger@amd.com \
    --cc=av1474@comtv.ru \
    --cc=mauric@gmx.ch \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).