[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: User mode emulation's clone does not seem to work with
[Qemu-devel] Re: User mode emulation's clone does not seem to work with glibc >= 2.4's fork
Mon, 30 Jun 2008 21:23:53 +0200
Thunderbird 22.214.171.124 (X11/20080502)
Paul Brook wrote:
On Tuesday 29 April 2008, Lubomir Kundrak wrote:
I tried to run SH4 binaries linked with glibc-2.8 with qemu-sh4. fork()
system call was always returning with "Invalid argument".
qemu doesn't currently support NPTL. I'm working on it.
I'm working on sh4 to provide an NPTL support. I just force the
NPTL support of sh4 in the configuration and add the cpu_set_tls
using the env->gbr. I have sh:
../nptl/sysdeps/unix/sysv/linux/sh/../fork.c:138: __libc_fork: Assertion
`(self->tid) != ppid this assertion in tforhe libc code. The
child_tidptr is nil, so I can't set the tid for the child. I don't want
to fix this issue but just understand what happen.