x11-libs/qt-4.3.0 fails to compile. Build log excerpt: >>> Unpacking source... >>> Unpacking qt-x11-opensource-src-4.3.0.tar.gz to /var/tmp/portage/x11-libs/qt-4.3.0/work Applying qt-4.1.4-sparc.patch ... Applying qt-4.2.3-hppa-ldcw-fix.patch ... >>> Source unpacked. >>> Compiling source in /var/tmp/portage/x11-libs/qt-4.3.0/work/qt-x11-opensource-src-4.3.0 ... This is the Qt/X11 Open Source Edition. Determining system architecture... (Linux:2.6.15-gentoo:x86_64) 64-bit AMD 80x86 (x86_64) 'x86_64' is supported System architecture: 'x86_64' <...> g++ -c -march=k8 -O2 -pipe -I/usr/include/mysql -march=k8 -O2 -pipe -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_SSE2 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtGui -I/usr/include/freetype2 -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I/usr/include -I.uic/release-shared -o .obj/release-shared/qcombobox.o widgets/qcombobox.cpp ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h: In member function `virtual QRect QStyleSheetStyle::subElementRect(QStyle::SubElement, const QStyleOption*, const QWidget*) const': ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:105: error: inconsistent operand constraints in an `asm' ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:105: error: inconsistent operand constraints in an `asm' make[1]: *** [.obj/release-shared/qstylesheetstyle.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-4.3.0/work/qt-x11-opensource-src-4.3.0/src/gui' make: *** [sub-gui-all-ordered] Error 2 !!! ERROR: x11-libs/qt-4.3.0 failed. Call stack: ebuild.sh, line 1621: Called dyn_compile ebuild.sh, line 973: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile qt-4.3.0.ebuild, line 208: Called die Reproducible: Always Steps to Reproduce: 1. emerge qt Actual Results: compile fails Expected Results: qt emerges correctly [user@heartofgold user #2051]$ emerge --info ~ Portage 2.1.2.9 (default-linux/amd64/2006.1/desktop, gcc-3.4.6, glibc-2.5-r3, 2.6.15-gentoo x86_64) ================================================================= System uname: 2.6.15-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System release 1.12.10 Timestamp of tree: Sat, 02 Jun 2007 19:20:01 +0000 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.3.6-r2, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.aiya.ru/pub/gentoo/ http://ftp.citkit.ru/pub/Linux/gentoo ftp://ftp.solnet.ch/mirror/Gentoo http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://gentoo.po.opole.pl/ http://gentoo.ynet.sk/pub http://open-systems.ufl.edu/mirrors/gentoo" LANG="en_US.UTF-8" LINGUAS="en ru" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa amd64 ansi apache2 arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd exif fam firefox fortran gd gdbm gif gimp gnutls gpm gstreamer gtk gtk2 hal iconv ieee1394 ipv6 isdnlog jpeg kde ldap libg++ mad midi mikmod mono mozilla mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdf perl plotutils png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode vorbis xml xorg xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
http://www.gentoo.org/doc/en/gcc-upgrading.xml *** This bug has been marked as a duplicate of bug 178652 ***