2.6.32-rc6-git3 paravirt compile problems

From: Alex
Date: Sun Nov 08 2009 - 21:39:18 EST


Hi,

I'm using glibc-2.6.3, gcc-3.4.4 and having problems compiling
2.6.32-rc6-git3 when selecting CONFIG_PARAVIRT_GUEST. This affects
both XEN and KVM options, or each indivdually.

CC init/main.o
/usr/src/linux-2.6.32-rc6-git3/arch/x86/include/asm/paravirt.h: In
function `start_kernel':
/usr/src/linux-2.6.32-rc6-git3/arch/x86/include/asm/paravirt.h:853:
warning: asm operand 2 probably doesn't match constraints
/usr/src/linux-2.6.32-rc6-git3/arch/x86/include/asm/paravirt.h:853:
warning: asm operand 2 probably doesn't match constraints
/usr/src/linux-2.6.32-rc6-git3/arch/x86/include/asm/paravirt.h:858:
warning: asm operand 2 probably doesn't match constraints
/usr/src/linux-2.6.32-rc6-git3/arch/x86/include/asm/paravirt.h:853:
error: impossible constraint in `asm'
/usr/src/linux-2.6.32-rc6-git3/arch/x86/include/asm/paravirt.h:853:
error: impossible constraint in `asm'
/usr/src/linux-2.6.32-rc6-git3/arch/x86/include/asm/paravirt.h:858:
error: impossible constraint in `asm'
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2

I've seen many references to this same error with older versions of
gcc going back quite a bit. Am I doing something wrong, or has this
problem not yet been addressed?

Is there something I can do to properly configure KVM on later kernels
with gcc-3.4.4, or would I be advised to upgrade?

Thanks,
Alex
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/