Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* drivers/mtd/nand/orion_nand.c build failure with old ABI
@ 2009-11-11 15:32 Martin Michlmayr
  2009-11-11 15:55 ` Nicolas Pitre
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Michlmayr @ 2009-11-11 15:32 UTC (permalink / raw)
  To: linux-arm-kernel

drivers/mtd/nand/orion_nand.c fails to build when EABI is not set:

  CC      drivers/mtd/nand/orion_nand.o
/tmp/ccDFyfwN.s: Assembler messages:
/tmp/ccDFyfwN.s:120: Error: first destination register must be even -- `ldrd r3,[ip]'
make[3]: *** [drivers/mtd/nand/orion_nand.o] Error 1
make[2]: *** [drivers/mtd/nand] Error 2

-- 
Martin Michlmayr
http://www.cyrius.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* drivers/mtd/nand/orion_nand.c build failure with old ABI
  2009-11-11 15:32 drivers/mtd/nand/orion_nand.c build failure with old ABI Martin Michlmayr
@ 2009-11-11 15:55 ` Nicolas Pitre
  2009-11-12  7:53   ` Simon Kagstrom
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Pitre @ 2009-11-11 15:55 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, 11 Nov 2009, Martin Michlmayr wrote:

> drivers/mtd/nand/orion_nand.c fails to build when EABI is not set:
> 
>   CC      drivers/mtd/nand/orion_nand.o
> /tmp/ccDFyfwN.s: Assembler messages:
> /tmp/ccDFyfwN.s:120: Error: first destination register must be even -- `ldrd r3,[ip]'
> make[3]: *** [drivers/mtd/nand/orion_nand.o] Error 1
> make[2]: *** [drivers/mtd/nand] Error 2

Grrrrr.  Let me think of a workaround.


Nicolas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* drivers/mtd/nand/orion_nand.c build failure with old ABI
  2009-11-11 15:55 ` Nicolas Pitre
@ 2009-11-12  7:53   ` Simon Kagstrom
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Kagstrom @ 2009-11-12  7:53 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, 11 Nov 2009 10:55:43 -0500 (EST)
Nicolas Pitre <nico@fluxnic.net> wrote:

> On Wed, 11 Nov 2009, Martin Michlmayr wrote:
> 
> > drivers/mtd/nand/orion_nand.c fails to build when EABI is not set:
> > 
> >   CC      drivers/mtd/nand/orion_nand.o
> > /tmp/ccDFyfwN.s: Assembler messages:
> > /tmp/ccDFyfwN.s:120: Error: first destination register must be even -- `ldrd r3,[ip]'
> > make[3]: *** [drivers/mtd/nand/orion_nand.o] Error 1
> > make[2]: *** [drivers/mtd/nand] Error 2
> 
> Grrrrr.  Let me think of a workaround.

Interesting problem. I looked in the GCC manual for a matching
constraint to satisfy this, but didn't find anything that seems to fit
right away. SPARC has the

    `U'      Even register

constraint, and perhaps it would be make good sense to have the same
for ARM. Not that it helps right the current situation, but anyway :-)

// Simon

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-11-12  7:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-11 15:32 drivers/mtd/nand/orion_nand.c build failure with old ABI Martin Michlmayr
2009-11-11 15:55 ` Nicolas Pitre
2009-11-12  7:53   ` Simon Kagstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox