Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
using amd 64 for 32 bit distcc compiles
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
JustinHoMi
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2005
Posts: 97

PostPosted: Tue Apr 26, 2005 6:04 am    Post subject: Reply with quote

You'd never get blamed for spam :). I ASKED you... spam comes unwanted.
Back to top
View user's profile Send private message
Tanetal
n00b
n00b


Joined: 02 Nov 2004
Posts: 38
Location: Vienna, Austria

PostPosted: Mon Jun 27, 2005 4:43 am    Post subject: Reply with quote

Hi there!

The solution provided by Steven Robertson works here too, the only thing that will always fail (as far as I know) is compiling the glibc via distcc. The remote emerge -e system fails therefore too.

Workaround: distcc until glibc starts or fails, edit make.conf not to use distcc, emerge -e --resume system, after glibc Ctrl-C the process, edit make.conf again to use distcc, and emerge -e --resume system again. Works like a charm.

Everything else works without fiddling around.

Greetings
/me
_________________
Left to themselves, things tend to go from bad to worse.
If it jams - force it. If it breaks, it needed replacing anyway. - Murphy

Brains x Beauty x Availability = Constant.
This constant is always zero. - Jochen Van Den Bossche
Back to top
View user's profile Send private message
Sm1
Apprentice
Apprentice


Joined: 02 Dec 2003
Posts: 251
Location: Ames, IA

PostPosted: Mon Jun 27, 2005 1:31 pm    Post subject: Reply with quote

Instead of having to stop your compile, you should be able to do something like


FEATURES=-distcc emerge glibc && emerge -e system
Back to top
View user's profile Send private message
Steven Robertson
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2003
Posts: 140
Location: Tampa, FL

PostPosted: Mon Jun 27, 2005 2:31 pm    Post subject: Reply with quote

I don't think that'd work -- emerge -e system ignores the fact that you just emerged glibc (by design). Glancing through the Gentoo dev docs, I don't see any way to override FEATURES on a per-ebuild basis. You could do something ugly like:

Code:
# emerge --oneshot $(emerge --columns -e system -p | grep -oe '[[]ebuild[NSUDRFf ]\+] [^ ]\+[/][^ ]\+' | \
   grep -oe '[^ ]\+[/][^ ]\+' | tr '\n' ' ' | grep -oe '^.*sys-libs/glibc' | sed 's:sys-libs/glibc::g')
# FEATURES="-distcc" emerge glibc
# emerge --oneshot $(emerge --columns -e system -p | grep -oe '[[]ebuild[NSUDRFf ]\+] [^ ]\+[/][^ ]\+' | \
   grep -oe '[^ ]\+[/][^ ]\+' | tr '\n' ' ' | grep -oe 'sys-libs/glibc.*$' | sed 's:sys-libs/glibc::g')


It doesn't require manual intervention, but it's really really ugly.
Back to top
View user's profile Send private message
Tanetal
n00b
n00b


Joined: 02 Nov 2004
Posts: 38
Location: Vienna, Austria

PostPosted: Wed Jun 29, 2005 10:52 am    Post subject: Reply with quote

Hi!

I should have noted that I was installing a new computer using the Stage 1/3 Installation Guide for 2005.0 and GCC 3.4.4.

So the build order was important to me.

Just for compiling only glibc, other solutions would indeed be easier ... ;)

Greetings
/me
Back to top
View user's profile Send private message
topace3
n00b
n00b


Joined: 05 Apr 2005
Posts: 10
Location: Stockholm, Sweden

PostPosted: Wed Jun 29, 2005 5:35 pm    Post subject: crossdev is deprecated Reply with quote

Crossdev is deprecated, according to the Gentoo-distcc documentation.
(http://www.gentoo.org/doc/en/distcc.xml)
this page suggests a cross-compiler HOWTO available at
http://dev.gentoo.org/~vapier/CROSS-COMPILE-HOWTO. Don't know if this helps or not.
_________________
Remember: Once you head down the Dark Path, forever will it dominate your destiny
-Yoda
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum