Compile fails with  gcc-4.5.1  on Fedora 14.

log shows...
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CC [M]  arch/x86/kvm/mmu.o
arch/x86/kvm/mmu.c: In function ���kvm_mmu_pte_write���:
arch/x86/kvm/mmu.c:4219:3: error: unknown field ���cr0_wp��� specified
in initializer
arch/x86/kvm/mmu.c:4220:3: error: unknown field ���cr4_pae��� specified
in initializer
arch/x86/kvm/mmu.c:4220:3: warning: excess elements in union initializer
arch/x86/kvm/mmu.c:4220:3: warning: (near initialization for
���(anonymous)���)
arch/x86/kvm/mmu.c:4221:3: error: unknown field ���nxe��� specified in
initializer
arch/x86/kvm/mmu.c:4221:3: warning: excess elements in union initializer
arch/x86/kvm/mmu.c:4221:3: warning: (near initialization for
���(anonymous)���)
arch/x86/kvm/mmu.c:4222:3: error: unknown field ���smep_andnot_wp���
specified in initializer
arch/x86/kvm/mmu.c:4222:3: warning: excess elements in union initializer
arch/x86/kvm/mmu.c:4222:3: warning: (near initialization for
���(anonymous)���)
arch/x86/kvm/mmu.c:4223:3: error: unknown field ���smap_andnot_wp���
specified in initializer
arch/x86/kvm/mmu.c:4223:3: warning: excess elements in union initializer
arch/x86/kvm/mmu.c:4223:3: warning: (near initialization for
���(anonymous)���)
make[2]: *** [arch/x86/kvm/mmu.o] Error 1
make[1]: *** [arch/x86/kvm] Error 2
make: *** [arch/x86] Error 2

All previous versions including Linux 4.1-rc[234] compiled
successfully.

I cleaned cache too:  ccache -C, no help.

Do I need to upgrade Fedora or is gcc 4.5.1 supposed to work?

Thanks,
Don


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to