qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [Bug 881637] [NEW] QEMU fails to build on OpenBSD/hppa


From: Richard Henderson
Subject: Re: [Qemu-devel] [Bug 881637] [NEW] QEMU fails to build on OpenBSD/hppa
Date: Tue, 25 Oct 2011 14:48:12 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0

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~



reply via email to

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