* [gentoo-user] gcc-config: Active gcc profile is invalid!
@ 2011-04-27 12:16 Alan Mackenzie
2011-04-27 12:37 ` justin
2011-04-27 14:03 ` Mike Edenfield
0 siblings, 2 replies; 4+ messages in thread
From: Alan Mackenzie @ 2011-04-27 12:16 UTC (permalink / raw
To: gentoo-user
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?
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] gcc-config: Active gcc profile is invalid!
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
1 sibling, 0 replies; 4+ messages in thread
From: justin @ 2011-04-27 12:37 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 595 bytes --]
On 27/04/11 14:16, 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?
>
gcc-config 1
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] gcc-config: Active gcc profile is invalid!
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
1 sibling, 1 reply; 4+ messages in thread
From: Mike Edenfield @ 2011-04-27 14:03 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] gcc-config: Active gcc profile is invalid!
2011-04-27 14:03 ` Mike Edenfield
@ 2011-04-28 13:11 ` Alan Mackenzie
0 siblings, 0 replies; 4+ messages in thread
From: Alan Mackenzie @ 2011-04-28 13:11 UTC (permalink / raw
To: gentoo-user
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).
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-04-28 13:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox