I get an invalid symbol error (__intel_cpu_indicator) when it is trying to use uic to generate some header files in the Qt build process. The build process is using icc to compile everything as icc was listed as a dependancy. This is similar to another bug I saw, but the other bug they were compiling with gcc and getting a Seg. Fault. Reproducible: Always Steps to Reproduce: 1. emerge -U qt 2. 3. Actual Results: ICE -ldl -lpthread ln -s libqui.so.1.0.0 libqui.so ln -s libqui.so.1.0.0 libqui.so.1 ln -s libqui.so.1.0.0 libqui.so.1.0 rm -f ../../../lib/libqui.so.1.0.0 rm -f ../../../lib/libqui.so rm -f ../../../lib/libqui.so.1 rm -f ../../../lib/libqui.so.1.0 mv -f libqui.so.1.0.0 libqui.so libqui.so.1 libqui.so.1.0 ../../../lib/ make[3]: Leaving directory `/var/tmp/portage/qt-3.3.0/work/qt-x11-free-3.3.0/tools/designer/uilib' cd designer && make -f Makefile make[3]: Entering directory `/var/tmp/portage/qt-3.3.0/work/qt-x11-free-3.3.0/tools/designer/designer' /var/tmp/portage/qt-3.3.0/work/qt-x11-free-3.3.0/bin/uic -L /var/tmp/portage/qt-3.3.0/work/qt-x11-free-3.3.0/plugins listboxeditor.ui -o listboxeditor.h /var/tmp/portage/qt-3.3.0/work/qt-x11-free-3.3.0/bin/uic -L /var/tmp/portage/qt-3.3.0/work/qt-x11-free-3.3.0/plugins editfunctions.ui -o editfunctions.h /var/tmp/portage/qt-3.3.0/work/qt-x11-free-3.3.0/bin/uic: relocation error: /var/tmp/portage/qt-3.3.0/work/qt-x11-free-3.3.0/bin/uic: undefined symbol: __intel_cpu_indicator make[3]: *** [editfunctions.h] Error 127 make[3]: *** Waiting for unfinished jobs.... /var/tmp/portage/qt-3.3.0/work/qt-x11-free-3.3.0/bin/uic: relocation error: /var/tmp/portage/qt-3.3.0/work/qt-x11-free-3.3.0/bin/uic: undefined symbol: __intel_cpu_indicator make[3]: *** [listboxeditor.h] Error 127 make[3]: Leaving directory `/var/tmp/portage/qt-3.3.0/work/qt-x11-free-3.3.0/tools/designer/designer' make[2]: *** [sub-designer] Error 2 make[2]: Leaving directory `/var/tmp/portage/qt-3.3.0/work/qt-x11-free-3.3.0/tools/designer' make[1]: *** [sub-designer] Error 2 make[1]: Leaving directory `/var/tmp/portage/qt-3.3.0/work/qt-x11-free-3.3.0/tools' make: *** [sub-tools] Error 2 !!! ERROR: x11-libs/qt-3.3.0 failed. !!! Function src_compile, Line 90, Exitcode 2 !!! (no error message) Expected Results: Built Qt 3.3.0. Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.2-gentoo) ================================================================= System uname: 2.6.2-gentoo i686 Pentium III (Katmai) Gentoo Base System version 1.4.3.13 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -fomit-frame-pointer -funroll-loops -pipe -ffast-math" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -fomit-frame-pointer -funroll-loops -pipe -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X alsa apache2 apm arts avi berkdb cdr crypt cups dga doc dvd encode esd foomaticdb gd gdbm gif gnome gpm gtk gtk2 guile icc imap imlib java jpeg kde libg++ libwww mad maildir mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml xml2 xmms xv zlib"
You're using distcc? Is it being distributed using icc on all of the machines?
Of course now I see that distcc is "disabled" :)
Ya, I disabled distcc because my other machine is Amd64..... I am building Qt now with gcc to see if it builds on the Pentium 3 machine that way.
Just so you know, it did compile just fine with gcc (ya, it did take that long for it to finish). I might suggest you just disable the ability to use icc with it if it doesn't work though.
I probably will. I think ebrostig got it to successfully to compile with icc, but he was having problems with it beyond that. not sure what his email addy is to cc him here, though.
Created attachment 25466 [details, diff] patch for qt-3.3.0.ebuild With this patch you are able to compile qt with icc. Why it needs -lirc is a mystery...all other icc libs are found 8) greets Marc
Ok, forget it. Today I restarted kde and what I got is segfaults. So I would highly suggest to remove the icc flag.
icc compilation has been disabled until we figure out a way to make it work.