lkml.org 
[lkml]   [2012]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: arm build failures (Was: linux-next: triage for March 13, 2012)
On Wed, Mar 14, 2012 at 11:41:15AM +1100, Stephen Rothwell wrote:
> On Tue, 13 Mar 2012 19:47:07 -0400 Paul Gortmaker <paul.gortmaker@windriver.com> 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".

Just for reference I build that code with:
arm-unknown-linux-gnueabi-gcc (GCC) 4.5.2, GNU ld (GNU Binutils) 2.21
and it was fine so I don't think it's to do with the switch from
arm-linux-gcc to arm-unknown-linux-gnueabi-gcc[1]

Yours Tony

[1] This switchwas done as a result off the discussion at: http://lists.infradead.org/pipermail/linux-arm-kernel/2010-November/030627.html
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2012-03-14 05:33    [W:0.030 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site