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

From: Paul Gortmaker
Date: Tue Mar 13 2012 - 20:52:15 EST


[PG: adding netdev to CC list]

On Tue, Mar 13, 2012 at 8:41 PM, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/