From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:34522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIor4-0003Hf-Jy for qemu-devel@nongnu.org; Tue, 25 Oct 2011 17:48:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIor3-0003nQ-G7 for qemu-devel@nongnu.org; Tue, 25 Oct 2011 17:48:18 -0400 Received: from mail-wy0-f173.google.com ([74.125.82.173]:53990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIor3-0003nE-Av for qemu-devel@nongnu.org; Tue, 25 Oct 2011 17:48:17 -0400 Received: by wyh15 with SMTP id 15so1146087wyh.4 for ; Tue, 25 Oct 2011 14:48:16 -0700 (PDT) Sender: Richard Henderson Message-ID: <4EA72E9C.2030208@twiddle.net> Date: Tue, 25 Oct 2011 14:48:12 -0700 From: Richard Henderson MIME-Version: 1.0 References: <20111025194609.17756.53947.malonedeb@gac.canonical.com> <20111025194609.17756.53947.malonedeb@gac.canonical.com> In-Reply-To: <20111025194609.17756.53947.malonedeb@gac.canonical.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Bug 881637] [NEW] QEMU fails to build on OpenBSD/hppa List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bug 881637 <881637@bugs.launchpad.net> Cc: qemu-devel@nongnu.org On 10/25/2011 12:46 PM, Brad Smith wrote: > Public bug reported: > > Trying to build previous QEMU releases as well as git code fails on > OpenBSD/hppa... > > cc -I/home/hack/jasper/qemu/slirp -I. -I/home/hack/jasper/qemu -I/home/hack/jasper/qemu/fpu -I/home/hack/jasper/qemu/tcg -I/home/hack/jasper/qemu/tcg/hppa -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -Wno-redundant-decls -I/usr/local/include -I/usr/X11R6/include -Wendif-labels -Wmissing-include-dirs -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wold-style-definition -I/usr/local/include/libpng -DHAS_AUDIO -DHAS_AUDIO_CHOICE -DTARGET_PHYS_ADDR_BITS=64 -I.. -I/home/hack/jasper/qemu/target-i386 -DNEED_CPU_H -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libpng -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -MMD -MP -MT translate.o -MF ./translate.d -O2 -g -c -o translate.o /home/hack/jasper/qemu/target-i386/translate.c > /tmp//ccvNbj1U.s: Assembler messages: > /tmp//ccvNbj1U.s:258792: Error: Field out of range [-262144..262143] (-262776). > /tmp//ccvNbj1U.s:261989: Error: Field out of range [-262144..262143] (-267096). > /tmp//ccvNbj1U.s:262006: Error: Field out of range [-262144..262143] (-267136). > /tmp//ccvNbj1U.s:264184: Error: Field out of range [-262144..262143] (-270612). > /tmp//ccvNbj1U.s:271893: Error: Field out of range [-262144..262143] (-281260). > /tmp//ccvNbj1U.s:276623: Error: Field out of range [-262144..262143] (-288784). > /tmp//ccvNbj1U.s:276906: Error: Field out of range [-262144..262143] (-289636). > /tmp//ccvNbj1U.s:277122: Error: Field out of range [-262144..262143] (-290280). This is a bug with your version of gcc. It has failed to fix up out-of-range branches, probably due to over-enthusiastic inlining. As a workaround, you might try adding -Dinline= or -O1 when compiling that file. r~