[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling the kernel with the new gcc - help

* Gordon Russell said:
> I have compiled the kernel many times in the past, but now I am really stuck...
> I am getting messages like:
> seagate.c: In function `internal_command':
> seagate.c:1252: Invalid `asm' statement:
> seagate.c:1252: fixed or forbidden register 3 (bx) was spilled for class BREG.
> I am using kernel 2.2.10, and the new gcc 2.95-1.
> I changed the CFLAGS to have -fno-strict-aliasing, as advised in the README.
> Any thoughts?
You might want to mark the offending code as volatile, and DO NOT under any
circumstances remove the -fno-strict-aliasing option.


Attachment: pgptoRTSrAoLd.pgp
Description: PGP signature

Reply to: