From: Mike Edenfield <kutulu@kutulu.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] gcc-config: Active gcc profile is invalid!
Date: Wed, 27 Apr 2011 10:03:46 -0400 [thread overview]
Message-ID: <4DB82242.80707@kutulu.org> (raw)
In-Reply-To: <20110427121625.GA6482@acm.acm>
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.
Run gcc-config to set your profile to the one you have listed:
# gcc-config 1
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
next prev parent reply other threads:[~2011-04-27 14:05 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 [this message]
2011-04-28 13:11 ` Alan Mackenzie
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=4DB82242.80707@kutulu.org \
--to=kutulu@kutulu.org \
--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