Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Will a 64-bit-no-multilib machine cross-compile 32-bit code?
Date: Wed, 25 Mar 2015 06:44:13
Message-Id: 20150325064402.GA27920@waltdnes.org
In Reply to: Re: [gentoo-user] Will a 64-bit-no-multilib machine cross-compile 32-bit code? by Walter Dnes
1 On Wed, Mar 25, 2015 at 01:20:57AM -0400, Walter Dnes wrote
2 > On Tue, Mar 24, 2015 at 03:01:14PM -0400, Fernando Rodriguez wrote
3 >
4 > > Let me know if you have any luck with pump mode, I didn't. IIRC it sort of
5 > > worked but most compiles fell back to compiling locally so it's was actually
6 > > slower.
7 >
8 > It appears to be working. It took a couple of tries to get it going.
9 > That final required change was to /etc/distcc/hosts on the client.
10 > Apparently the required syntax for pump mode is like so
11 >
12 > 192.168.123.251,cpp,lzo
13 >
14 > where 192.168.123.251 is the host. "cpp" enables pump mode, and "lzo"
15 > (for compression) is also required. I originally ran...
16 >
17 > emerge -pv --changed-use --deep --update @world
18 >
19 > ...on the client. Things looked OK, so I ran
20 >
21 > pump emerge --changed-use --deep --update @world
22 >
23 > ...and let er rip.
24
25 An update... I see a small number of messages like so...
26 dev-libs:glib-2.42.2:20150325-043507.log:__________Warning: 1 pump-mode
27 compilation(s) failed on server, but succeeded locally.
28
29 There are 323 modules in dev-libs/glib-2.42.2, so 322 of them
30 succeeded on the host, and only one had ro be done locally. I can live
31 with that. A snippet from the logfile on the host...
32
33 Mar 25 00:48:33 d531 distccd[22510]: (dcc_job_summary) client:
34 192.168.123.253:37977 COMPILE_OK exit:0 sig:0 core:0 ret:0 time:382ms
35 i686-pc-linux-gnu-gcc
36 /var/tmp/portage/dev-libs/glib-2.42.2/work/glib-2.42.2/gio/gvolumemonitor.c
37 Mar 25 00:48:35 d531 distccd[22463]: (dcc_job_summary) client:
38 192.168.123.253:37978 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:240ms
39 i686-pc-linux-gnu-gcc
40 /var/tmp/portage/dev-libs/glib-2.42.2/work/glib-2.42.2/gio/gzlibcompressor.c
41 Mar 25 00:49:36 d531 distccd[22479]: (dcc_job_summary) client:
42 192.168.123.253:37979 COMPILE_OK exit:0 sig:0 core:0 ret:0 time:268ms
43 i686-pc-linux-gnu-gcc
44 /var/tmp/portage/dev-libs/glib-2.42.2/work/glib-2.42.2/gio/ggtknotificationbackend.c
45
46 --
47 Walter Dnes <waltdnes@××××××××.org>
48 I don't run "desktop environments"; I run useful applications