Re: [Qemu-devel] [PATCH] qemu: Fix cross compilation for mipsel

2013-08-28 Thread James Hogan
On 27/08/13 19:39, Richard Henderson wrote: > 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 th

Re: [Qemu-devel] [PATCH] qemu: Fix cross compilation for mipsel

2013-08-27 Thread Richard Henderson
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

[Qemu-devel] [PATCH] qemu: Fix cross compilation for mipsel

2013-08-27 Thread James Hogan
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, dete