Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
qemu can't be built with some compilers (gcc 4), but I can't set it on the command-line with "CC=gcc-3.3.6 emerge qemu-softmmu". # emerge --info Portage 2.1_pre10-r3 (default-linux/x86/2006.0, gcc-4.0.2, glibc-2.4-r1, 2.6.15.6 i686) ================================================================= System uname: 2.6.15.6 i686 AMD Athlon(tm) MP 2400+ Gentoo Base System version 1.12.0_pre19 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r1 dev-util/confcache: 0.4.2 sys-apps/sandbox: 1.2.18 sys-devel/autoconf: 2.13, 2.59-r7 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-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -mtune=athlon-mp -march=athlon-mp -pipe -fomit-frame-pointer -ftree-vectorize" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-Os -mtune=athlon-mp -march=athlon-mp -pipe -fomit-frame-pointer -ftree-vectorize -finline-functions" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildsyspkg collision-protect confcache distlocks metadata-transfer parallel-fetch sandbox sfperms" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" LINGUAS="fr" MAKEOPTS="-j 3" 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/overlays/portage /usr/local/overlays/xgl-overlay" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X a52 aac alsa apm avi berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli crypt cups curl dbus dlloader dri dts dvd dvdr dvdread eds emboss encode ext2 ext3 fat ffmpeg firefox flac foomaticdb gcj gdbm gif glitz gnome gnutls gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 isdnlog jikes jpeg libg++ libwww lzo mad matroska mikmod mmx mmxext mng motif mp3 mp4 mpeg ncurses nls nptl nptlonly ntfs nvidia ogg openal opengl pam pcre pdflib perl pic pie png pppd python qt qt4 quicktime readline reflection reiser4 reiserfs samba sdl session slang smp spell spl sse ssl svg tcpd tga theora threads truetype truetype-fonts type1-fonts udev usb userlocales v4l v4l2 vorbis win32codecs x264 xinerama xml xml2 xorg xrandr xv xvid zlib elibc_glibc input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse kernel_linux linguas_fr userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga video_cards_v4l" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created an attachment (id=86382) [edit] Patch enabling the "CC" env var
(From update of attachment 86382 [edit]) wrong, you should *never* use ${CC} in ebuilds use $(tc-getCC) from toolchain-funcs.eclass
Created an attachment (id=86748) [edit] qemu-softmmu-0.8.1-CC.patch This time using tc-getCC ;)
Looks sane, committed.