1 |
I tried to use a x86 pc to aid the compiling of packages for amd64 via |
2 |
distcc. I followed the official "DistCC Cross-compiling Guide" [1] but I |
3 |
had no luck. Is it possible at all, am I doing something wrong or there |
4 |
is a bug? |
5 |
|
6 |
[1] http://www.gentoo.org/doc/en/cross-compiling-distcc.xml |
7 |
|
8 |
|
9 |
The i686 pc gives: |
10 |
|
11 |
localhost ~ # crossdev -t x86_64-pc-linux-gnu |
12 |
* You need to set PORTDIR_OVERLAY in your make.conf. |
13 |
* A standard setting is /usr/local/portage |
14 |
localhost ~ # echo PORTDIR_OVERLAY=/usr/local/portage >> /etc/make.conf |
15 |
localhost ~ # crossdev -t x86_64-pc-linux-gnu |
16 |
!!! Invalid PORTDIR_OVERLAY (not a dir): '/usr/local/portage' |
17 |
!!! Invalid PORTDIR_OVERLAY (not a dir): '/usr/local/portage' |
18 |
|
19 |
localhost ~ # mkdir /usr/local/portage |
20 |
localhost ~ # crossdev -t x86_64-pc-linux-gnu |
21 |
-------------------------------------------------------------------------------- |
22 |
* Host Portage ARCH: x86 |
23 |
* Target Portage ARCH: amd64 |
24 |
* Target System: x86_64-pc-linux-gnu |
25 |
* Stage: 4 (C/C++ compiler) |
26 |
|
27 |
* binutils: binutils-[latest] |
28 |
* gcc: gcc-[latest] |
29 |
* headers: linux-headers-[latest] |
30 |
* libc: glibc-[latest] |
31 |
|
32 |
* PORTDIR_OVERLAY: /usr/local/portage |
33 |
* PORT_LOGDIR: /var/log/portage |
34 |
* PKGDIR: /usr/portage/packages/cross/x86_64-pc-linux-gnu |
35 |
* PORTAGE_TMPDIR: /tmp/cross/x86_64-pc-linux-gnu |
36 |
_ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ |
37 |
- _ - |
38 |
* Forcing the latest versions of binutils-config/gcc-config |
39 |
... [ ok ] |
40 |
* Log: /var/log/portage/cross-x86_64-pc-linux-gnu-binutils.log |
41 |
* Emerging cross-binutils ... |
42 |
|
43 |
* binutils failed :( |
44 |
* If you file a bug, please attach the following logfiles: |
45 |
* /var/log/portage/cross-x86_64-pc-linux-gnu-info.log |
46 |
* /var/log/portage/cross-x86_64-pc-linux-gnu-binutils.log |
47 |
|
48 |
|
49 |
|
50 |
-- |
51 |
Best regards, |
52 |
Daniel |
53 |
|
54 |
|
55 |
-- |
56 |
gentoo-amd64@g.o mailing list |