Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12250 - 'emerge --update system' just made GCC *DISAPPEAR ENTIRELY* (testing/unstable portage tree)
Summary: 'emerge --update system' just made GCC *DISAPPEAR ENTIRELY* (testing/unstable...
Status: RESOLVED DUPLICATE of bug 12246
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-16 11:34 UTC by motown
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description motown 2002-12-16 11:34:42 UTC
As I have done many times before, I typed "emerge --pretend --update system"
after doing an emerge. It showed that it wanted to download and build three
packages, including a patched GCC 3.2.1 release.

"Okay", I thought, and went with it: "emerge --update system". After a while, I
checked the shell window and it showed that procpcs-3.1.4 had failed to build. I
thought: "Hmmm, that's disappointing, since I wasn't having any build problems
lately". But then the actual error message caught my attention: "it couldn't
find cc". I tried to run 'cc', and then 'gcc', and it appeared to be gone. I
searched the drive and /usr/bin/gcc was GONE.

Well, that's just great. I've got myself a real chicken-and-egg problem. In
order to obtain GCC, I need to have it rebuilt by portage. But in order for that
to be done, GCC needs to be available on the system... Aaaargh!!!

What I'd like to know is if I did anything wrong. If so, I couldn't imagine what
on earth that could have been. I followed the standard procedure of "emerge
rsync", "emerge --update rsync", "emerge --pretend --update system" and finally
"emerge --update system".

One thing I DID notice though: during the building of the patched GCC, a warning
was displayed (indicated by red asterisks), saying that this was an experimental
patch for developers only.

Anyway, am I the only one who f***ed up this seriously? If not, then this seems
like a serious problem. Emerge does seem to work, it just currently isn't able
to build anything (duh, the compiler is missing).

Now what?
Comment 1 motown 2002-12-16 11:45:16 UTC
Hmmm... It seems that icc (the Intel compiler) is available in the portage tree.
And it must be in binary form, since Intel never released the sources to this
compiler. 

If I'm not mistaken, there is supposed to be some sort of "compiler selection
tool" existing somewhere in Gentoo. At least I'll be able to obtain a
precompiled compiler through portage. 

Do any of you know if icc can be used to build gcc? Or am I really approaching
the bleeding edge on this one? ;)
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2002-12-16 17:33:16 UTC
It sounds like your counter file is corrupt. Care to e-mail me @
cardoe@cardoe.com and I can try to help you.
Comment 3 motown 2002-12-17 18:25:40 UTC
Interesting! I wanted to try getting Gentoo to compile gcc using icc. When I
just ran "emerge gcc" (to see what cc or gcc the make-script would call, so I
could make a temporary dirty symlink from the /opt/intel directory, yes, I know,
utter maddness ;) ), I noticed that the utility gcc-config was responsible for
showing and hiding the gcc compiler and even capable of switching between
compiler version. Most likekly through the use of symlinks. Suddenly, things
started to make sense again. 

Most likely, something went wrong during the last emerge, perhaps in the
sequence in which certain packages were upgraded, resulting in gcc-config
somehow being instructed to incorrectly configure the symlinks normally pointing
to gcc.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2002-12-17 19:19:19 UTC
Now that I think about it. This might be a dup of 12246.
Comment 5 motown 2002-12-17 20:03:09 UTC
Yes, it would appear so. And I really thought I had checked thoroughly enought
before I decided to report this as a new bug. Sorry, about that. :(
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-17 22:35:30 UTC

*** This bug has been marked as a duplicate of 12246 ***