On 06/16/2014 09:56 AM, Nikos Chantziaras wrote:
> Does someone know what causes the error? I got this when upgrading from
> GCC 4.8.2 to 4.8.3:
> 
>>>> Installing (1 of 1) sys-devel/gcc-4.8.3
>  * gcc-config: Could not locate 'x86_64-pc-linux-gnu-4.8.2' in
> '/etc/env.d/gcc/' !
>  * Running 'fix_libtool_files.sh 4.8.2'
>  * Scanning libtool files for hardcoded gcc library paths...
>  * gcc-config: Active gcc profile is invalid!
> gcc-config: error: could not run/locate 'gcc'
> :0: assertion failed: (gcc -dumpversion) | getline NEWVER)
> 
> 

It looks like you've upgraded gcc and removed the version that was
currently active.

What's the output of `gcc-config -l`?

It should look something like this:
$ sudo gcc-config -l
 [1] x86_64-pc-linux-gnu-4.7.3 *


The asterisk means it's active. If you see a list and none are active,
you need to set one.

Dan

Reply via email to