Skip to contentSkip to conversation

QEMU fails to build on OpenBSD/hppa

Qemu-devel Brad Smith 2 participants 4 messages Oct 25, 2011 – Jan 9, 2017

lore
Share & tools
lore

Brad Smith

author
#0 lore raw

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).

** Affects: qemu
Importance: Undecided
Status: New

Signature · 27 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/881637

Title:
  QEMU fails to build on OpenBSD/hppa

Status in QEMU:
  New

Bug description:
  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).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/881637/+subscriptions
#1 lore raw
Quoted 5 lines · Brad Smith

Public bug reported:

Trying to build previous QEMU releases as well as git code fails on OpenBSD/hppa...

Quoted 10 lines

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~

#2 lore raw
In reply to Brad Smith

Do you still have this problem with the latest version of QEMU and a more recent version of GCC?

** Changed in: qemu
Status: New => Incomplete

Signature · 27 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/881637

Title:
  QEMU fails to build on OpenBSD/hppa

Status in QEMU:
  Incomplete

Bug description:
  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).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/881637/+subscriptions
#3 lore raw
In reply to Brad Smith

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
Status: Incomplete => Expired

Signature · 27 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/881637

Title:
  QEMU fails to build on OpenBSD/hppa

Status in QEMU:
  Expired

Bug description:
  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).

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/881637/+subscriptions