[Top][All Lists]

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

Re: [Qemu-devel] qemu-ppc can't run static uClibc binaries.

From: Aurelien Jarno
Subject: Re: [Qemu-devel] qemu-ppc can't run static uClibc binaries.
Date: Sun, 28 Feb 2010 22:05:25 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Tue, Feb 16, 2010 at 08:21:45AM +0000, Stuart Brady wrote:
> On Mon, Feb 15, 2010 at 12:19:24PM +0100, Alexander Graf wrote:
> > So what you really want is something like
> > 
> > /* exec return value is always 0 */
> > env->gpr[3] = 0;
> > #endif
> > 
> > just after the #endif in your patch. If you had inlined your patch I 
> > could've commented it there.
> I've clearly misunderstood something, but isn't CONFIG_LINUX_USER always
> going to be defined when building linux-user/elfload.c, and doesn't 
> CONFIG_BSD relate to the host that you're building for, not the target?

Yes, CONFIG_LINUX_USER will always be defined in linux-user/elfload.c,
while CONFIG_BSD_USER will always be defined in bsd-user/elfload.c. The
same way using CONFIG_BSD in linux-user/elfload.c doesn't make sense,
as this code will never been compiled.

> I can't remember whether Jocelyn was interested in running BSD binaries
> under Linux or under BSD.  The former seems reasonable, although even if
> that did work for PPC at one point, I doubt that's still the case...

That's sound strange, if you do that I think you will need to use the
bsd-user code, not the linux-user code.

I have to say I don't really understand the reason why this BSD code is

Aurelien Jarno                          GPG: 1024D/F1BCDB73
address@hidden                 http://www.aurel32.net

reply via email to

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