[Aboriginal] Distcc not distributing

Clyde Oxman clyde.oxman at gmail.com
Mon Feb 20 00:07:12 PST 2012


Hi Rob,

I checked that I can run the bins from distcc_links (at least gcc), by 
simply doing:
     PATH=/path/to/distcc_links gcc --version

This reports rawcc 4.2.1 as expected.

echo-ing the distccd execution line from dev-environment.sh shows the 
following, which looks correct to me!

PATH=/path/to/aboriginal/tip/build/system-image-mipsel/distcc_links 
/path/to/aboriginal/tip/build/system-image-mipsel/../host/distccd 
--no-detach --daemon --listen 127.0.0.1 -a 127.0.0.1 -p 25602 --jobs 1 
--log-stderr --verbose


BTW: off-topic, the zlib version in the various build-control images in 
your hg repo is no longer available from the zlib site. I've bumped the 
version, if you want the (trivial) patches.

> ------------------------------------------------------------------------
>
> 	Rob Landley <mailto:rob at landley.net>
> February 20, 2012 1:46 AM
>
>
>
> No, that can't be it. That fix was for the host toolchain, and distcc
> is using a cross compiler built for the target.
>
> Can you run binaries out of the distcc_links directory? Also, if you
> strip the & off the end and stick an "echo" before this line in
> dev-environment.sh:
>
> PATH="$(pwd)/distcc_links" "$(which distccd)" --no-detach --daemon \
> --listen 127.0.0.1 -a 127.0.0.1 -p $PORT --jobs $CPUS \
> --log-stderr --verbose 2>distccd.log &
>
> Does the PATH and such look right?
>
> Thanks,
>
> Rob
> ------------------------------------------------------------------------
>
> 	Clyde Oxman <mailto:clyde.oxman at gmail.com>
> February 19, 2012 4:58 PM
>
>
> Hi All,
>
> I'm trying to set up some build control images, and have unfortunately 
> found that with the latest aboriginal hg tip, distcc is not working.
>
> The dev-environment.sh script seems to setup distcc correctly, 
> launching the daemon on the host and creating the distcc_links 
> directory, but in the emulated target environment, I constantly get 
> 'Warning: failed to distribute, running locally instead".
>
> Looking at the distccd.log file, I find that it seems that distccd on 
> the host is continually failing to run gcc with 'exit code 110'.
>
> Has anyone run into this?
>
> I would really like to take full advantage of the awesome aboriginal 
> framework to speed up these builds.
>
> Clyde
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/aboriginal-landley.net/attachments/20120220/64a7751f/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compose-unknown-contact.jpg
Type: image/jpeg
Size: 1421 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/aboriginal-landley.net/attachments/20120220/64a7751f/attachment-0003.jpg>


More information about the Aboriginal mailing list