qemu 1.0 unable to compile on the pandaboard ES

Bug #929638 reported by Marietto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

root@omap:/home/mario/Scrivania/dati/os/qemu# uname -a
Linux omap 3.1.6-x6 #1 SMP Thu Dec 22 11:17:51 UTC 2011 armv7l armv7l armv7l GNU/Linux

It's running Ubuntu 11.10...

root@omap:/home/mario/Scrivania/dati/os/qemu# ./configure --disable-kvm --enable-tcg-interpreter --enable-curses --enable-sdl --enable-vnc --enable-debug-tcg --enable-vhost-net
Install prefix /usr/local
BIOS directory /usr/local/share/qemu
binary directory /usr/local/bin
library directory /usr/local/lib
include directory /usr/local/include
config directory /usr/local/etc
Manual directory /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path /home/mario/Scrivania/dati/os/qemu
C compiler gcc
Host C compiler gcc
CFLAGS -O2 -g
QEMU_CFLAGS -Werror -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 -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -I/usr/include/libpng12
LDFLAGS -Wl,--warn-common -g
make make
install install
python python
smbd /usr/sbin/smbd
host CPU arm
host big endian no
target list i386-softmmu x86_64-softmmu alpha-softmmu arm-softmmu cris-softmmu lm32-softmmu m68k-softmmu microblaze-softmmu microblazeel-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu s390x-softmmu xtensa-softmmu xtensaeb-softmmu i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user armeb-linux-user cris-linux-user m68k-linux-user microblaze-linux-user microblazeel-linux-user mips-linux-user mipsel-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user sparc32plus-linux-user unicore32-linux-user s390x-linux-user
tcg debug enabled yes
Mon debug enabled no
gprof enabled no
sparse enabled no
strip binaries yes
profiler no
static build no
-Werror enabled yes
SDL support yes
curses support yes
curl support no
mingw32 support no
Audio drivers oss
Extra audio cards ac97 es1370 sb16 hda
Block whitelist
Mixer emulation no
VNC support yes
VNC TLS support no
VNC SASL support no
VNC JPEG support no
VNC PNG support yes
VNC thread no
xen support no
brlapi support no
bluez support no
Documentation yes
NPTL support yes
GUEST_BASE yes
PIE no
vde support no
Linux AIO support no
ATTR/XATTR support yes
Install blobs yes
KVM support no
TCG interpreter yes
fdt support no
preadv support yes
fdatasync yes
madvise yes
posix_madvise yes
uuid support no
libcap-ng support no
vhost-net support yes
Trace backend nop
Trace output file trace-<pid>
spice support no
rbd support no
xfsctl support no
nss used no
usb net redir no
OpenGL support yes
libiscsi support no
build guest agent yes

root@omap:/home/mario/Scrivania/dati/os/qemu# make
  GEN i386-softmmu/config-devices.mak
  GEN x86_64-softmmu/config-devices.mak
  GEN alpha-softmmu/config-devices.mak
  GEN arm-softmmu/config-devices.mak
  GEN cris-softmmu/config-devices.mak
  GEN lm32-softmmu/config-devices.mak
  GEN m68k-softmmu/config-devices.mak
  GEN microblaze-softmmu/config-devices.mak
  GEN microblazeel-softmmu/config-devices.mak
  GEN mips-softmmu/config-devices.mak

  CC ppc-softmmu/op_helper.o
  CC ppc-softmmu/helper.o
/home/mario/Scrivania/dati/os/qemu/target-ppc/helper.c: In function ‘booke206_tlb_to_page_size’:
/home/mario/Scrivania/dati/os/qemu/target-ppc/helper.c:1296:14: error: variable ‘tlbncfg’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make[1]: *** [helper.o] Errore 1
make: *** [subdir-ppc-softmmu] Errore 2

Tags: arm
Revision history for this message
Marietto (marietto2008) wrote :

oh I forgot to say what I did at beginning :

root@omap:/home/mario/Scrivania/dati/os# git clone git://git.qemu.org/qemu.git
Cloning into qemu...
remote: Counting objects: 100490, done.
remote: Compressing objects: 100% (23326/23326), done.
remote: Total 100490 (delta 79616), reused 97470 (delta 76989)
Receiving objects: 100% (100490/100490), 36.47 MiB | 72 KiB/s, done.
Resolving deltas: 100% (79616/79616), done.
root@omap:/home/mario/Scrivania/dati/os/qemu# ./configure

