Re: NPTL on ARM isseu with __aeabi_unwind_cpp_pr0

2012-01-11 Thread Carmelo Amoroso
On 05/01/12 14:42, Johannes Stezenbach wrote: On Mon, Dec 12, 2011 at 12:13:49PM +0100, Johannes Stezenbach wrote: On Thu, Dec 01, 2011 at 08:58:24AM +0100, Carmelo AMOROSO wrote: On 01/12/2011 6.29, Khem Raj wrote: On (29/11/11 17:05), Johannes Stezenbach wrote: static linking on ARM with

Conformance of the system() call

2012-01-11 Thread Richard Braun
Hello, It looks like the system() function as used with linuxthreads (or on sparc) doesn't block SIGCHLD but resets the default handler instead, which may result in lost signals if a custom handler was installed. Attached is a small source file that demonstrates the issue. A patch will follow as

[PATCH] libc: make system() block SIGCHLD

2012-01-11 Thread Richard Braun
When built with an old thread implementation (or for a sparc target), the implementation of the system() function doesn't conform to its specification. Namely, it resets the SIGCHLD handler to its default instead of blocking the signal, which may result in lost signals if a custom handler was