qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1054831] Re: qemu-user-static for sparc32plus : bash:


From: Dillon Amburgey
Subject: [Qemu-devel] [Bug 1054831] Re: qemu-user-static for sparc32plus : bash: fork: Invalid argument
Date: Fri, 04 Jan 2013 20:13:24 -0000

What I mean is that QEMU isn't compiled with guest support for NPTL on
every architecture.

If you look in the configure script around line 3900, you'll see some
architectures have target_nptl="yes" while others (including sparc) do
not.

Unfortunately it looks like the code isn't complete for sparc support,
so it isn't a simple matter of enabling it in the configure script.

The reason you get "bash: fork: Invalid argument" is because glibc makes
a call to clone() with NPTL arguments that aren't supported.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1054831

Title:
  qemu-user-static for sparc32plus : bash: fork: Invalid argument

Status in QEMU:
  New

Bug description:
  On Debian x86-64 host system I setup a sparc chroot using:

  host $ mkdir sparc 
  host $ sudo debootstrap --arch=sparc --foreign wheezy sparc 
http://ftp.au.debian.org/debian
  host $ sudo cp ~/Git/qemu/sparc32plus-linux-user/qemu-sparc32plus 
sparc/usr/bin/qemu-sparc32plus-static
  host $ LANG=C sudo chroot sparc/ /usr/bin/qemu-sparc32plus-static /bin/bash

  When I then run the second stage of debootstrap I get:

  target $ /debootstrap/debootstrap --second-stage
  bash: fork: Invalid argument

  The above procedures works perfectly for armhf.

  This is with current git HEAD (commit
  93b6599734f81328ee3d608f57667742cafeea72).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1054831/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]