public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Hollis Blanchard <hollisb-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
To: Giuseppe Falsetti <giuseppe-qgsxNw1iPWg@public.gmane.org>
Cc: kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	kvm-ppc <kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: Compiling error : ppc440_bamboo.o fails
Date: Mon, 01 Dec 2008 11:34:39 -0600	[thread overview]
Message-ID: <1228152879.14874.24.camel@localhost.localdomain> (raw)
In-Reply-To: <4933EFDD.8000709-qgsxNw1iPWg@public.gmane.org>

Hi Giuseppe, thanks for your mail. Feel free to CC
kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org in the future, too... :)

On Mon, 2008-12-01 at 15:08 +0100, Giuseppe Falsetti wrote:
> Error messages:
> gcc -I. -I.. -I/root/kvm-userspace/qemu/target-ppc 
> -I/root/kvm-userspace/qemu -MMD -MT ppc440_bamboo.o -MP -DNEED_CPU_H 
> -D__powerpc__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
> -D__user= -I/root/kvm-userspace/qemu/tcg 
> -I/root/kvm-userspace/qemu/tcg/ppc -I/root/kvm-userspace/qemu/fpu 
> -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/root/kvm-userspace/qemu/slirp -I 
> /root/kvm-userspace/qemu/../libkvm  -I /root/kvm-userspace/libfdt -O2 -g 
> -fno-strict-aliasing -Wall -Wundef -Wendif-labels -Wwrite-strings   -I 
> /root/kvm-userspace/kernel/include -c -o ppc440_bamboo.o 
> /root/kvm-userspace/qemu/hw/ppc440_bamboo.c
> /root/kvm-userspace/qemu/hw/ppc440_bamboo.c: In function 'bamboo_init':
> /root/kvm-userspace/qemu/hw/ppc440_bamboo.c:108: warning: passing 
> argument 2 of 'load_uimage' from incompatible pointer type
> /root/kvm-userspace/qemu/hw/ppc440_bamboo.c:108: warning: passing 
> argument 3 of 'load_uimage' from incompatible pointer type
> /root/kvm-userspace/qemu/hw/ppc440_bamboo.c:108: error: too many 
> arguments to function 'load_uimage'

Sorry about that... I'm currently in the process of merging PowerPC KVM
support into upstream qemu, and due to this the kvm qemu fork has
broken.

> /root/kvm-userspace/qemu/hw/ppc440_bamboo.c:139: warning: passing 
> argument 1 of 'read_proc_dt_prop_cell' discards qualifiers from pointer 
> target type
> /root/kvm-userspace/qemu/hw/ppc440_bamboo.c:140: warning: passing 
> argument 1 of 'read_proc_dt_prop_cell' discards qualifiers from pointer 
> target type
> /root/kvm-userspace/qemu/hw/ppc440_bamboo.c:173: warning: passing 
> argument 2 of 'dt_cell' discards qualifiers from pointer target type
> /root/kvm-userspace/qemu/hw/ppc440_bamboo.c:173: warning: passing 
> argument 3 of 'dt_cell' discards qualifiers from pointer target type
> /root/kvm-userspace/qemu/hw/ppc440_bamboo.c:174: warning: passing 
> argument 2 of 'dt_cell' discards qualifiers from pointer target type
> /root/kvm-userspace/qemu/hw/ppc440_bamboo.c:174: warning: passing 
> argument 3 of 'dt_cell' discards qualifiers from pointer target type
> /root/kvm-userspace/qemu/hw/ppc440_bamboo.c:176: warning: passing 
> argument 2 of 'dt_cell_multi' discards qualifiers from pointer target type
> /root/kvm-userspace/qemu/hw/ppc440_bamboo.c:176: warning: passing 
> argument 3 of 'dt_cell_multi' discards qualifiers from pointer target type
> /root/kvm-userspace/qemu/hw/ppc440_bamboo.c:177: warning: passing 
> argument 2 of 'dt_cell' discards qualifiers from pointer target type
> /root/kvm-userspace/qemu/hw/ppc440_bamboo.c:177: warning: passing 
> argument 3 of 'dt_cell' discards qualifiers from pointer target type
> /root/kvm-userspace/qemu/hw/ppc440_bamboo.c:179: warning: passing 
> argument 2 of 'dt_cell' discards qualifiers from pointer target type
> /root/kvm-userspace/qemu/hw/ppc440_bamboo.c:179: warning: passing 
> argument 3 of 'dt_cell' discards qualifiers from pointer target type
> /root/kvm-userspace/qemu/hw/ppc440_bamboo.c:180: warning: passing 
> argument 2 of 'dt_string' discards qualifiers from pointer target type
> /root/kvm-userspace/qemu/hw/ppc440_bamboo.c:180: warning: passing 
> argument 3 of 'dt_string' discards qualifiers from pointer target type

These are annoying, but just warnings so we can ignore them for now.

I can provide you a patch to get you going again right now, but just to
clarify: do you have a 440 system you're going to be running KVM on, and
the G5 is just your build how? There currently is no KVM support for
970...

-- 
Hollis Blanchard
IBM Linux Technology Center

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2008-12-01 17:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-01 14:08 Compiling error : ppc440_bamboo.o fails Giuseppe Falsetti
     [not found] ` <4933EFDD.8000709-qgsxNw1iPWg@public.gmane.org>
2008-12-01 17:34   ` Hollis Blanchard [this message]

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=1228152879.14874.24.camel@localhost.localdomain \
    --to=hollisb-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \
    --cc=giuseppe-qgsxNw1iPWg@public.gmane.org \
    --cc=kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.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