From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-86102-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1KyXE3-0007e0-4c
	for garchives@archives.gentoo.org; Fri, 07 Nov 2008 19:42:35 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9C028E0290;
	Fri,  7 Nov 2008 19:42:34 +0000 (UTC)
Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 788E3E0290
	for <gentoo-user@lists.gentoo.org>; Fri,  7 Nov 2008 19:42:34 +0000 (UTC)
Received: by el-out-1112.google.com with SMTP id z25so717160ele.1
        for <gentoo-user@lists.gentoo.org>; Fri, 07 Nov 2008 11:42:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:sender
         :to:subject:in-reply-to:mime-version:content-type
         :content-transfer-encoding:content-disposition:references
         :x-google-sender-auth;
        bh=1DBF7Qdcbrkd75u9f1ZqLs0O2ZHmk/p7CBQCkBvP/O0=;
        b=nWJDuyDts9RnnKTizyBoHVATHfOSp8jsi7BmgKR51FOPL4wsg7FZR/Nc6SZAkexVTq
         rv7dVHC9TjT631hJjjply/vKOKGpF5+UQBhu2LFDYBO+zlz9Nlnr9oFCimn7H8tXMyGi
         ws6kibJryOfpIyfNTyI4tLkFmWrGnSNXhaekE=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:sender:to:subject:in-reply-to:mime-version
         :content-type:content-transfer-encoding:content-disposition
         :references:x-google-sender-auth;
        b=ONAgPF3c0be0vkEk2HUcaIKUtI5xmwdw1XxJlPq44439em5Av0y5fULmM2x1UT+8Kr
         6ck9OyTW3mFYl8G/XsDqalbgAmuC815UlTKubPRezgH9VAZuybwdruheBr0AOY+JB3bV
         mOfhznlTVBCoqzRSEJX0qcFGYG83QmBAE8bTE=
Received: by 10.90.104.20 with SMTP id b20mr3434194agc.50.1226086951857;
        Fri, 07 Nov 2008 11:42:31 -0800 (PST)
Received: by 10.90.81.1 with HTTP; Fri, 7 Nov 2008 11:42:31 -0800 (PST)
Message-ID: <38af3d670811071142r2ccd1ad3ueab48fdf7caa7bb4@mail.gmail.com>
Date: Fri, 7 Nov 2008 17:42:31 -0200
From: "Jorge Peixoto de Morais Neto" <please.no.spam.here@gmail.com>
Sender: jorgepeixotomorais@gmail.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Can't emerge sandbox
In-Reply-To: <200811061802.14462.peter@humphrey.ukfsn.org>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <200811061802.14462.peter@humphrey.ukfsn.org>
X-Google-Sender-Auth: eeca3113c0b28faa
X-Archives-Salt: cac11ecd-c1ae-464a-8390-dc07cc5fdeb2
X-Archives-Hash: 7532e1db703dfcb18be2aa26be1c21d1

On Thu, Nov 6, 2008 at 4:02 PM, Peter Humphrey <peter@humphrey.ukfsn.org> wrote:
> Hello,
>
> Recent versions of portage have suggested an emerge -e world, so I thought
> I'd try it. It got as far as sandbox, which failed with the once-common "C
> compiler cannot create executables" error. Of course I
> tried "FEATURES=-sandbox emerge sandbox" but that failed with the same
> error.
>
> I wondered what is set wrongly in my environment, so I booted a minimal
> installation CD and chrooted into the system, but with the same result.
>
> Can anyone suggest where my problem might lie? I've attached the log file.
> I'm confused by the apparent references in it to the cross-compiler. Google
> seems to have only old references.
>
> This is a dual-Opteron box with a mostly-amd64 setup - only a few packages
> are ~amd64. I'm also running an emerge -eq world on another amd64 box,
> which has had no problem with sandbox. Same versions of portage and sandbox
> on both machines.

/usr/libexec/gcc/i686-pc-linux-gnu/ld: crt1.o: No such file: No such
file or directory

Could you try
locate crt1.o
?

By the way, why are you using gcc 4.2? I would either stick with the
stable gcc 4.1 or use gcc 4.3 (which is used by a number of recent
distributions, is used even in Debian Lenny - which should be released
shortly - and has a number of improvements)