Re: 2.6.19-rc5-mm1 fails to compile with gcc 4.2

From: Segher Boessenkool
Date: Sun Nov 12 2006 - 06:18:40 EST


drivers/kvm/kvm_main.c: In function 'kvm_dev_ioctl_run':
drivers/kvm/kvm_main.c:153: error: 'asm' operand has impossible
constraints drivers/kvm/kvm_main.c:158: error: 'asm' operand has
impossible constraints

Smells like a gcc regression. Can you send .config?

Or better yet, preprocessed source and full gcc command line (as seen on
'make V=1').

Just the function containing those lines (please mark which
lines they are) would do probably.

It does look like a gcc bug -- -O0 makes it go away.
Details at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29808

PR29808 is not a GCC bug, but invalid code.


Segher

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