Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-sparc
Navigation:
Lists: gentoo-sparc: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-sparc@g.o
From: Ferris McCormick <fmccor@g.o>
Subject: RE: How do I recover from deleted gcc on U60
Date: Sat, 22 Jul 2006 12:15:12 +0000 (UTC)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 22 Jul 2006, Mitchell, Ralph wrote:

> -----Original Message-----
> From: Andrew Gaffney [mailto:agaffney@g.o]
>>
>> While the minimal and universal CDs *may( have a gutted gcc with minimal
>> functionality, there is no /var/db/pkg, so you can't really use portage with it.
>>
>> You have 2 options for recovering from this: 1) find someone who has a recent
>> gcc built with the same USE that you had and similar CFLAGS, or 2) reinstall.
>
> Couldn't he unpack a stage3 tarball, chroot into it and do just enough updates to get gcc to the level he previously had??  Then quickpkg it and drop it into the munged system.
>
> Or am I being terribly naive??
>
> Ralph Mitchell
>

If you have a stage3, there are ways to recover the compiler; the 
suggested approach is one.  (You are really doing enough of a reinstall so 
that you can quickpkg gcc, and for that, all you need is to be able to 
point quickpkg into your unpacked stage3.)

You should also be able to copy enough of gcc into your system to rebuild 
it (/usr/share/gcc*, /usr/lib/gcc*, the compiler itself, and 
/etc/env.d/05gcc), or perhaps bring in your stage3 version of 
/etc/env.d/05gcc, modify it to point into your unpacked stage3, env-update 
and go from there).

Good luck,
Ferris

- --
Ferris McCormick (P44646, MI) <fmccor@g.o>
Developer, Gentoo Linux (Devrel, Sparc)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4-ecc0.1.6 (GNU/Linux)

iD8DBQFEwhbUQa6M3+I///cRApDnAJ0c58d3KXZHR5dmrx/ygPr8V/mwPwCeLCV9
7j58LSSfv45fSsfp09cm2ds=
=hqxL
-----END PGP SIGNATURE-----
-- 
gentoo-sparc@g.o mailing list


References:
RE: How do I recover from deleted gcc on U60
-- Longman, Bill
Re: How do I recover from deleted gcc on U60
-- Andrew Gaffney
RE: How do I recover from deleted gcc on U60
-- Mitchell, Ralph
Navigation:
Lists: gentoo-sparc: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
RE: How do I recover from deleted gcc on U60
Next by thread:
how to figure out what an ultrasparc clone is, exactly, before boot (ie by name, pictures, model #, etc)
Previous by date:
RE: How do I recover from deleted gcc on U60
Next by date:
how to figure out what an ultrasparc clone is, exactly, before boot (ie by name, pictures, model #, etc)


Updated Jun 17, 2009

Summary: Archive of the gentoo-sparc mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.