From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-50332-garchives=archives.gentoo.org@gentoo.org>)
	id 1GLb1i-0002td-PX
	for garchives@archives.gentoo.org; Fri, 08 Sep 2006 07:43:51 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k887gtFs032662;
	Fri, 8 Sep 2006 07:42:55 GMT
Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231])
	by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k887bBTt028769
	for <gentoo-user@lists.gentoo.org>; Fri, 8 Sep 2006 07:37:11 GMT
Received: by wx-out-0506.google.com with SMTP id r21so628184wxc
        for <gentoo-user@lists.gentoo.org>; Fri, 08 Sep 2006 00:37:11 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
        b=f/ILtkNTFHkqOCsZpxnwIN4UoFs6/D9fp1MSlaA8Or6yLYfQJ2+vyalb9s1OjZLtfsg707GPvExvqdLHLAKv/PwbF8Zl1SuoBEgxJXHRH7tPt2rx6IUyU/ZeVriClQe4dVklcYg0Ia7IovCFsk65Du1T9A91zC1s3A/i78yhqgM=
Received: by 10.70.66.18 with SMTP id o18mr2229375wxa;
        Fri, 08 Sep 2006 00:37:11 -0700 (PDT)
Received: by 10.70.110.1 with HTTP; Fri, 8 Sep 2006 00:37:10 -0700 (PDT)
Message-ID: <7573e9640609080037r67aec20br653187d9242c541b@mail.gmail.com>
Date: Fri, 8 Sep 2006 00:37:10 -0700
From: "Richard Fish" <bigfish@asmallpond.org>
Sender: richard.j.fish@gmail.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] gcc upgrade from 3.x to 4.x, when should I run revdep-rebuild?
In-Reply-To: <Pine.LNX.4.64.0609071428540.6851@mail.magrittesystems.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <Pine.LNX.4.64.0609071428540.6851@mail.magrittesystems.com>
X-Google-Sender-Auth: 29ae59e0de349802
X-Archives-Salt: bc49a088-2059-43e9-8e67-453be36acecb
X-Archives-Hash: f5e53ed6d9e7cdb15db78c76c8c1b712

On 9/7/06, michael@michaelshiloh.com <michael@michaelshiloh.com> wrote:
> I'm upgrading my gcc from 3.x to 4.x. I've done the gcc switching, and now I'm
> updating my system.
>
> The recommended steps are:
>
>    # emerge -eav system
>    # emerge -eav world
>
> While emerging my system I received a message suggesting I run revdep-rebuild:
>
>    warning - be sure to run revdep-rebuild now

Um, I believe you can ignore this.  The emerge -eav world will rebuild
all packages...there is nothing that revdep-rebuild will catch that
world won't.

Now if you want to keep /using/ the system while it is rebuilding, you could do:

emerge -eav system  # if already complete, don't repeat
revdep-rebuild --library libstdc++.so.6
emerge -eav world

The revdep-rebuild command will recompile all C++ applications, and
will take a damn long time to run.  But less time than rebuilding
world, and once it completes, your C++ apps should at least be sane.
Otherwise you might get ABI conflicts while the world rebuild is going
on.

Of course, those same C++ apps are going to be rebuilt during the
world step...which is kind of lame.  There are some tricks you can use
to avoid rebuilding things twice...search the archives of this list
for ideas.

-Richard
-- 
gentoo-user@gentoo.org mailing list