On Thursday 06 November 2008 18:42:44 Helmut Jarausch wrote:

> The lines
> configure:2292: i686-pc-linux-gnu-gcc -march=opteron -O2 -pipe  
> conftest.c  >&5 /usr/libexec/gcc/i686-pc-linux-gnu/ld: crt1.o: No such
> file: No such file or directory collect2: ld returned 1 exit status
>
> look like a misconfigured gcc.

That was it.

> Can you emerge any package which requires the C-compiler?
> Try
> gcc-config -l

$ gcc-config -l
 [1] i686-pc-linux-gnu-4.2.2 *

 [2] x86_64-pc-linux-gnu-4.1.2 *

$ qfile i686-pc-linux-gnu-4.2.2
cross-i686-pc-linux-gnu/gcc (/etc/env.d/gcc/i686-pc-linux-gnu-4.2.2)

I did have the cross-compiler stuff installed when I was experimenting with 
distcc, but I removed it long ago. Looks like something hung on.

A simple emerge -C cross-i686-pc-linux-gnu/gcc corrected the problem, as 
now:

$ gcc-config -l
 [1] x86_64-pc-linux-gnu-4.1.2 *

...and emerge -q1 sandbox runs to completion. I still don't know though why 
only sandbox was affected - 21 other packages were merged ok.

> I hope this helps,

Certainly did - thanks. Now to figure out how to resume the emerge -e world 
from where it stopped :-)

Thanks also to the others who offered help.

-- 
Rgds
Peter

Reply via email to