Revision history for this message
Peter Maydell (pmaydell) wrote :

(1) This isn't qemu 1.0 as you say in the bug title, it's qemu master.
(2) qemu 1.0 does not work on ARM hosts -- see the release notes.
(3) at least one of the problems which meant we marked it as unsupported is still unfixed in master, so this isn't going to work
(4) the specific problem you've hit is fixed by this patch: http://patchwork.ozlabs.org/patch/139576/

Revision history for this message
Marietto (marietto2008) wrote :

The patch that you have given to me it's the same as this here ? --> http://web.archiveorange.com/archive/v/1XS1vBaxYXjl0BuVgqv1

because I've tried already to patch it using that patch,but it didn't work.

Revision history for this message
Peter Maydell (pmaydell) wrote :

In QEMU 1.1 building on ARM hosts is supported again -- please can you retry with a clean 1.1 source tree?

Changed in qemu:
status: New → Incomplete
Samuel Bronson (naesten)
tags: added: arm
Revision history for this message
Marietto (marietto2008) wrote : Re: [Bug 929638] Re: qemu 1.0 unable to compile on the pandaboard ES
Download full text (5.2 KiB)

This is what I did on the pandaboard ES :

git clone git://git.linaro.org/qemu/qemu-linaro.git
/configure --disable-kvm --enable-tcg-interpreter --enable-curses
--enable-sdl --enable-vnc --enable-debug-tcg --enable-vhost-net
make
you can see the error on the screenshot attached.

2012/8/3 Samuel Bronson <email address hidden>:
> ** Tags added: arm
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/929638
>
> Title:
> qemu 1.0 unable to compile on the pandaboard ES
>
> Status in QEMU:
> Incomplete
>
> Bug description:
> root@omap:/home/mario/Scrivania/dati/os/qemu# uname -a
> Linux omap 3.1.6-x6 #1 SMP Thu Dec 22 11:17:51 UTC 2011 armv7l armv7l armv7l GNU/Linux
>
> It's running Ubuntu 11.10...
>
> root@omap:/home/mario/Scrivania/dati/os/qemu# ./configure --disable-kvm --enable-tcg-interpreter --enable-curses --enable-sdl --enable-vnc --enable-debug-tcg --enable-vhost-net
> Install prefix /usr/local
> BIOS directory /usr/local/share/qemu
> binary directory /usr/local/bin
> library directory /usr/local/lib
> include directory /usr/local/include
> config directory /usr/local/etc
> Manual directory /usr/local/share/man
> ELF interp prefix /usr/gnemul/qemu-%M
> Source path /home/mario/Scrivania/dati/os/qemu
> C compiler gcc
> Host C compiler gcc
> CFLAGS -O2 -g
> QEMU_CFLAGS -Werror -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 -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -I/usr/include/libpng12
> LDFLAGS -Wl,--warn-common -g
> make make
> install install
> python python
> smbd /usr/sbin/smbd
> host CPU arm
> host big endian no
> target list i386-softmmu x86_64-softmmu alpha-softmmu arm-softmmu cris-softmmu lm32-softmmu m68k-softmmu microblaze-softmmu microblazeel-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu s390x-softmmu xtensa-softmmu xtensaeb-softmmu i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user armeb-linux-user cris-linux-user m68k-linux-user microblaze-linux-user microblazeel-linux-user mips-linux-user mipsel-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user sparc32plus-linux-user unicore32-linux-user s390x-linux-user
> tcg debug enabled yes
> Mon debug enabled no
> gprof enabled no
> sparse enabled no
> strip binaries yes
> profiler no
> static build no
> -Werror enabled yes
> SDL support yes
> curses support yes
> curl support no
> mingw32 support no
> Audio drivers oss
> Extra audio cards ac97 es1370 sb16 h...

Read more...

Revision history for this message
Peter Maydell (pmaydell) wrote :

Closing as fixed, since the original build failure problems were fixed some time ago, and the most recent quoted error message (garbage in a system header file) strongly indicates either corrupt filesystem or hardware issues with the build machine.

Changed in qemu:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.