Re: [PATCH v2 04/12] sparc: add missing pthread_spin_lock/pthread_spin_trylock

2014-08-31 Thread Bernhard Reutner-Fischer
On 30 August 2014 20:26:32 CEST, Waldemar Brodkorb w...@openadk.org wrote: Hi Bernhard, Bernhard Reutner-Fischer wrote, On 29 August 2014 08:06:53 CEST, Waldemar Brodkorb w...@openadk.org wrote: Hi Bernhard, Bernhard Reutner-Fischer wrote, On Thu, Aug 28, 2014 at 12:31:22PM +0200, Waldemar

Re: arm: getpid() when creating a new process with clone, getpid() returns a wrong pid.

2014-08-31 Thread Waldemar Brodkorb
HI, wangyufen wrote, Called getpid() When creating a new process with clone(), getpid() returns the father_process's value. It should be child_process's value. I think I see the same bug running the testsuite: http://openadk.org/test/ tst-getpid1 and tst-getpid2 are failing. Any idea for

Re: [PATCH] libpthread: modify CFLAGS-pthread_once.c to avoid earlier setting being replaced

2014-08-31 Thread Waldemar Brodkorb
Hi Yang, Yang Yingliang wrote, I use uclibc in arch arm. The CFLAGS-pthread_once.c has been set to -DNOT_IN_libc -DIS_IN_libpthread in libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch. But it will be replaced by -fexceptions -fasynchronous-unwind-tables in

[PATCH 3/3] ldso: fix compile error for bfin non-mmu

2014-08-31 Thread Waldemar Brodkorb
When compiling for bfin non-mmu, you get following error: ldso/ldso/dl-elf.c:731:18: error: '_dl_debug_file' undeclared (first use in this function) _dl_debug_file is only available when __SUPPORT_LD_DEBUG__ is defined. Signed-off-by: Waldemar Brodkorb w...@openadk.org --- ldso/ldso/dl-elf.c |

[PATCH 2/3] test: skip test for non-mmu case

2014-08-31 Thread Waldemar Brodkorb
Non-mmu targets have no fork(). In the case of vfork(), we can not test communication between parent and child in this way. Signed-off-by: Waldemar Brodkorb w...@openadk.org --- test/librt/shmtest.c | 12 1 file changed, 12 insertions(+) diff --git a/test/librt/shmtest.c

[PATCH 1/3] test: disable test when UCLIBC_HAS_XLOCALE is n

2014-08-31 Thread Waldemar Brodkorb
wcsftime() is only implemented when locale support in uClibc is activated. So test will always fail when locale is deactivated by the user. Rename file name to be consistent with other test file names. Signed-off-by: Waldemar Brodkorb w...@openadk.org --- test/time/Makefile.in| 2 +-

uClibc bug: epoll_pwait broken on OpenWrt x86

2014-08-31 Thread Matthias Schiffer
Hi, I'm posting this on both the OpenWrt and the uClibc lists to hopefully find someone who has an idea how the code in question might ever have worked (if it ever has...). The issue probably affects not only epoll_pwait, but also other syscall6 on i386. It can be seen on all OpenWrt versions