Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155297 - app-emulation/qemu-softmmu-0.8.0 fails to compile
Summary: app-emulation/qemu-softmmu-0.8.0 fails to compile
Status: RESOLVED DUPLICATE of bug 122228
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-15 13:21 UTC by Tobias Nyström
Modified: 2006-11-15 13:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Nyström 2006-11-15 13:21:50 UTC
Here the error, on my machine it's reproducible:

gcc -O2 -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/target-i386 -I/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/fpu -DHAS_AUDIO -I/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/slirp -c -o helper.o /var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/target-i386/helper.c
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/target-i386/helper.c: In function 'helper_cmpxchg8b':
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/target-i386/helper.c:1286: error: unable to find a register to spill in class 'GENERAL_REGS'
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/target-i386/helper.c:1286: error: this is the insn:
(insn:HI 114 113 115 6 /var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/cpu-all.h:342 (set (mem:DI (plus:SI (reg:SI 60 [ T2.2313 ])
                (reg:SI 112 [ <variable>.addend ])) [0 S8 A64])
        (reg/v:DI 63 [ v ])) 56 {*movdi_2} (insn_list:REG_DEP_TRUE 113 (nil))
    (expr_list:REG_DEAD (reg/v:DI 63 [ v ])
        (expr_list:REG_DEAD (reg:SI 60 [ T2.2313 ])
            (expr_list:REG_DEAD (reg:SI 112 [ <variable>.addend ])
                (nil)))))
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/target-i386/helper.c:1286: confused by earlier errors, bailing out
make[1]: *** [helper.o] Error 1
make[1]: *** Waiting for unfinished jobs....
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/target-i386/ops_template_mem.h: In function 'op_adcb_user_T0_T1_cc':
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/softmmu_header.h:203: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
make[1]: *** [op.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/i386-softmmu'
make: *** [all] Error 1

!!! ERROR: app-emulation/qemu-softmmu-0.8.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  qemu-softmmu-0.8.0.ebuild, line 84:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


And my emerge --info:

Portage 2.1.1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System version 1.12.6
Last Sync: Wed, 15 Nov 2006 20:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://ftp.du.se/pub/os/gentoo http://mirror.pudas.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa avi berkdb bitmap-fonts cli cpudetection cracklib crypt dlloader dri elibc_glibc gdbm gif gpm gtk gtk2 iconv input_devices_keyboard input_devices_mouse isdnlog java jpeg kernel_linux libg++ mad mmx mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre perl png ppds pppd python quicktime readline reflection samba sdl session spl sse sse2 ssl truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nvidia win32codecs xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-15 13:25:23 UTC

*** This bug has been marked as a duplicate of 122228 ***