From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1To4m4-0004IX-81 for qemu-devel@nongnu.org; Wed, 26 Dec 2012 23:08:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1To4m3-0004GQ-7v for qemu-devel@nongnu.org; Wed, 26 Dec 2012 23:08:52 -0500 Received: from speedy.comstyle.com ([2001:470:1d:8c::2]:17243 helo=mail.comstyle.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1To4m3-0004EP-45 for qemu-devel@nongnu.org; Wed, 26 Dec 2012 23:08:51 -0500 Date: Wed, 26 Dec 2012 23:08:23 -0500 From: Brad Smith Message-ID: <20121227040822.GC31286@rox.home.comstyle.com> References: <20121225211212.2307.81304.malonedeb@chaenomeles.canonical.com> <20121225211212.2307.81304.malonedeb@chaenomeles.canonical.com> <50DB3A1A.4000204@twiddle.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50DB3A1A.4000204@twiddle.net> Subject: Re: [Qemu-devel] [Bug 1093691] [NEW] QEMU build fails on OpenBSD/mips64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: Bug 1093691 <1093691@bugs.launchpad.net>, qemu-devel@nongnu.org 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.