Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191161 - x11-libs/qt-4.3.1 doesn't compile w/ gcc-3.4.6
Summary: x11-libs/qt-4.3.1 doesn't compile w/ gcc-3.4.6
Status: RESOLVED DUPLICATE of bug 178652
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://trolltech.com/developer/task-t...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-03 16:34 UTC by Daniel Santos
Modified: 2007-09-03 19:12 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 Daniel Santos 2007-09-03 16:34:03 UTC
Compilation of x11-libs/qt-4.3.1 with gcc 3.4.6 fails with:

../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:120: error: inconsistent operand constraints in an `asm'

Tolltech claims the following is the solution (see URL)

  To work around this bug, recompile qstylesheetstyle.cpp with removing -O2, or add the -fno-gcse compiler option.


More of the error output
===================================

g++ -c -include .pch/release-shared/QtGui -march=athlon64 -O2 -pipe -I/usr/include/mysql -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -ma
rch=athlon64 -O2 -pipe -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COM
PAT -DQT_RASTER_IMAGEENGINE -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSX
P -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/qcleanlooksstyle.o styles/qcleanlooksstyle.cpp
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h: In member function `virtual QRect QStyleSheetStyle::subControlRect(QStyle::ComplexControl, co
nst QStyleOptionComplex*, QStyle::SubControl, const QWidget*) const':
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:120: error: inconsistent operand constraints in an `asm'
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:120: error: inconsistent operand constraints in an `asm'
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:120: error: inconsistent operand constraints in an `asm'
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:120: 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 `/tmp/portage/x11-libs/qt-4.3.1/work/qt-x11-opensource-src-4.3.1/src/gui'
make: *** [sub-gui-all-ordered] Error 2
 *
 * ERROR: x11-libs/qt-4.3.1 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   qt-4.3.1.ebuild, line 225:   Called die


emerge --info
===================================


Portage 2.1.3.7 (hardened/amd64/multilib, gcc-3.4.6, glibc-2.6.1-r0, 2.6.22-hardened-r3 x86_64)
=================================================================
System uname: 2.6.22-hardened-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3600+
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 03 Sep 2007 02:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1, 2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /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=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.utdlug.org/linux/distributions/gentoo/ ftp://mirror.utdlug.org/linux/distributions/gentoo/ http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo"
LINGUAS="en_US"
MAKEOPTS="-j3"
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.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit 7zip X Xaw3d a52 aac aalib acl acpi administrator aim aimextras akode alsa amd64 amr ao aotuv apache apache2 apm applet arts asf audacious audiofile authdaemond authfile autoipd backtrace bash-completion bcmath berkdb binfilter bittorrent bl bonjour branding bsf buttons bzip2 c3p0 cairo calendar cdaudio cdb cdda cdparanoia cdr cdrom cg cgi cjk commons-digester console cpudetection cpufreq cpulimit cracklib crypt cscope css cups curl curlwrappers daap dbus dga directfb divx djbfft dmx dolby-record-switch dom4j double-precision dri dts dv dvd dvdnav dvdr dvdread dxr3 eds emoticon encode enscript esd excel exif extraicons fam fasttrack fbcon ffmpeg fftw firefox flac flash fmod font-server fontconfig fortran ftp fuse gb gcj gd gdb geos ggi gif ginac glitz glut gmedia gmp gmtfull gnokii gnome gnomecanvas gnutls gphoto2 gpm graphviz gs gsl gstreamer gtalk gtk gtk2 gzip hal hardened hddtemp html hwmixer icecast icq id3 imagemagick imap imlib inifile insecure-savers ithreads jack java java5 javamail javascript jbig jce jikes jingle jms jmx jpeg jpeg2k justify kde kdrive kerberos keyring lame lcms ldap libcaca libvisual libwww live lm_sensors log4j logitech-mouse lua lzo mad maildir math mbox md5sum meanwhile memcache midi mikmod milter mime ming mjpeg mmap mmkeys mng modperl modplug motif mouse mozdevelop mozilla mp3 mp4 mp4live mpeg mpeg2 msn mtp mudflap multicall multilib multislot musepack mysql mysqli nas ncurses netjack network njb nls nntp nptl nptlonly nsplugin nuv nvtv objc objc++ objc-gc odk ogg openal openexr opengl openssl p2p pam pango pch pcntl pcre pdf perl php pic player plotutils png portaudio posix postproc pulseaudio python qdbm qq qt3 qt3support qt4 quicktime radio rar readline rrdcgi rtc ruby samba sametime sasl sdl sdl-image sdl-sound seamonkey sendmail sensord serpentine servletapi sharedext sharedmem silc slp smtp sndfile snmp soap sockets sound speex spell spl sqlite sqlite3 sse sse2 sse2ext sseext ssl startup-notification stream streamripper subversion svg svgz sysfs syslog sysvipc tagwriting tcl tcpd tga theora threads tidy tiff timidity tk tokenizer transcode trayicon truetype tse3 unicode urandom usb userlocales utempter v4l v4l2 vcd vda vhosts videos vim-syntax vim-with-x visualization vorbis vorbis-psy wav wavpack webdav wifi wma wmf wxwindows x264 xanim xattr xcb xcomposite xface xforms xine xinerama xml xmlreader xmlrpc xmlwriter xorg xplanet xpm xprint xscreensaver xsl xv xvid xvmc yaepg yahoo yv12 zeroconf zip zlib" 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 joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-03 17:44:40 UTC
Please, stop sticking crap into bug summaries.


*** This bug has been marked as a duplicate of bug 178652 ***
Comment 2 Daniel Santos 2007-09-03 19:12:38 UTC
(In reply to comment #1)
> *** This bug has been marked as a duplicate of bug 178652 ***

Strange, I didn't get a hit when I searched on "inconsistent operand constraints".  Sorry for the dupe.  Either search isn't working properly or, perhaps more likely, quick search only hits summaries.

> Please, stop sticking crap into bug summaries.

Sorry, I had an impulsive moment.  Will do.

Daniel