qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: michael <michael@evidence.eu.com>
To: qemu-devel@nongnu.org
Cc: Lubomir Kundrak <lkundrak@redhat.com>
Subject: [Qemu-devel] Re: User mode emulation's clone does not seem to work with glibc >= 2.4's fork
Date: Mon, 30 Jun 2008 18:57:06 +0200	[thread overview]
Message-ID: <48691062.6090905@evidence.eu.com> (raw)
In-Reply-To: <200804291455.34374.paul@codesourcery.com>

Hi,

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.
> 
> Paul
> 
> 
>
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.

Regards Michael

  reply	other threads:[~2008-06-30 16:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-29 13:10 [Qemu-devel] User mode emulation's clone does not seem to work with glibc >= 2.4's fork Lubomir Kundrak
2008-04-29 13:55 ` Paul Brook
2008-06-30 16:57   ` michael [this message]
2008-06-30 19:23   ` [Qemu-devel] " michael
2008-06-30 19:55   ` michael

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48691062.6090905@evidence.eu.com \
    --to=michael@evidence.eu.com \
    --cc=lkundrak@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).