Gentoo Archives: gentoo-user

From: Roger Mason <rmason@×××.ca>
To: gentoo-user@l.g.o
Subject: [gentoo-user] crossdev/icecream
Date: Fri, 22 Jan 2010 16:18:50
Message-Id: y65ljfq6rlz.fsf@perthite.esd.mun.ca
1 hello,
2
3 I'm trying to set up icecream as a cross-compiler to use a core2 duo
4 (amd64) machine to compile for i686 machines.
5
6 I worked my way through the gentoo wiki icecream howto. I ran crossdev:
7
8 pyrope ~ # crossdev -t i686-pc-linux-gnu
9 -------------------------------------------------------------------------------------------------------------------
10 * Host Portage ARCH: amd64
11 * Target Portage ARCH: x86
12 * Target System: i686-pc-linux-gnu
13 * Stage: 4 (C/C++ compiler)
14
15 * binutils: binutils-[latest]
16 * gcc: gcc-[latest]
17 * headers: linux-headers-[latest]
18 * libc: glibc-[latest]
19
20 * PORTDIR_OVERLAY: /usr/local/portage
21 * PORT_LOGDIR: /var/log/portage
22 * PKGDIR: /usr/portage/packages/cross/i686-pc-linux-gnu
23 * PORTAGE_TMPDIR: /var/tmp/cross/i686-pc-linux-gnu
24 _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ -
25 * _ - ~ - _ - ~ - _ - ~ - _ -
26 * Forcing the latest versions of {binutils,gcc}-config/gnuconfig ...
27 * [ ok ]
28 * Log: /var/log/portage/cross-i686-pc-linux-gnu-binutils.log
29 * Emerging cross-binutils ...
30 * [ ok ]
31 * Log: /var/log/portage/cross-i686-pc-linux-gnu-linux-headers-quick.log
32 * Emerging cross-linux-headers-quick ...
33 * [ ok ]
34 * Log: /var/log/portage/cross-i686-pc-linux-gnu-glibc-headers.log
35 * Emerging cross-glibc-headers ...
36 * [ ok ]
37 * Log: /var/log/portage/cross-i686-pc-linux-gnu-gcc-stage1.log
38 * Emerging cross-gcc-stage1 ...
39 * [ ok ]
40 * Log: /var/log/portage/cross-i686-pc-linux-gnu-linux-headers.log
41 * Emerging cross-linux-headers ...
42 * [ ok ]
43 * Log: /var/log/portage/cross-i686-pc-linux-gnu-glibc.log
44 * Emerging cross-glibc ...
45 * [ ok ]
46 * Log: /var/log/portage/cross-i686-pc-linux-gnu-gcc-stage2.log
47 * Emerging cross-gcc-stage2 ...
48 * [ ok]
49
50 Then:
51
52 pyrope ~ # icecream-create-env i686-pc-linux-gnu
53 '/usr//i686-pc-linux-gnu/gcc-bin/4.4.2/i686-pc-linux-gnu-gcc' is no
54 executable.
55 Testing icecc environment...
56 tar: -C: Cannot open: No such file or directory
57 tar: Error is not recoverable: exiting now
58 tar: Child returned status 2
59 tar: /tmp/tmp.mvQTLnojyc: Not found in archive
60 tar: Error exit delayed from previous errors
61 chroot: failed to run command `/usr/bin/gcc': No such file or directory
62
63 Creating icecc environment failed. Please see error message(s) above!
64 The temporary directory is: /tmp/tmp.mvQTLnojyc/
65
66 Looking in /usr/i686-pc-linux-gnu/ there is no gcc-bin/ directory, hence
67 the error.
68
69 Does anyone have suggestions on how to proceed?
70
71 Thanks,
72 Roger