All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: James Hogan <james.hogan@imgtec.com>
Cc: "Sanjay Lal" <sanjayl@kymasys.com>,
	"Mike Frysinger" <vapier@gentoo.org>,
	qemu-devel@nongnu.org, "Andreas Färber" <afaerber@suse.de>
Subject: Re: [Qemu-devel] [PATCH] qemu: Fix cross compilation for mipsel
Date: Tue, 27 Aug 2013 11:39:54 -0700	[thread overview]
Message-ID: <521CF27A.1070607@twiddle.net> (raw)
In-Reply-To: <1377619333-16062-1-git-send-email-james.hogan@imgtec.com>

On 08/27/2013 09:02 AM, James Hogan wrote:
> The configure script was setting HOST_WORDS_BIGENDIAN for all $cpu =
> mips|mips64 when cross compiling, since endianness cannot be detected by
> running a test program. This includes little endian MIPS though. It
> didn't cause any build errors but does prevent QEMU from working
> correctly. Instead, detect the endianness similar to how we do for ARM,
> by checking for the __MIPSEB__ builtin processor definition.
> 
> This is from a hunk in the "[PATCH 8/12] KVM/MIPS: Enable KVM/MIPS for
> MIPS targets. Add MIPS GIC code to the build" patch by Sanjay Lal [1].

Redundant with Mike Frysinger's more general patch,

http://patchwork.ozlabs.org/patch/256001/


r~

  reply	other threads:[~2013-08-27 18:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-27 16:02 [Qemu-devel] [PATCH] qemu: Fix cross compilation for mipsel James Hogan
2013-08-27 18:39 ` Richard Henderson [this message]
2013-08-28  8:25   ` James Hogan

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=521CF27A.1070607@twiddle.net \
    --to=rth@twiddle.net \
    --cc=afaerber@suse.de \
    --cc=james.hogan@imgtec.com \
    --cc=qemu-devel@nongnu.org \
    --cc=sanjayl@kymasys.com \
    --cc=vapier@gentoo.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.