Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282984 - x11-libs/qt-core distcc to another platform doesn't work
Summary: x11-libs/qt-core distcc to another platform doesn't work
Status: RESOLVED DUPLICATE of bug 275710
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: ARM Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-27 22:36 UTC by Maksim 'max_posedon' Melnikau
Modified: 2009-12-17 15:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
qt4 distcc patch (qt4-build.eclass.patch,585 bytes, patch)
2009-08-27 22:38 UTC, Maksim 'max_posedon' Melnikau
Details | Diff
Updated Eclass patch (qt4-eclass.patch,626 bytes, patch)
2009-10-03 18:13 UTC, Joe Kowalski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim 'max_posedon' Melnikau 2009-08-27 22:36:29 UTC
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
Comment 1 Maksim 'max_posedon' Melnikau 2009-08-27 22:38:02 UTC
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.
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2009-08-27 23:35:03 UTC
Duplicate of bug #275710 I guess.

Thanks for the patch, I'm not sure if it's the right approach though...
Comment 3 Joe Kowalski 2009-10-03 18:09:16 UTC
This patch fixes distcc cross compiling x11-libs/qt-* for me (i686 helper, x86_64  client).
Comment 4 Joe Kowalski 2009-10-03 18:13:01 UTC
Created attachment 205948 [details, diff]
Updated Eclass patch

The old patch didn't apply cleanly any more. Here is an updated version.
Comment 5 Dominik Kapusta (RETIRED) gentoo-dev 2009-10-03 19:34:45 UTC
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.
Comment 6 Dominik Kapusta (RETIRED) gentoo-dev 2009-11-09 19:39:46 UTC
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.
Comment 7 Maksim 'max_posedon' Melnikau 2009-12-06 22:19:51 UTC
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.
Comment 8 Ben de Groot (RETIRED) gentoo-dev 2009-12-17 15:49:25 UTC

*** This bug has been marked as a duplicate of bug 275710 ***