Skip to contentSkip to conversation

Register spill error building e1000e driver for 2.6.24.7 and 2.6.25.4 on SPARC32

DISCUSSION Sunil Amitkumar Janki 1 participant 1 message Jun 2, 2008

lore
Share & tools
lore
#0 lore raw

I'm getting the following build error for the Intel e1000e driver while building on SPARC32 for both 2.6.24.7 and 2.6.25.4:

  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  CC [M]  drivers/net/e1000e/netdev.o

drivers/net/e1000e/netdev.c: In function 'e1000e_update_stats':
drivers/net/e1000e/netdev.c:2583: error: unable to find a register to spill in class 'FP_REGS'
drivers/net/e1000e/netdev.c:2583: error: this is the insn:
(insn 285 242 259 5 (set (reg:DI 462 [ <variable>.stats.prc127 ])

        (mem/s/j:DI (plus:SI (reg/v/f:SI 11 %o3 [orig:251 adapter ] [251])
                (reg:SI 27 %i3 [282])) [0 <variable>.stats.prc127+0 S8
A256])) 45 {*movdi_insn_sp32} (nil)
    (expr_list:REG_EQUIV (mem/s/j:DI (plus:SI (reg/v/f:SI 11 %o3
[orig:251 adapter ] [251])
                (reg:SI 27 %i3 [282])) [0 <variable>.stats.prc127+0 S8 A256])
        (expr_list:REG_EQUAL (mem/s/j:DI (plus:SI (reg/v/f:SI 11 %o3
[orig:251 adapter ] [251])
                    (const_int 9216 [0x2400])) [0
<variable>.stats.prc127+0 S8 A256])
            (nil))))

drivers/net/e1000e/netdev.c:2583: confused by earlier errors, bailing out make[3]: *** [drivers/net/e1000e/netdev.o] Error 1
make[2]: *** [drivers/net/e1000e] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

I don't know if this has anything to do with the version of binutils (2.17.50.0.17) or gcc (4.2.3), but I'll try to build on the latest 2.6.26 rc to see if it produces the same error message.

In the meantime I'll build without the driver. The kernel is supposed to run in qemu for SS 5/10 emulation, since I don't have any pre-UltraSPARC hardware yet.

Sunil