oops, how does one re-install gcc?

Tushar Teredesai sukucorp at gmail.com
Tue Oct 18 15:44:57 PDT 2005


On 10/18/05, Matthew Burgess <matthew at linuxfromscratch.org> wrote:
>
> Yes, but have you actually tried to upgrade a glibc installation in-situ
> (i.e. on the OS you're currently booted into)?  I remember quite clearly
> the effects that had when I accidentally replaced my host's glibc with
> an LFS compiled version...it's not pretty, and yes, they were the same
> version (2.3.4).  This may well have been caused by the host having
> vendor-specific patches, or being compiled with a different version of
> gcc, but the experience has definitely put me off ever trying to do such
> a thing on purpose!
>

Yep, lot of times. If I remember correctly, my glibc-2.2 -> glibc-2.3
was like that, and so were many glibc-2.3 upgrades.

Though recently I have started installing each package into a fakeroot
and then copy the files over to their final destination.

In the scenario you mentioned, though the vendor says glibc-2.3.4 it
is in reality glibc-2.3.4 + patches from glibc cvs + vendor specific
patches. So installing a prisitine glibc-2.3.4 is probably a downgrade
rather than an upgrade :)

--
Tushar Teredesai
   mailto:tushar at linuxfromscratch.org
   http://www.linuxfromscratch.org/~tushar/



More information about the lfs-support mailing list