you pointer to the 4a2cb7b817 help! We had -lrtdk before -
lpthread -lpthread_rt in our compile statement. Just in 2.4.8, this
seems to make no difference.
On Nov 2, 2009, at 10:42, Stefan Schaal wrote:
> Hi Jan,
> we updated the git on Oct. 29 (3 days ago). We do use the posix
> skin, i.e., we use the xeno-config --posix-ldflags. This worked all
> fine without mode switches under Xenomai 2.4.8. My git does include
> 4a2cb7b817. I will try to reproduce the error in a test program.
> On Nov 1, 2009, at 23:43, Jan Kiszka wrote:
>> Stefan Schaal wrote:
>>> I am working with the latest xenomai-head tree (we need analogy for
>>> our NI board ...). Under Xenomai 2.4.8 our code did not have any
>>> switches. Using the xenomai-head, we get a lot of mode switches.
>>> he backtrace_symbols_fd, we get print-outs like:
>>> Which indicates that the wrapper for clock_gettime causes this
>>> trouble, which is also confirmed by commenting clock_gettime out,
>>> the mode switches disappear.
>>> Maybe something that needs fixing?
>> Do you wrap & link against the POSIX library, ie. use that skin as
>> If not, your code is actually using clock_gettime incorrectly as it
>> falls back to the Linux service which can trigger syscalls (or even
>> deadlocks when the TSC is used).
>> If you do use libpthread_rt, then my next question is if your work is
>> based on today's git head or some older version not including
Xenomai-core mailing list