Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] TROUBLE gcc profile invalid
Date: Mon, 22 Nov 2010 23:41:06
Message-Id: 201011230140.10840.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] TROUBLE gcc profile invalid by Allan Gottlieb
1 Apparently, though unproven, at 17:11 on Monday 22 November 2010, Allan
2 Gottlieb did opine thusly:
3
4 > Today's emerge update world merged gcc-4.5-1.
5 > (I do have the build system package feature enabled.)
6 >
7 > emerge --ignore-default-opts --depclean --ask; revdep-rebuild -- --ask
8 >
9 > asked to unmerge 4.5.1 and keep 4.5.1-r1.
10 >
11 > I said yes and am now in trouble since my gcc-profile is invlaid
12 > ajglap gottlieb # gcc-config -l
13 > * gcc-config: Active gcc profile is invalid!
14 >
15 > [1] x86_64-pc-linux-gnu-4.5.1
16 > ajglap gottlieb #
17 >
18 > What should I do?
19 >
20 > thanks,
21 > allan
22 >
23 > PS I do have another machine with this same arch amd64.
24 > However the main machine (the on in trouble) is amd64~ and the others
25 > are stable.
26
27
28 I just ran into this same issue myself. I was getting the dreaded
29
30 "gcc cannot create executables"
31
32 error. With every gcc upgrade prior, stuff has JustWorked(tm). I have
33 buildpkgs so I just installed gcc:4.4, ran
34 fix_libtool_files.sh 4.4.5
35 gcc-config 2 (4.5.1-r1)
36
37 and now it works.
38
39 Weird. It seems as if possibly the 4.5.1-r1 ebuild does not do some step 100%.
40 I haven't had time to look into it yet as it's 2am. Maybe tomorrow.
41
42
43 --
44 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] TROUBLE gcc profile invalid Allan Gottlieb <gottlieb@×××.edu>