Hi! When running a ia32 application on x86_64 I get bad syscall errors. This happens with ipipe-core-4.14.89-x86-2.patch and xenomai 3.0.8.
The problem seems to be that both ipipe_handle_syscall() and handle_head_syscall() check for syscall-nr being >= NR_syscalls. On ia32 the syscall table is larger and therefore the check is wrong. So the code has to check the TS_COMPAT flag and then compare either to NR_syscalls or IA32_NR_syscalls. I gave this already a short try and things seem to work better. -- Thanks, //richard