Cross-distcc

Problems with packages? Post here, using [tags] of the package name.

Cross-distcc

Postby Huulivoide » Tue Jun 26, 2012 6:32 pm

I have spent the whole day trying to get my new RPI and desktop pc
to act friendly with distcc.

I think I have gotten everything into a right kind of shape now. I have
done everything said in here http://archlinuxarm.org/developers/dist ... -compiling
and used the redybuilt binaries. I can compile stuff without errors and my
desktop reports

sudo tail /var/log/messages.log master
Jun 26 21:27:43 localhost distccd[13586]: (dcc_job_summary) client: 10.0.0.2:45025 COMPILE_OK exit:0 sig:0 core:0 ret:0 time:11831ms gcc block/elevator.c
Jun 26 21:27:45 localhost distccd[13628]: (dcc_job_summary) client: 10.0.0.2:45028 COMPILE_OK exit:0 sig:0 core:0 ret:0 time:9851ms gcc fs/sync.c
Jun 26 21:27:46 localhost distccd[13574]: (dcc_job_summary) client: 10.0.0.2:45026 COMPILE_OK exit:0 sig:0 core:0 ret:0 time:11976ms gcc kernel/sys.c

suggesting that it is cmpiling stuff alright. But the thing is the Desktop has ~0% CPU nearly
all the time.

distccmon-text in the RPI says:
31694 Preprocess rcupdate.c 10.0.0.1[4]
31687 Compile localhost[0]
31672 Compile localhost[1]
31685 Compile localhost[3]

I think I am misunderstanding the syntax, but doesn't that basicly say that it is
running 1 preprocessing job on the desktop system and 3 compilejobs on localhost.
I have only given 10.0.0.1 (Desktop ) in the HOST list for distcc.

Is the RPI just simply so low powered that it cannot feed any code to the desktop?
Or is something wrong on my settings....?

In general the compilation is REALLY slow.
Huulivoide
 
Posts: 27
Joined: Tue Jun 26, 2012 6:22 pm

Re: Cross-distcc

Postby WarheadsSE » Tue Jun 26, 2012 6:42 pm

It looks like you may have the setup in reverse.

DISTCC_HOSTS="10.3.0.6 10.3.0.2" should be on the master, aka the Pi, telling who to dole work to.

DISTCC_ARGS="--user nobody --allow 10.3.0.0/24" should be on the Client aka the Cross-Compiler telling it who to take work from.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 34 guests