All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Richard Cochran <richard.cochran@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Strange results with ARM EABI, gcc 4.3.2
Date: Sat, 18 Jul 2009 12:15:41 +0200	[thread overview]
Message-ID: <4A61A0CD.6010607@domain.hid> (raw)
In-Reply-To: <899865CA54E4444DAF2E3639C04C5F4806005D@trillian.at.omicron.at>

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.


      reply	other threads:[~2009-07-18 10:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A61A0CD.6010607@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=richard.cochran@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.