Re: gcc 4.5.1 / as 2.20.51.0.11 miscompiling drivers/char/i8k.c ?

From: James Cloos
Date: Sun Nov 14 2010 - 20:26:41 EST


Gcc 4.5.1 running on an amd64 box "cross"-compiling for a P3 i8k fails
to compile the module since commit 6b4e81db2552bad04100e7d5ddeed7e848f53b48
with:

CC drivers/char/i8k.o
drivers/char/i8k.c: In function âi8k_smmâ:
drivers/char/i8k.c:149:2: error: can't find a register in class âGENERAL_REGSâ while reloading âasmâ
drivers/char/i8k.c:149:2: error: âasmâ operand has impossible constraints

-JimC
--
James Cloos <cloos@xxxxxxxxxxx> OpenPGP: 1024D/ED7DAEA6
--
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/