Yes that worked. Thanks.
This board is an mpc8347 based board. (e300c1)
I've also seen this issue recently on a ppc405 (virtex4)
Steven
 

    On Thursday, January 19, 2017 1:56 AM, Waldemar Brodkorb 
<w...@uclibc-ng.org> wrote:
 

 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