Gentoo Archives: gentoo-user

From: Daniel Frey <djqfrey@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] GCC upgrade can't run fix_libtool_files
Date: Mon, 16 Jun 2014 17:02:55
Message-Id: 539F2336.1050103@gmail.com
In Reply to: [gentoo-user] GCC upgrade can't run fix_libtool_files by Nikos Chantziaras
1 On 06/16/2014 09:56 AM, Nikos Chantziaras wrote:
2 > Does someone know what causes the error? I got this when upgrading from
3 > GCC 4.8.2 to 4.8.3:
4 >
5 >>>> Installing (1 of 1) sys-devel/gcc-4.8.3
6 > * gcc-config: Could not locate 'x86_64-pc-linux-gnu-4.8.2' in
7 > '/etc/env.d/gcc/' !
8 > * Running 'fix_libtool_files.sh 4.8.2'
9 > * Scanning libtool files for hardcoded gcc library paths...
10 > * gcc-config: Active gcc profile is invalid!
11 > gcc-config: error: could not run/locate 'gcc'
12 > :0: assertion failed: (gcc -dumpversion) | getline NEWVER)
13 >
14 >
15
16 It looks like you've upgraded gcc and removed the version that was
17 currently active.
18
19 What's the output of `gcc-config -l`?
20
21 It should look something like this:
22 $ sudo gcc-config -l
23 [1] x86_64-pc-linux-gnu-4.7.3 *
24
25
26 The asterisk means it's active. If you see a list and none are active,
27 you need to set one.
28
29 Dan

Replies

Subject Author
[gentoo-user] Re: GCC upgrade can't run fix_libtool_files Nikos Chantziaras <realnc@×××××.com>