Gentoo Archives: gentoo-user

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