All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] build fails with "more than 10 operands in `asm'"
@ 2006-02-01 19:13 Gary Wallace
  0 siblings, 0 replies; 3+ messages in thread
From: Gary Wallace @ 2006-02-01 19:13 UTC (permalink / raw)
  To: xenomai

  I have tried building both xenomai 2.0.3 and 2.1-rc2 but receive the
following compilation error for both versions:

xenomai-2.0.3/skins/native/lib/task.c: In function `rt_task_send':
xenomai-2.0.3/skins/native/lib/task.c:354: more than 10 operands in `asm'

  I'm using a cross compiler (gcc 2.95.3 from
http://www.kegel.com/crosstool/), the target is ppc and the host
machine is i386 linux.  The target kernel is version 2.6.14.6 with
i-pipe version 1.1-02.

  What am I doing wrong and how can I fix this???

Thanks,
Gary


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

* RE: [Xenomai-help] build fails with "more than 10 operands in `asm'"
@ 2006-02-01 19:29 Fillod Stephane
  2006-02-03  0:29 ` Jim Cromie
  0 siblings, 1 reply; 3+ messages in thread
From: Fillod Stephane @ 2006-02-01 19:29 UTC (permalink / raw)
  To: wallace, xenomai

Gary Wallace wrote:
>  I have tried building both xenomai 2.0.3 and 2.1-rc2 but receive the
>following compilation error for both versions:
>
>xenomai-2.0.3/skins/native/lib/task.c: In function `rt_task_send':
>xenomai-2.0.3/skins/native/lib/task.c:354: more than 10 operands in
`asm'

IIRC, this is a limitation of an old binutils. You may solve this by
either upgrading to a more recent binutils or split the asm block.

BTW, what is the minimum gcc/binutils version recommended by the Xenomai

project? Is it documented somewhere?

>  I'm using a cross compiler (gcc 2.95.3 from
>http://www.kegel.com/crosstool/), the target is ppc and the host
>machine is i386 linux.  The target kernel is version 2.6.14.6 with
>i-pipe version 1.1-02.

If GNU libc is okay for you and you don't depend on uClibc, you may
consider
the excellent ELDK 3.1.1 with GCC 3.3.3, or the shiny new ELDK 4.0 with 
GCC 4 [1].

[1] http://www.denx.de/en/News/PressReleaseELDK40


Cheers,
-- 
Stephane



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

* Re: [Xenomai-help] build fails with "more than 10 operands in `asm'"
  2006-02-01 19:29 [Xenomai-help] build fails with "more than 10 operands in `asm'" Fillod Stephane
@ 2006-02-03  0:29 ` Jim Cromie
  0 siblings, 0 replies; 3+ messages in thread
From: Jim Cromie @ 2006-02-03  0:29 UTC (permalink / raw)
  To: Fillod Stephane; +Cc: xenomai

Fillod Stephane wrote:
>
> BTW, what is the minimum gcc/binutils version recommended by the Xenomai
>
> project? Is it documented somewhere?
>
>   
xeno-info says this:


PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:$PATH
echo 'If some fields are empty or look unusual you may have an old version.'
echo 'Compare to the current minimal requirements in Documentation/Changes.'
echo ' '

I havent verified that


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

end of thread, other threads:[~2006-02-03  0:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-01 19:29 [Xenomai-help] build fails with "more than 10 operands in `asm'" Fillod Stephane
2006-02-03  0:29 ` Jim Cromie
  -- strict thread matches above, loose matches on Subject: below --
2006-02-01 19:13 Gary Wallace

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.