spock /mnt # emerge --info Portage 2.1.1_pre5 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo i686) ================================================================= System uname: 2.6.17-gentoo i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.12.4 Last Sync: Sat, 12 Aug 2006 01:00:08 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 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.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="" 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 /usr/local/overlays/gnome" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X a52 aalib aim alsa apache2 apm arts asf audiofile avi berkdb bitmap-fonts bzip2 cario cdparanoia cdr cli crypt cups curl dbus directfb dlloader dri dv dvd dvdr dvdread eds elibc_glibc emacs emboss encode esd exif expat fam fbcon ffmpeg flac foomaticdb fortran freetype ftp gcj gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal imagemagick imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jack jpeg jpeg2k kde kerberos kernel_linux lcms libcaca libg++ libnotify libsexy libwww lm_sensor mad maildir mbox mikmod mmx mng motif mp3 mpeg musepack mysql nas ncurses nls nptl nptlonl ogg oggvorbis opengl oss pam pcre pdflib perl php png ppds pppd python qt qt3 quicktime readline real reflection ruby samba sasl scanner sdl session sndfile soap sox speex spell spl sqlite sse ssl svg tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l vcd video_cards_ati video_cards_fbdev video_cards_vesa vorbis win32codecs xine xml xml2 xmlrpc xmms xorg xosd xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS >>> Emerging (1 of 1) app-emulation/qemu-softmmu-0.8.2 to / * kqemu-0.7.2.tar.gz MD5 ;-) ... [ ok ] * kqemu-0.7.2.tar.gz RMD160 ;-) ... [ ok ] * kqemu-0.7.2.tar.gz SHA1 ;-) ... [ ok ] * kqemu-0.7.2.tar.gz SHA256 ;-) ... [ ok ] * kqemu-0.7.2.tar.gz size ;-) ... [ ok ] * qemu-0.8.2.tar.gz MD5 ;-) ... [ ok ] * qemu-0.8.2.tar.gz RMD160 ;-) ... [ ok ] * qemu-0.8.2.tar.gz SHA1 ;-) ... [ ok ] * qemu-0.8.2.tar.gz SHA256 ;-) ... [ ok ] * qemu-0.8.2.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking qemu-0.8.2.tar.gz ;-) ... [ ok ] * checking kqemu-0.7.2.tar.gz ;-) ... [ ok ] * qemu requires gcc-3 in order to build and work correctly * please compile it with gcc-3 !!! ERROR: app-emulation/qemu-softmmu-0.8.2 failed. Call stack: ebuild.sh, line 1559: Called dyn_setup ebuild.sh, line 666: Called pkg_setup qemu-softmmu-0.8.2.ebuild, line 36: Called die !!! gcc 4 cannot build qemu !!! If you need support, post the topmost build error, and the call stack if relevant. yes I can switch to gcc 3.4.6 to compile, but the ebuild should use gcc3 to compile.
(In reply to comment #0) > yes I can switch to gcc 3.4.6 to compile, but the ebuild should use gcc3 to > compile. Eh? How should the ebuild do it?