Hi,
steven.see...@frontier.com wrote,

> All,
> 
> mq_timedreceive() returns ETIMEDOUT (110) on a timeout instead of -1 and errno
> set to -ETIMEDOUT. This has been observed most recently on ppc32 and a year or
> so ago on a little-endian arm board.
> 
> Any thoughts?

What ppc32 board are you using?
Can you try following patch:

diff --git a/libc/sysdeps/linux/powerpc/sysdep.h
b/libc/sysdeps/linux/powerpc/sysdep.h
index c512c5a..9261174 100644
--- a/libc/sysdeps/linux/powerpc/sysdep.h
+++ b/libc/sysdeps/linux/powerpc/sysdep.h
@@ -258,11 +258,6 @@
   ENTRY (name) \
     DO_CALL (SYS_ify (syscall_name));
 
-#define PSEUDO_RET_ERRVAL \
-    blr
-#undef ret_ERRVAL
-#define ret_ERRVAL PSEUDO_RET_ERRVAL
-
 #undef PSEUDO_END_ERRVAL
 #define        PSEUDO_END_ERRVAL(name) \
   END (name)

Similar to the ARM fix.

best regards
 Waldemar


_______________________________________________
devel mailing list
devel@uclibc-ng.org
http://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel

Reply via email to