NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Git from Qemu



> >>>>>> On Tue, Feb 7, 2012 at 4:28 PM, Maurizio Caloro wrote:
> >>>> On Mon, Feb 6, 2012 at 18:59 PM, Maurizio Caloro wrote:
> >>> On Sun, Feb 5, 2012 at 18:59 PM, Maurizio Caloro wrote:
> >>> On Sun, Feb 5, 2012 at 4:21 PM, Maurizio Caloro wrote:
> >>>
> >>> Have you tried porting the pkgsrc patches/build to this version?
> >>
> >> After using the existings Patches from V 15.1, "but only this that are
> >> possible" stil the same error exist. Best regards for any help Mauri
> >
> > Ok this Memory.c problem i fix with following, if it's the right one
> i'am not shure, but for me temporary it's running.
> >
> > -tmp = mr->ops->read(mr->opaque, addr, size);
> > +tmp = (mr->ops->read)(mr->opaque, addr, size);
> >
> > -*data = mrp->read(mr->opaque, offset + mr->offset) |
> >        mrp->read(mr->opaque, offset + mr->offset + 1) << 8);
> > +*data = (mrp->read)(mr->opaque, offset + mr->offset) |
> >         (mrp->read)(mr->opaque, offset + mr->offset + 1) << 8;
> >
> > But did not go far until the next break:-)
> >
> >># 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
> >
> > Please for any Help i'am where Happy
> > Regards
> > Mauri
> > --
> > Ihr GMX Postfach immer dabei: die kostenlose GMX Mail App für Android.
> > Komfortabel, sicher und schnell: www.gmx.de/android
> 
> 
> Is flush_icache_range a linux-ism, or is it in one the libraries?

file "cache-utils.c" made following changes, but i don't know what you mean 
with "linux-ism".

[Snip]
-#if defined(_ARCH_PPC_)
+#if defined(_MACPPC_)
struct qemu_cache_conf qemu_cache_conf = {
    .dcache_bsize = 16,
    .icache_bsize = 16

[Snip]
-#elif defined __linux__
+#elif defined __NetBSD__

#define QEMU_AT_NULL        0
#define QEMU_AT_DCACHEBSIZE 19

on a possible error recovery support, I would grateful to you.
Regards
Mauri
-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                          
        
Jetzt informieren: http://www.gmx.net/de/go/freephone/


Home | Main Index | Thread Index | Old Index