Re: build error

Alexander Graf
2010-01-03T02:09:56Z

Hi Marcelo,

On 30.12.2009, at 16:40, Giuseppe Falsetti wrote:

> Hi,
> I get this error when compile the git tree virt/kvm/kvm.git next
>
> My machine is a Xserve G5 DUAL processor, Lenny with gcc-4.3.2
>
> HOSTCC scripts/bin2c
> HOSTLD scripts/mod/modpost
> CALL scripts/checksyscalls.sh
> <stdin>:1523:2: warning: #warning syscall recvmmsg not implemented
> CC init/main.o
> HOSTCC usr/gen_init_cpio
>
> [...]
>
> LD arch/powerpc/platforms/built-in.o
> CC arch/powerpc/kernel/pci_dn.o
> LD arch/powerpc/math-emu/built-in.o
> CC arch/powerpc/kernel/isa-bridge.o
> CC arch/powerpc/kvm/book3s_64_exports.o
> CC arch/powerpc/kernel/pci-common.o
> CC arch/powerpc/kvm/../../../virt/kvm/kvm_main.o
> CC arch/powerpc/kernel/pci_of_scan.o
> CC arch/powerpc/kvm/../../../virt/kvm/coalesced_mmio.o
> CC arch/powerpc/kvm/powerpc.o
> CC arch/powerpc/kernel/msi.o
> CC arch/powerpc/kernel/machine_kexec.o
> CC arch/powerpc/kvm/emulate.o
> CC arch/powerpc/kernel/crash.o
> CC arch/powerpc/kvm/book3s.o
> cc1: warnings being treated as errors
> arch/powerpc/kvm/book3s.c: In function 'kvm_vm_ioctl_get_dirty_log':
> arch/powerpc/kvm/book3s.c:860: error: passing argument 1 of 'down_write' from incompatible pointer type
> arch/powerpc/kvm/book3s.c:868: error: assignment from incompatible pointer type
> arch/powerpc/kvm/book3s.c:882: error: passing argument 1 of 'up_write' from incompatible pointer type

Apparently your recent memslot changes broke PowerPC. I've seen you adjusted x86, ia64 and s390. Is there any reason you've missed out on PPC?

Alex