lkml.org 
[lkml]   [2012]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Current kernel fails to compile with KVM on PowerPC
    Alexander Graf hat am Mon 20. Feb, 22:27 (+0100) geschrieben:
    > On 20.02.2012, at 18:38, Jörg Sommer wrote:
    > > Alexander Graf hat am Tue 22. Nov, 22:29 (+0100) geschrieben:
    > >> On 22.11.2011, at 21:04, Jörg Sommer wrote:
    > >>> [1] »kernel BUG at include/linux/kvm_host.h:603!«
    > >>> http://www.mail-archive.com/kvm@vger.kernel.org/msg61433.html
    > >>
    > >> This is unfortunately still there. It's because of preemption being
    > >> enabled. Please just use CONFIG_PREEMPT_NONE for the time being
    > >
    > > This doesn't help. I've build with CONFIG_PREEMPT_NONE, but I'm getting
    > > this Oops, when I start qemu.
    >
    > Could you please try git://git.kernel.org/pub/scm/virt/kvm/kvm.git? I
    > fixed a bunch of things with preemption since then and it definitely
    > worked for me. If it still fails in that tree, I can try again to
    > reproduce it :).

    This kernel (e9badff4b38a3f8b2c20aa8a30db210caf85a497) fails to build:

    CC [M] arch/powerpc/kvm/book3s_pr.o
    arch/powerpc/kvm/book3s_pr.c: In function ‘kvm_vcpu_ioctl_get_one_reg’:
    arch/powerpc/kvm/book3s_pr.c:883:45: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
    arch/powerpc/kvm/book3s_pr.c:883:80: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
    arch/powerpc/kvm/book3s_pr.c:883:284: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
    arch/powerpc/kvm/book3s_pr.c:883:327: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
    arch/powerpc/kvm/book3s_pr.c:883:459: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
    arch/powerpc/kvm/book3s_pr.c:883:748: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
    arch/powerpc/kvm/book3s_pr.c:883:1112: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
    arch/powerpc/kvm/book3s_pr.c:883:1476: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
    arch/powerpc/kvm/book3s_pr.c:883:1867: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
    arch/powerpc/kvm/book3s_pr.c: In function ‘kvm_vcpu_ioctl_set_one_reg’:
    arch/powerpc/kvm/book3s_pr.c:898:79: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
    arch/powerpc/kvm/book3s_pr.c:898:114: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
    arch/powerpc/kvm/book3s_pr.c:898:319: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
    arch/powerpc/kvm/book3s_pr.c:898:364: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
    arch/powerpc/kvm/book3s_pr.c:898:502: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
    arch/powerpc/kvm/book3s_pr.c:898:591: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
    arch/powerpc/kvm/book3s_pr.c:898:2061: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
    cc1: all warnings being treated as errors
    make[3]: *** [arch/powerpc/kvm/book3s_pr.o] Fehler 1
    make[2]: *** [arch/powerpc/kvm] Fehler 2
    make[2]: *** Warte auf noch nicht beendete Prozesse...

    Schöne Grüße, Jörg.
    --
    Manchmal denke ich, das sicherste Indiz dafür, daß anderswo im Universum
    intelligentes Leben existiert, ist, daß niemand versucht hat, mit uns
    Kontakt aufzunehmen. (Calvin und Hobbes)
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2012-02-21 09:37    [W:0.027 / U:124.800 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site