From: Alan Mackenzie <acm@muc.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] gcc-config: Active gcc profile is invalid!
Date: Thu, 28 Apr 2011 13:11:21 +0000 [thread overview]
Message-ID: <20110428131121.GB4694@acm.acm> (raw)
In-Reply-To: <4DB82242.80707@kutulu.org>
Hi, Mike.
On Wed, Apr 27, 2011 at 10:03:46AM -0400, Mike Edenfield wrote:
> On 4/27/2011 8:16 AM, Alan Mackenzie wrote:
> > Hi, Gentoo.
> > I got the error message
> > gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
> > whilst trying to emerge something. Running gcc-config myself
> > # gcc-config -l, I get back this error message:
> > * gcc-config: Active gcc profile is invalid!
> > [1] x86_64-pc-linux-gnu-4.4.5
> > . 4.4.5 is indeed the version of my gcc package. This got updated very
> > recently.
> > What is a "gcc profile"? Where can I find it, and what do I need to do
> > to make it valid?
> Your gcc profile is a set of gcc specs and symlinks to a specific gcc
> version, since you can have more than one. The error just means
> gcc-config didn't get run properly before uninstalling your previous
> version of gcc.
OK.
> Run gcc-config to set your profile to the one you have listed:
> # gcc-config 1
Done that. It works. Thanks!
> You will get the error every time you run gcc-config until you set a
> valid profile; after that it should go away and builds should work again.
> --Mike
--
Alan Mackenzie (Nuremberg, Germany).
prev parent reply other threads:[~2011-04-28 13:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-27 12:16 [gentoo-user] gcc-config: Active gcc profile is invalid! Alan Mackenzie
2011-04-27 12:37 ` justin
2011-04-27 14:03 ` Mike Edenfield
2011-04-28 13:11 ` Alan Mackenzie [this message]
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=20110428131121.GB4694@acm.acm \
--to=acm@muc.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