alwanbi wrote:I am running 3.12.32 kernel here and I have xfce4 as my windows manager. I tried to use distcc here but so far I am having no luck. Can you explain to me how to properly set it up on the pi and another pc? I also have gentoo installed on my laptop and a vb gentoo running on my Win 8.1 pc.
Well, it took a while to respond possibly because I hadn't checked the 'notify me' box below; the other bb I commonly use does this automagically.
I used distcc for both my RPi Gentoo systems (a 256MByte B with no GUI and a 512MByte B+ with Gnome). distcc isn't necessary for the former; it can run Gentoo all by itself, but when I watned a GUI on the B+ I found it was necessary to add distcc because, otherwise, compilations take much too long.
Cross-distcc has improved a lot in the last few months (i.e. since you posted the question
, I reported a couple of bugs on it and I think helped unblock release (i.e. unmasking) of a new revision that works better. The latest (probably ~) distcc installs its own cross wrappers, so the various instructions on the Gentoo wiki are somewhat circumvented and, unfortunately, damaged because "emerge distcc" now overwrites the wrappers in /usr/lib/distcc/bin.
My compile server is a moderately powerful pure x86_64 Gentoo system. I think that may make things a lot easier for me than you. I do use Win 8.1 (I'm typing this in to a Win 8.1 machine) but I've never tried to use it for Gentoo as well - the Gentoo box has a separate screen to my right and a honking great bent steel box below to match (the Windows machine is much cooler.)
All the same, I ended up writing my own wrapper script that, these days, I store in /usr/lib/distcc and call /usr/lib/distcc/wrapper:
exec "/usr/lib/distcc/bin/$B-g$C-$V" "$@"
(4.8.3 will likely change in the very near future to 4.8.4). That script is linked (hard link) to /usr/lib/distcc/bin/gcc and so on, the expansion of the exec line refers to a link to /usr/bin/distcc.
As of this moment (I emerge on a daily basis [non-Gentoo readers please ignore that parenthetical comment; you just won't understand]) that setup has worked for me.
I believe it is a requirement to resolve the GCC versioning issue; GCC does not maintain binary compatibility between minor releases so you can't use a server GCC with just a minor revision to compile to your local system, you have to have a nominally identical compiler on the compile server. (I.e. the full version number of the compiler on the compile server has to be totally identical to that on the system you are compiling for - the target system - use "gcc-config -l" to check.) This means that there is more work involved than the current automatic distcc cross installation might imply, but I think the wrapper above does the right thing just so long as the compile server has something that satisfies the requirements.
Meanwhile, don't expect webkit-gtk to compile, ever. It's just too big and nasty; I've only been able to get it to merge once.