qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>,
	Peter Maydell <peter.maydell@linaro.org>
Cc: Rasmus Villemoes <rv@rasmusvillemoes.dk>,
	QEMU Developers <qemu-devel@nongnu.org>,
	Michael Karcher <debian@mkarcher.dialup.fu-berlin.de>,
	James Clarke <jrtc27@jrtc27.com>,
	Laurent Vivier <laurent@vivier.eu>,
	Adhemerval Zanella <adhemerval.zanella@linaro.com>
Subject: Re: [Qemu-devel] glibc "linux: spawni.c: simplify error reporting to parent" breaks qemu-user/Windows Service For Linux
Date: Mon, 27 Nov 2017 14:25:55 -0200	[thread overview]
Message-ID: <3baaf549-b67c-4c36-f96c-8fb8f21c1a36@linaro.org> (raw)
In-Reply-To: <35cfeff9-fd4f-ea38-5eaf-c9e7bb7d0428@physik.fu-berlin.de>



On 27/11/2017 14:10, John Paul Adrian Glaubitz wrote:
> On 11/27/2017 05:07 PM, Adhemerval Zanella wrote:> However I am not very compelled to change internal posix_spawn
>> on GLIBC on Linux mainly because it uses a slight less resources
>> than the generic POSIX one (check e83be730910c) and it works
>> on Linux kernel as expected.
> 
> But it breaks QEMU and Microsoft Windows Services for Linux who -
> combined together - are certainly not a small number of users.

You can bring this to libc-alpha, but I am not sure how other 
maintainers will see to limit the possible Linux API glibc can use 
because of potentially unsupported semantics of non default emulation 
layers.

I personally do not see it a good precedence because we can't really
foretell what kind of kernel ABI or semantic the non default 
emulation runtime will support or not, so we can't really plan to 
set what will break or not depending of the underlying emulation.

> 
> Isn't there any workaround we can use for the time being?
> 
> Adrian
> 

Maybe recompile glibc with the posix implementation instead of the
Linux one. If I recall correctly it should be a workable replacement.

      reply	other threads:[~2017-11-27 16:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-26 20:28 [Qemu-devel] glibc "linux: spawni.c: simplify error reporting to parent" breaks qemu-user/Windows Service For Linux John Paul Adrian Glaubitz
2017-11-26 20:35 ` John Paul Adrian Glaubitz
2017-11-27 11:57   ` Adhemerval Zanella
2017-11-27 15:24     ` Peter Maydell
2017-11-27 16:07       ` Adhemerval Zanella
2017-11-27 16:10         ` John Paul Adrian Glaubitz
2017-11-27 16:25           ` Adhemerval Zanella [this message]

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=3baaf549-b67c-4c36-f96c-8fb8f21c1a36@linaro.org \
    --to=adhemerval.zanella@linaro.org \
    --cc=adhemerval.zanella@linaro.com \
    --cc=debian@mkarcher.dialup.fu-berlin.de \
    --cc=glaubitz@physik.fu-berlin.de \
    --cc=jrtc27@jrtc27.com \
    --cc=laurent@vivier.eu \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=rv@rasmusvillemoes.dk \
    /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).