Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
Hello, in bug #178652, someone reported that qt-4.3 couldn't be compiled with gcc-3.4 on amd64. The reporter was able to switch to gcc-4, which fixed the problem for him. However, there are still profiles which have gcc-4 masked (e.g. hardened/amd64), and for these systems, bug #178652 hasn't been fixed yet. I will attach a patch for qt-4.3.1-r1.ebuild which adds the fix mentioned on [1] to the ebuild (add -fno-gcse to C[XX]FLAGS in src/gui/Makefile) The patch was tested successfully on the system with emerge --info shown below. Regards, Milan [1]: <URL:http://www.qtcentre.org/forum/f-installation-5/t-compilation-error-inconsistent-operand-constraints-in-an-asm-8044.html> Reproducible: Always Portage 2.1.3.9 (hardened/amd64, gcc-3.4.6, glibc-2.5-r4, 2.6.22.6-11 x86_64) ================================================================= System uname: 2.6.22.6-11 x86_64 AMD Athlon(tm) 64 Processor 3000+ Timestamp of tree: Sun, 16 Sep 2007 01:50:01 +0000 app-shells/bash: 3.2_p17 dev-lang/python: 2.5.1-r2 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 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.24 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -march=athlon64 -Os -fomit-frame-pointer -mno-tls-direct-seg-refs" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-pipe -march=athlon64 -Os -fomit-frame-pointer -mno-tls-direct-seg-refs" DISTDIR="/usr/src/pkg" EMERGE_DEFAULT_OPTS=" --with-bdeps y" FEATURES="buildpkg collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict stricter unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS=" ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo" LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" LINGUAS="de en en_GB fr es" MAKEOPTS="-j1" PKGDIR="/usr/portage-pkg" 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="..." SYNC="rsync://[...]/gentoo-portage" USE="amd64 apache2 bash-completion berkdb bzip2 cracklib crypt doc dovecot-sasl epydoc examples fastcgi hardened iproute2 jpeg justify logrotate logwatch mailwrapper midi milter mysql ncurses nls nptl nptlonly pam pam_chroot pcre perl pic png postfix python readline sieve sse2 ssl sysfs tcl tcpd threads tiff truetype unicode urandom userlocales web webdav xml xorg 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_GB fr es" USERLAND="GNU" Unset: CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created an attachment (id=131046) [details] Make compiling qt-4.3 with gcc-3.4 possible I'm not quite sure whether modifying an auto-generated Makefile in the middle of src_compile is a good idea, but this way only the files in a single directory a compiled with -fno-gcse.
Please, don't file bugs about the same issue over and over again. If you want to attach a patch, do it on the original bug. Thanks. *** This bug has been marked as a duplicate of bug 178652 ***