Re: pktgen -- arm build failures (Was: linux-next: triage for March 13, 2012)

From: Paul Gortmaker <hidden>
Date: 2012-03-14 00:52:17
Also in: linux-next, lkml

[PG: adding netdev to CC list]

On Tue, Mar 13, 2012 at 8:41 PM, Stephen Rothwell [off-list ref] wrote:
On Tue, 13 Mar 2012 19:47:07 -0400 Paul Gortmaker [off-list ref] wrote:
quoted
ARM:netx_defconfig,pnx4008_defconfig
      when:   Mar 14, 02:43
      why:    net/core/pktgen.c: can't find a register in class 'GENERAL_REGS'
      status:
      fix:
      ref:    http://kisskb.ellerman.id.au/kisskb/buildresult/5869486/
This is this:

net/core/pktgen.c:682:2775: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
net/core/pktgen.c:682:3153: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
net/core/pktgen.c:682:2775: error: 'asm' operand has impossible constraints
net/core/pktgen.c:682:3153: error: 'asm' operand has impossible constraints

Which is a do_div() call.  The relevant code does not appear to have
changed, so this may well be a result of our toolchain changing from
"arm-linux-gcc (GCC) 4.4.0, GNU ld (GNU Binutils) 2.19.1" to
"arm-unknown-linux-gnueabi-gcc (GCC) 4.6.3, GNU ld (GNU Binutils) 2.22".

Anyone have any thoughts?
--
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help