public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Helmut Jarausch <jarausch@igpm.rwth-aachen.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Can't emerge sandbox
Date: Thu, 06 Nov 2008 19:42:44 +0100 (CET)	[thread overview]
Message-ID: <tkrat.499b5d7a74195d35@igpm.rwth-aachen.de> (raw)
In-Reply-To: <200811061802.14462.peter@humphrey.ukfsn.org>

On  6 Nov, Peter Humphrey 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.
> 

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.

Can you emerge any package which requires the C-compiler?
Try 
gcc-config -l
and look which gcc is selected and if you can select a different one.
Then - with this one selected - reemerge the probably newer 
version of gcc which was broken.

I hope this helps,
Helmut.


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



  reply	other threads:[~2008-11-06 18:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-06 18:02 [gentoo-user] Can't emerge sandbox Peter Humphrey
2008-11-06 18:42 ` Helmut Jarausch [this message]
2008-11-10  9:35   ` Peter Humphrey
2008-11-10  9:58     ` Neil Bothwick
2008-11-07  8:16 ` Mick
2008-11-07 19:42 ` Jorge Peixoto de Morais Neto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tkrat.499b5d7a74195d35@igpm.rwth-aachen.de \
    --to=jarausch@igpm.rwth-aachen.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox