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

appropriate compiler for kernel



Hi,

I use some kernel patches that cause trouble for the standard
debian compiler.  The particular errors are like:

  utime.c: In function `update_jiffies_u':
  /usr/src/linux/include/asm/mutime-M586.h:73: Invalid `asm'
  statement:
  /usr/src/linux/include/asm/mutime-M586.h:73: fixed or forbidden
  register 0 (ax) was spilled for class AREG.

I am told this is due to the standard gcc being more stringent in
its handling of clobbers within inline asm statements than the old
gcc (2.72).

I don't want to go back to 2.72 and I understand that there is a
redhat package called kgcc which is billed as their standard 
kernel compiler and it is based on egcs 1.1.2.  Does Debian have
a similar package or some other recommended kernel compiler?

Is anyone familiar with the differences between kgcc and the
standard (woody or potato) debian gcc?

thanks,
Stuart



Reply to: