LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 12-23-2010, 10:21 AM   #1
djsmiley2k
Member
 
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 : http://dev.gentoo.org/~rane/icecream.xml however all I ever see is all the jobs going to the local machine.

Code:
[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:

Code:
tim@Musha ~ $ tail -f /var/log/iceccd 
[4855] 16:12:50: scheduler is on 192.168.1.252:8765 (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:

Code:
Slave:
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"
Code:
Master:
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"

Ideas?


ALSO:

If I set the number of jobs that the "Master (64bit system) can run to 0, the
Code:
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 10:55 AM.
 
Old 01-03-2011, 05:09 AM   #2
hiptobecubic
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, 07:07 AM   #3
djsmiley2k
Member
 
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343
Blog Entries: 1

Original Poster
Rep: Reputation: 72
Hey!

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.
 
  


Reply


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 09:39 AM
My c compiler doesn't work after the cross-compiler installed heracles.cn Linux - Newbie 1 06-05-2007 03:55 AM
cross compiler alpha_foobar Linux - General 0 08-17-2005 06:15 PM
Cross compiler !!! hiteshmaisheri Linux - Laptop and Netbook 3 03-05-2005 09:51 AM


All times are GMT -5. The time now is 05:37 PM.

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