Gentoo Archives: gentoo-user

From: Jarry <mr.jarry@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] gcc upgrade: Active gcc profile is invalid!
Date: Tue, 19 Oct 2010 17:48:18
Message-Id: 4CBDD956.3090804@gmail.com
1 Hi,
2 I just tried to upgrade gcc (stable amd64, from 4.4.3-r2
3 to 4.4.4-r2) following the procedure recommended in Gentoo
4 GCC Upgrade Guide:
5
6 emerge -uav gcc
7
8 At the end of compilation, I got these strange messages:
9 ====================================================
10
11 * gcc-config: Could not locate 'x86_64-pc-linux-gnu-4.4.3'
12 in '/etc/env.d/gcc/'
13 !
14 * Running 'fix_libtool_files.sh 4.4.3'
15 * Scanning libtool files for hardcoded gcc library paths...
16 cat: ld.so.conf.d/*.conf: No such file or directory
17 * gcc-config: Active gcc profile is invalid!
18 gcc-config: error: could not run/locate 'gcc'
19 :0: assertion failed: (gcc -dumpversion) | getline NEWVER)
20 >>> Original instance of package unmerged safely.
21 * Switching native-compiler to x86_64-pc-linux-gnu-4.4.4 ...
22 * gcc-config: Active gcc profile is invalid!
23 * Your gcc has a bug with GCC_SPECS.
24 * Please re-emerge gcc.
25 * http://bugs.gentoo.org/68395
26
27 >>> Regenerating /etc/ld.so.cache...
28 [ ok ]
29
30 * If you intend to use the gcc from the new profile in an already
31 * running shell, please remember to do:
32
33 * # source /etc/profile
34
35 * If you have issues with packages unable to locate libstdc++.la,
36 * then try running 'fix_libtool_files.sh' on the old gcc versions.
37 * You might want to review the GCC upgrade guide when moving between
38 * major versions (like 4.2 to 4.3):
39 * http://www.gentoo.org/doc/en/gcc-upgrading.xml
40
41 >>> Regenerating /etc/ld.so.cache...
42 >>> Recording sys-devel/gcc in "world" favorites file...
43 >>> Auto-cleaning packages...
44 >>> No outdated packages were found on your system.
45
46 * Regenerating GNU info directory index...
47 * Processed 7 info files.
48 ====================================================
49
50 What does that "invalid profile" mean, and how can I fix it?
51
52 Jarry
53
54
55 _______________________________________________________________
56 This mailbox accepts e-mails only from selected mailing-lists!
57 Everything else is considered to be spam and therefore deleted.

Replies

Subject Author
Re: [gentoo-user] gcc upgrade: Active gcc profile is invalid! Zeerak Mustafa Waseem <zeerak.w@×××××.com>
Re: [gentoo-user] gcc upgrade: Active gcc profile is invalid! Tanstaafl <tanstaafl@×××××××××××.org>
Re: [gentoo-user] gcc upgrade: Active gcc profile is invalid! Andrea Conti <alyf@××××.net>