Re: Paravirt compile failure with gcc33

From: Jeremy Fitzhardinge
Date: Wed Feb 10 2010 - 13:47:49 EST


On 02/10/2010 10:13 AM, Jan Engelhardt wrote:
As I was compile-testing 2.6.33-rc with gcc-3.3,
binutils-2.19.51-10.26.4.x86_64, I observed a failure when
CONFIG_PARAVIRT is turned on:

Yeah, there's a gcc bug of some kind there, and its very hard to see how to work around it. When we last discussed this, I think we were close to deciding to obsolete gcc 3.3.

HPA, do you remember?

J


[any file]
/home/jengelh/code/linux/arch/x86/include/asm/paravirt.h: In function
`rif_seq_stop':
/home/jengelh/code/linux/arch/x86/include/asm/paravirt.h:763: warning:
asm operand 5 probably doesn't match constraints
/home/jengelh/code/linux/arch/x86/include/asm/paravirt.h:858: warning:
asm operand 2 probably doesn't match constraints
/home/jengelh/code/linux/arch/x86/include/asm/paravirt.h:763: error:
impossible constraint in `asm'
/home/jengelh/code/linux/arch/x86/include/asm/paravirt.h:858: error:
impossible constraint in `asm'

Disabling either PARAVIRT or using GCC4.x works around this.
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/virtualization


--
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/