During qt4 compilation (according to qt4-build.eclass) is uses g++ as compiler, and it make distcc fail, when I compiling on arm device, and helping with other x86 device (with armv4tl-softfloat-linux-gnueabi-g++ on it). Reproducible: Always Steps to Reproduce: 1. install distcc on arm and x86 machine 2. crossdev arm4tl-softfloat-linux-gnueabi on x86 3. emerge -1 qt-core on arm Actual Results: distcc using fail Expected Results: distcc shouldn't fail
Created attachment 202441 [details, diff] qt4 distcc patch Fixes using distcc with "cross arch" helping. Also this patch can be important for cross compilation qt.
Duplicate of bug #275710 I guess. Thanks for the patch, I'm not sure if it's the right approach though...
This patch fixes distcc cross compiling x11-libs/qt-* for me (i686 helper, x86_64 client).
Created attachment 205948 [details, diff] Updated Eclass patch The old patch didn't apply cleanly any more. Here is an updated version.
I applied a fix that we are using in out new qt4-build-edge.eclass in qting-edge overlay. Now the system compiler, i.e. ${CHOST}-${CC} (or ${CXX}) is passed to emake when building Qt, so we don't have to modify the mkspecs. Please test it and verify if it works.
qt4-build.eclass patched so as to enable cross-compilation between i686 and x86_64 by me. As it works, closing :) Feel free to reopen if the problem persists.
I'm not sure that its connected with this bug, but my fix fixes this problem too, I just try compile kde stuff, and because of mkspec issue(gcc/g++, not full compiler name) or because of wrong kde eclass, but kde compilation can't be distcc-ed.
*** This bug has been marked as a duplicate of bug 275710 ***