arm build failures (Was: linux-next: triage for March 13, 2012)
From: Stephen Rothwell
Date: Tue Mar 13 2012 - 20:41:26 EST
On Tue, 13 Mar 2012 19:47:07 -0400 Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxxxxxxxx
Attachment:
pgp00000.pgp
Description: PGP signature