Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't emerge sandbox
Date: Mon, 10 Nov 2008 09:35:48
Message-Id: 200811100935.27608.peter@humphrey.ukfsn.org
In Reply to: Re: [gentoo-user] Can't emerge sandbox by Helmut Jarausch
1 On Thursday 06 November 2008 18:42:44 Helmut Jarausch wrote:
2
3 > The lines
4 > configure:2292: i686-pc-linux-gnu-gcc -march=opteron -O2 -pipe
5 > conftest.c >&5 /usr/libexec/gcc/i686-pc-linux-gnu/ld: crt1.o: No such
6 > file: No such file or directory collect2: ld returned 1 exit status
7 >
8 > look like a misconfigured gcc.
9
10 That was it.
11
12 > Can you emerge any package which requires the C-compiler?
13 > Try
14 > gcc-config -l
15
16 $ gcc-config -l
17 [1] i686-pc-linux-gnu-4.2.2 *
18
19 [2] x86_64-pc-linux-gnu-4.1.2 *
20
21 $ qfile i686-pc-linux-gnu-4.2.2
22 cross-i686-pc-linux-gnu/gcc (/etc/env.d/gcc/i686-pc-linux-gnu-4.2.2)
23
24 I did have the cross-compiler stuff installed when I was experimenting with
25 distcc, but I removed it long ago. Looks like something hung on.
26
27 A simple emerge -C cross-i686-pc-linux-gnu/gcc corrected the problem, as
28 now:
29
30 $ gcc-config -l
31 [1] x86_64-pc-linux-gnu-4.1.2 *
32
33 ...and emerge -q1 sandbox runs to completion. I still don't know though why
34 only sandbox was affected - 21 other packages were merged ok.
35
36 > I hope this helps,
37
38 Certainly did - thanks. Now to figure out how to resume the emerge -e world
39 from where it stopped :-)
40
41 Thanks also to the others who offered help.
42
43 --
44 Rgds
45 Peter

Replies

Subject Author
Re: [gentoo-user] Can't emerge sandbox Neil Bothwick <neil@××××××××××.uk>