[uClibc]Problems with system()/vfork() on PowerPC

Erik Andersen andersen at codepoet.org
Wed Mar 5 10:35:12 UTC 2003

On Tue Mar 04, 2003 at 11:21:17AM +0000, Simon Rowe wrote:
> A colleague of mine is having problems with an application that uses 
> system(). Running the following test application fails on PPC but works on 
> Intel.
> This is a problem with 0.9.18 and 0.9.19, is the PPC vfork() broken?

As a matter of fact, yes it is broken.  I did a bit of testing
this evening and the vfork() system call seems to not actually
work as it should on powerpc.  The glibc maintainers seems to
have noticed this, so glibc simply calls fork() instead.  I have
changed uClibc to now use fork to implement vfork on powerpc.


Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--

More information about the uClibc mailing list