Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-23-2010, 11:21 AM   #1
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343
Blog Entries: 1

Rep: Reputation: 72
Red face Icecream distrobuted cross compiler

Howdy all...

I've got a HTPC I'm trying to setup with xbmc however under the newest ubuntu it doesn't seem to work correctly. X will randomly drop out and reset itself and other things are flaky too. When seeking help its pretty much dead end as none of the devs or anyone with real knowledge of the system hang around online, and the wiki is largely out of date.

Instead I've decided to install something I know and know well - Gentoo - and then stick on xbmc over the top, at least this way I'll be able to get the help of the gentoo community, who are amazing.

Onto my problem:

Its a HTPC..... Gentoo can involve lots of compiling, and while the system is a nice powerful system, it is going to have issues I think trying to compile everything I want and where possible I'd like to not heat it up too much

The answer I came up with is cross compiling on my two other systems. I'm trying to use icecream for the cross compliation as detailed in : however all I ever see is all the jobs going to the local machine.

[29365] 16:18:52: handle_local_job  137
[29365] 16:18:52: handle_local_job_done 137
[29365] 16:18:52: handle_local_job  138
and the slave never gets any:

tim@Musha ~ $ tail -f /var/log/iceccd 
[4855] 16:12:50: scheduler is on (net )
[4855] 16:12:50: scheduler not yet found.
[4855] 16:12:53: reconn Node Name: Musha
  Remote name: 
  Architecture: i686
  Current kids: 0 (max: 5)
  cpu: 937 idle, 0 nice
  load: 0, icecream_load: 0
  memory: 0 (free: 1233)
I don't know what else to try. I'm hoping someone here has used Icecream and has some ideas about what I've missed...

/etc/profile has been updated on both systems:

export PATH="/usr/lib/ccache/bin:/usr/lib/icecc/bin:$PATH"

export ICECC_VERSION="x86_64:/var/icecc/host-i686-target-x86_64.tar.gz,i686:/var/icecc/host-i686-target-i686.tar.gz"
export PATH="/usr/lib/ccache/bin:/usr/lib/icecc/bin:$PATH"

export ICECC_VERSION="i686:/var/icecc/host-x86_64-target-i686.tar.gz,x86_64:/var/icecc/host-x86_64-target-x86-64.tar.gz"



If I set the number of jobs that the "Master (64bit system) can run to 0, the
scheduler reports:
[24802] 16:54:44: no job stats - looking at MushaV2 load: 273 can install: x86_64
[24802] 16:54:44: no job stats - looking at Musha load: 32 can install: 
[24802] 16:54:47: no job stats - looking at MushaV2 load: 405 can install: x86_64
[24802] 16:54:47: no job stats - looking at Musha load: 32 can install:
Showing it thinks that Musha (the slave) cannot run anything, and that the Master can ONLY do 64bit, it wont cope with i686....

Last edited by djsmiley2k; 12-23-2010 at 11:55 AM.
Old 01-03-2011, 06:09 AM   #2
LQ Newbie
Registered: Oct 2009
Distribution: Slackware
Posts: 23

Rep: Reputation: 2
I'm having the same problem. It's so bent on refusing to hand out jobs that if i start the daemon with "-m 0", it will just accept the number of jobs matching "make -j $NUMJOBS" and then hang.

Have you tried explicitly setting the network name "-n" ?
Old 01-03-2011, 08:07 AM   #3
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343

Original Poster
Blog Entries: 1

Rep: Reputation: 72

At least I'm not going insane, I hadn't seen anyone else online with this issue and was convinced I'd setup something wrong, but it appears that icecream just has a very small userbase :/

I did try setting the network with -n - same issue.
Old 10-21-2018, 03:10 PM   #4
LQ Newbie
Registered: Sep 2018
Posts: 18

Rep: Reputation: Disabled


Just want to mention, that even 7 years later, i've the feeling, that nothing really changed in the behaviour of icecream:
Having here 4 PCs in the Network: 2x Intel i3, 1x Intel Celeron, 1x Intel P4 (=pretty old laptop), all connected via 100MBit Ethernet, which never showed any signs of poor performance during rsync, nfs, scp or surfing the www.
Trying to avoid slow compiling on the P4 and to transfer some jobs on the I3 machines or at least on the Celeron.
On all PCs: current icecream from github; one i3: LFS/BLFS approx. 6 years old; other 3 PCs: LFS/BLFS 8.3

I'm pretty sure, that i setup all things not to weired, because from time to time a few jobs indeed get distributed to a different machine. But overall it's just not at all working as expected:
Poor old P4 is compiling itself almost to death, while both i3 and the Celeron are pretty much ideling. Also it seems to be impossible to disable local compiling on the weak machine. Also never watched different compile jobs to be distributed to more than one PC during the same build process.
Pretty sad result.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
which cross compiler to use? lqu Linux - Embedded & Single-board computer 1 12-16-2010 10:39 AM
My c compiler doesn't work after the cross-compiler installed Linux - Newbie 1 06-05-2007 04:55 AM
cross compiler alpha_foobar Linux - General 0 08-17-2005 07:15 PM
Cross compiler !!! hiteshmaisheri Linux - Laptop and Netbook 3 03-05-2005 10:51 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration