qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [Bug 1093691] [NEW] QEMU build fails on OpenBSD/mips64


From: Brad Smith
Subject: Re: [Qemu-devel] [Bug 1093691] [NEW] QEMU build fails on OpenBSD/mips64
Date: Wed, 26 Dec 2012 23:08:23 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Dec 26, 2012 at 09:55:38AM -0800, Richard Henderson wrote:
> On 12/25/2012 01:12 PM, Brad Smith wrote:
> > Public bug reported:
> > 
> > Building QEMU 1.2.1 on OpenBSD/mips64 fails as follows although I
> > believe QEMU was also broken with 1.1.x as well..
> ...
> > In file included from /usr/obj/ports/qemu-1.2.1/qemu-1.2.1/tcg/tcg.c:50:
> > /usr/obj/ports/qemu-1.2.1/qemu-1.2.1/tcg/tcg-op.h: In function 
> > 'tcg_gen_div_i64':
> > /usr/obj/ports/qemu-1.2.1/qemu-1.2.1/tcg/tcg-op.h:1229: error: 
> > 'TCG_TARGET_HAS_div_i64' undeclared (first use in this function)
> 
> The tcg/mips target only supports mips32.
> 
> In order to build on mips64 you'll need to use the interpreter backend,
> configurable with --enable-tcg-interpreter.
> 
> We could be more clever and enable this by default for mips64...

Strange. It was building with older releases and I'm fairly certain what
was built actually ran Ok. Looking at the MIPS TCG code it looks as if
there is some code in there to deal with 32-bit vs 64-bit MIPS.

Anyway, if the MIPS TCG code does not officially support 64-bit MIPS
then the build infrastructure should be fixed to not shoot people in
the feet trying to build QEMU. The 32-bit SPARC support needs to be
fixed too.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




reply via email to

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