Re: [patch] sparc: fix build

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Balbir Singh
Date: Monday, February 11, 2008 - 2:37 am

David Rientjes wrote:

This patch allowed my sparc cross compiler to build beyond mm/memcontrol.o, but
I faced a build issue at

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 66 2379 2236 2 drivers/net/e1000e/netdev.c:2459 (set (reg:DI 487 [ D.34076 ])
        (mem/s/j:DI (plus:SI (reg/v/f:SI 11 %o3 [orig:492 adapter ] [492])
                (reg:SI 7 %g7 [514])) [0 <variable>.stats.gprc+0 S8 A128])) 45
{*movdi_insn_sp32} (insn_list:REG_DEP_TRUE 65 (insn_list:REG_DEP_ANTI 32 (nil)))
    (expr_list:REG_EQUIV (mem/s/j:DI (plus:SI (reg/v/f:SI 11 %o3 [orig:492
adapter ] [492])
                (reg:SI 7 %g7 [514])) [0 <variable>.stats.gprc+0 S8 A128])
        (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

So for the problem reported

Tested-by: Balbir Singh <balbir@linux.vnet.ibm.com>

-- 
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
sparc compile error, Adrian Bunk, (Thu Feb 7, 4:12 pm)
Re: sparc compile error, David Rientjes, (Thu Feb 7, 4:38 pm)
Re: sparc compile error, Martin Habets, (Sun Feb 10, 8:33 am)
Re: sparc compile error, David Rientjes, (Sun Feb 10, 12:19 pm)
Re: sparc compile error, Robert Reif, (Sun Feb 10, 2:44 pm)
[patch] sparc: fix build, David Rientjes, (Sun Feb 10, 4:30 pm)
Re: [patch] sparc: fix build, Balbir Singh, (Mon Feb 11, 2:37 am)
Re: [patch] sparc: fix build, Andrew Morton, (Tue Feb 12, 7:46 pm)
Re: [patch] sparc: fix build, Al Viro, (Tue Feb 12, 7:57 pm)
Re: [patch] sparc: fix build, Andrew Morton, (Tue Feb 12, 8:08 pm)