* [Xenomai-core] Strange results with ARM EABI, gcc 4.3.2
@ 2009-07-18 9:50 Richard Cochran
2009-07-18 10:15 ` Gilles Chanteperdrix
0 siblings, 1 reply; 2+ messages in thread
From: Richard Cochran @ 2009-07-18 9:50 UTC (permalink / raw)
To: xenomai
A certain xenomai project on ARM Linux of mine has been working fine
using gcc 3.4.5. I wanted to use a more recent compiler and the EABI,
so I used a default setting from crosstool-NG-1.4.1, which produces
gcc version 4.3.2.
However, I get the following result running the trivial-periodic
example program:
# ./trivial-periodic &
# cat /proc/xenomai/sched
CPU PID PRI PERIOD TIMEOUT TIMEBASE STAT NAME
0 0 -1 0 0 master R ROOT
0 850 99 1000000000 79513195085358725 master D trivial
Looks like I will be waiting a long, long time for the timeout ;^)
Any ideas?
Thanks,
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-core] Strange results with ARM EABI, gcc 4.3.2
2009-07-18 9:50 [Xenomai-core] Strange results with ARM EABI, gcc 4.3.2 Richard Cochran
@ 2009-07-18 10:15 ` Gilles Chanteperdrix
0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2009-07-18 10:15 UTC (permalink / raw)
To: Richard Cochran; +Cc: xenomai
Richard Cochran wrote:
> A certain xenomai project on ARM Linux of mine has been working fine
> using gcc 3.4.5. I wanted to use a more recent compiler and the EABI,
> so I used a default setting from crosstool-NG-1.4.1, which produces
> gcc version 4.3.2.
>
> However, I get the following result running the trivial-periodic
> example program:
>
> # ./trivial-periodic &
> # cat /proc/xenomai/sched
> CPU PID PRI PERIOD TIMEOUT TIMEBASE STAT NAME
> 0 0 -1 0 0 master R ROOT
> 0 850 99 1000000000 79513195085358725 master D trivial
>
> Looks like I will be waiting a long, long time for the timeout ;^)
> Any ideas?
gcc 4.3 has a bug with Xenomai on arm. You should stay with gcc 4.2
(which also has a bug, but we know how to workaround it).
I think I will add a dynamic detection of this bug, print an error
message when it happens and exit.
--
Gilles.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-18 10:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-18 9:50 [Xenomai-core] Strange results with ARM EABI, gcc 4.3.2 Richard Cochran
2009-07-18 10:15 ` Gilles Chanteperdrix
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.