On 07/08/2011 04:44 PM, Gilles Chanteperdrix wrote: > On 07/08/2011 04:06 PM, Anders Blomdell wrote: >> On 07/08/2011 02:41 PM, Gilles Chanteperdrix wrote: >>> On 07/07/2011 11:47 PM, Anders Blomdell wrote: >>>> When compiling kernel 2.6.37.3 and xenomai 2.5.6 with "gcc version 4.6.0 >>>> 20110530 (Red Hat 4.6.0-9) (GCC)", programs fail with -ENOSYS in >>>> rt_task_shadow. If compiled with "gcc version 4.5.1 20100924 (Red Hat >>>> 4.5.1-4) (GCC)" everything works as expected. >>> >>> Could you send us the disassembly of the two functions? >> Which functions? Print[fk] debugging got me to suspect the >> syscall/skin_mux interface, but I'm a bit at loss of exactly where the >> code ends up. > > The two rt_task_shadow, the one which works, and the one which does not. Ok, attached the two routines taken from respective libnative.so.3 Will try to recompile with gcc-4.6.1 as well. /Anders -- Anders Blomdell Email: anders.blomdell@domain.hid Department of Automatic Control Lund University Phone: +46 46 222 4625 P.O. Box 118 Fax: +46 46 138118 SE-221 00 Lund, Sweden