Gentoo Archives: gentoo-amd64

From: "Michael Weyershäuser" <thedude0001@×××.de>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] crossdev x86 to x86_64
Date: Wed, 15 Nov 2006 02:40:32
Message-Id: 455A7D5B.80407@gmx.de
In Reply to: [gentoo-amd64] crossdev x86 to x86_64 by Daniel Iliev
1 Daniel Iliev wrote:
2 > I tried to use a x86 pc to aid the compiling of packages for amd64 via
3 > distcc. I followed the official "DistCC Cross-compiling Guide" [1] but I
4 > had no luck. Is it possible at all, am I doing something wrong or there
5 > is a bug?
6 >
7 > [1] http://www.gentoo.org/doc/en/cross-compiling-distcc.xml
8 >
9 I'm running such a setup for about 6 months now and I have never run
10 into any package not compiling due to the crossdev environment (and I
11 compile quite a lot of packages as an amd64 AT). So this should in
12 general work without any trouble or patches.
13 >
14 > The i686 pc gives:
15 >
16 > localhost ~ # crossdev -t x86_64-pc-linux-gnu
17 > * You need to set PORTDIR_OVERLAY in your make.conf.
18 > * A standard setting is /usr/local/portage
19 > localhost ~ # echo PORTDIR_OVERLAY=/usr/local/portage >> /etc/make.conf
20 > localhost ~ # crossdev -t x86_64-pc-linux-gnu
21 > !!! Invalid PORTDIR_OVERLAY (not a dir): '/usr/local/portage'
22 > !!! Invalid PORTDIR_OVERLAY (not a dir): '/usr/local/portage'
23 >
24 > localhost ~ # mkdir /usr/local/portage
25 > localhost ~ # crossdev -t x86_64-pc-linux-gnu
26 > --------------------------------------------------------------------------------
27 > * Host Portage ARCH: x86
28 > * Target Portage ARCH: amd64
29 > * Target System: x86_64-pc-linux-gnu
30 > * Stage: 4 (C/C++ compiler)
31 >
32 > * binutils: binutils-[latest]
33 > * gcc: gcc-[latest]
34 > * headers: linux-headers-[latest]
35 > * libc: glibc-[latest]
36 >
37 > * PORTDIR_OVERLAY: /usr/local/portage
38 > * PORT_LOGDIR: /var/log/portage
39 > * PKGDIR: /usr/portage/packages/cross/x86_64-pc-linux-gnu
40 > * PORTAGE_TMPDIR: /tmp/cross/x86_64-pc-linux-gnu
41 > _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~
42 > - _ -
43 > * Forcing the latest versions of binutils-config/gcc-config
44 > ... [ ok ]
45 > * Log: /var/log/portage/cross-x86_64-pc-linux-gnu-binutils.log
46 > * Emerging cross-binutils ...
47 >
48 > * binutils failed :(
49 > * If you file a bug, please attach the following logfiles:
50 > * /var/log/portage/cross-x86_64-pc-linux-gnu-info.log
51 > * /var/log/portage/cross-x86_64-pc-linux-gnu-binutils.log
52
53 If this was a bug I would close it as RESOLVED NEEDINFO right now.
54 Please attach these two log files if you want anybody to be able to help
55 you ;)

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-amd64] crossdev x86 to x86_64 Daniel Iliev <danny@××××××××.com>
Re: [gentoo-amd64] crossdev x86 to x86_64 Daniel Iliev <danny@××××××××.com>