Recent portages use "full" compiler name instead of default binary. For some reason qt uses g++ which makes it impossible to distcc-crosscompile Reproducible: Always Steps to Reproduce: 1. crossdev -t i686-pc-linux-gnu on non-x86 box 2. setup distcc to include this non-x86 machine 3. emerge qt Actual Results: g++ -c -pipe -fno-exceptions -Os -march=pentium3 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../../include -I../tools -I. -o ./qregexp.o ../tools/qregexp.cpp distcc[15882] ERROR: compile /var/tmp/ccache/qglist.tmp.localhost.15875.ii on 18.244.3.50/2 failed distcc[15896] ERROR: compile /var/tmp/ccache/qfile.tmp.localhost.15859.ii on 18.244.3.50/2 failed cc1plus: error: invalid option `arch=pentium3' make[1]: *** [qfile.o] Error 1 make[1]: *** Waiting for unfinished jobs.... cc1plus: error: invalid option `arch=pentium3' make[1]: *** [qglist.o] Error 1 distcc[15916] ERROR: compile /var/tmp/ccache/qregexp.tmp.localhost.15911.ii on 18.244.3.50/2 failed cc1plus: error: invalid option `arch=pentium3' make[1]: *** [qregexp.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/src/moc' make: *** [src-moc] Error 2 Expected Results: used i686-pc-linux-gnu-g++ and compile qt smoothly. Local machine (the one I try emerge qt from): Portage 2.0.53_rc6 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r4 i686) ================================================================= System uname: 2.6.13-gentoo-r4 i686 Pentium III (Coppermine) Gentoo Base System version 1.12.0_pre9 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 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-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j 8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acl alsa apm arts avi bash-completion berkdb bitmap-fonts crypt cscope cups eds emboss encode fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod mmx mmxext motif mp3 mpeg multislot ncurses ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell sse ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/specs Configured with: /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.4 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8) Remote machine (non-x86 one): Portage 2.0.53_rc6 (default-linux/alpha/2005.0, gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.6.14-rc2 alpha) ================================================================= System uname: 2.6.14-rc2 alpha EV67 Gentoo Base System version 1.12.0_pre9 distcc 2.18.3 alpha-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 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-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="alpha ~alpha" AUTOCLEAN="yes" CBUILD="alpha-unknown-linux-gnu" CFLAGS="-mieee -O2 -mcpu=ev67 -pipe" CHOST="alpha-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-mieee -O2 -mcpu=ev67 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="mirror.datapipe.net/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="alpha X aac bash-completion berkdb bitmap-fonts crypt cups doc dts dvd dynagraph eds encode fam font-server foomaticdb fortran gcj gd gdbm gif gnome gpm graphviz gstreamer gtk gtk2 hdf5 imagemagick imlib jpeg kde kerberos libg++ libwww mad mikmod motif mozilla mp3 mpeg mpi multislot ncurses ogg oggvorbis opengl oss pam pdflib perl plotutils png python qt quicktime readline sdl server spell ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/specs Configured with: /var/tmp/cross/i686-pc-linux-gnu/portage/gcc-3.4.4-r1/work/gcc-3.4.4/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.4 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3 --host=alpha-unknown-linux-gnu --target=i686-pc-linux-gnu --build=alpha-unknown-linux-gnu --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++ --with-sysroot=/usr/i686-pc-linux-gnu --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
*** Bug 110086 has been marked as a duplicate of this bug. ***
*** Bug 110087 has been marked as a duplicate of this bug. ***
You still having this problem? Doesn't seem like a toolchain problem to me if qt is not using the right binary.