Skip to contentSkip to conversation

qemu-0.13.0 compiling error on ppc64

Qemu-devel acrux 2 participants 3 messages Oct 19, 2010 – Oct 20, 2010

lore
Share & tools
lore

acrux

author
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

i've this error only on ppc64 compiling qemu-0.13.0:

[...]

  CC    i386-softmmu/virtio-pci.o
  CC    i386-softmmu/vhost_net.o
  CC    i386-softmmu/virtio-9p.o
  CC    i386-softmmu/rwhandler.o
  CC    i386-softmmu/kvm-stub.o
  CC    i386-softmmu/usb-ohci.o
  CC    i386-softmmu/rtl8139.o
  CC    i386-softmmu/e1000.o
  CC    i386-softmmu/exec.o
  CC    i386-softmmu/translate-all.o
  CC    i386-softmmu/cpu-exec.o
  CC    i386-softmmu/translate.o
  CC    i386-softmmu/tcg/tcg.o

In file included from /usr/ports/ppc/opt/qemu/work/src/qemu-0.13.0/tcg/tcg.c:159:
/usr/ports/ppc/opt/qemu/work/src/qemu-0.13.0/tcg/ppc64/tcg-target.c: In function 'tcg_out_qemu_ld':
/usr/ports/ppc/opt/qemu/work/src/qemu-0.13.0/tcg/ppc64/tcg-target.c:749: error: too many arguments to function 'tcg_out_movi32' make[1]: *** [tcg/tcg.o] Error 1
make: *** [subdir-i386-softmmu] Error 2

My testing systems are a PowerMac G5 and an IBM POWER4+. CRUX PPC 2.6 (64bit)
binutils-2.20, glibc-2.11.2, gcc-4.4.5

cheers,
- - -acrux

- --
GNU/Linux on Power Architecture
CRUX PPC - http://cruxppc.org/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iEYEARECAAYFAky+IrYACgkQxq34tDeO7LiCywCgi30kSGPxkPzpX1lQW2/U+Byf TNAAnjnetgkPuGyZPs8shs/T8pPL5qDm
=dKDe
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 5 lines · acrux

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

i've this error only on ppc64 compiling qemu-0.13.0:

It was fixed by b1d6d51d958bc98f5b6faa4d1d527c785a9ba7d6 which is apparently not in 0.13.0, you can probably cherry pick it.

Quoted 42 lines

[...]

  CC    i386-softmmu/virtio-pci.o
  CC    i386-softmmu/vhost_net.o
  CC    i386-softmmu/virtio-9p.o
  CC    i386-softmmu/rwhandler.o
  CC    i386-softmmu/kvm-stub.o
  CC    i386-softmmu/usb-ohci.o
  CC    i386-softmmu/rtl8139.o
  CC    i386-softmmu/e1000.o
  CC    i386-softmmu/exec.o
  CC    i386-softmmu/translate-all.o
  CC    i386-softmmu/cpu-exec.o
  CC    i386-softmmu/translate.o
  CC    i386-softmmu/tcg/tcg.o

In file included from /usr/ports/ppc/opt/qemu/work/src/qemu-0.13.0/tcg/tcg.c:159:
/usr/ports/ppc/opt/qemu/work/src/qemu-0.13.0/tcg/ppc64/tcg-target.c: In function 'tcg_out_qemu_ld':
/usr/ports/ppc/opt/qemu/work/src/qemu-0.13.0/tcg/ppc64/tcg-target.c:749: error: too many arguments to function 'tcg_out_movi32' make[1]: *** [tcg/tcg.o] Error 1
make: *** [subdir-i386-softmmu] Error 2

My testing systems are a PowerMac G5 and an IBM POWER4+. CRUX PPC 2.6 (64bit)
binutils-2.20, glibc-2.11.2, gcc-4.4.5

cheers,
- - -acrux

- --
GNU/Linux on Power Architecture
CRUX PPC - http://cruxppc.org/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iEYEARECAAYFAky+IrYACgkQxq34tDeO7LiCywCgi30kSGPxkPzpX1lQW2/U+Byf TNAAnjnetgkPuGyZPs8shs/T8pPL5qDm
=dKDe
-----END PGP SIGNATURE-----

Signature · 1 line
mailto:[email protected]
author
#2 lore raw
Quoted 11 lines · On Wed, 20 Oct 2010 03:54:04 +0400 (MSD) malc <[email protected]> wrote:
Quoted 5 lines · acrux

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

i've this error only on ppc64 compiling qemu-0.13.0:

It was fixed by b1d6d51d958bc98f5b6faa4d1d527c785a9ba7d6 which is apparently not in 0.13.0, you can probably cherry pick it.

hi, thanks a lot for your suggestion. Now tcg builds fine on ppc64 too.

cheers,
-acrux

Quoted 34 lines
Quoted 34 lines

[...]

  CC    i386-softmmu/virtio-pci.o
  CC    i386-softmmu/vhost_net.o
  CC    i386-softmmu/virtio-9p.o
  CC    i386-softmmu/rwhandler.o
  CC    i386-softmmu/kvm-stub.o
  CC    i386-softmmu/usb-ohci.o
  CC    i386-softmmu/rtl8139.o
  CC    i386-softmmu/e1000.o
  CC    i386-softmmu/exec.o
  CC    i386-softmmu/translate-all.o
  CC    i386-softmmu/cpu-exec.o
  CC    i386-softmmu/translate.o
  CC    i386-softmmu/tcg/tcg.o

In file included from /usr/ports/ppc/opt/qemu/work/src/qemu-0.13.0/tcg/tcg.c:159:
/usr/ports/ppc/opt/qemu/work/src/qemu-0.13.0/tcg/ppc64/tcg-target.c: In function 'tcg_out_qemu_ld':
/usr/ports/ppc/opt/qemu/work/src/qemu-0.13.0/tcg/ppc64/tcg-target.c:749: error: too many arguments to function 'tcg_out_movi32' make[1]: *** [tcg/tcg.o] Error 1
make: *** [subdir-i386-softmmu] Error 2

My testing systems are a PowerMac G5 and an IBM POWER4+. CRUX PPC 2.6 (64bit)
binutils-2.20, glibc-2.11.2, gcc-4.4.5

cheers,
- - -acrux

- --
GNU/Linux on Power Architecture
CRUX PPC - http://cruxppc.org/