Re: [gentoo-user] gcc upgrade from 3.x to 4.x, when should I run revdep-rebuild?

2006-09-08 Thread Richard Fish

On 9/8/06, Alan McKinnon <[EMAIL PROTECTED]> wrote:

Richard for the inside dope - he's the resident gcc expert
around here :-)


:-P

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



Re: [gentoo-user] gcc upgrade from 3.x to 4.x, when should I run revdep-rebuild?

2006-09-08 Thread Alan McKinnon
On Thursday 07 September 2006 23:34, [EMAIL PROTECTED] 
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
>
> My question is, should I run revdep-rebuild right after
> emerging the system, or should I wait until after I emerge
> world? My concern was that in between, my system is in an
> unstable intermediate state, and it might be damaged by a
> revdep-rebuild in between.

There's no need to run revdep-rebuild, whatever you do it will 
be redundant. The notices you are seeing are primarily intended 
for when you explicitly emerge packages that other packages may 
link to. So everything that might be relevant to the notice you 
see is going to be recompiled anyway when you run 'emerge -e 
world'.

As previously noted on this list, the mention of using 
revdep-rebuild as a shortcut when upgrading gcc was intended 
for the move from 3.3 to 3.4 *only*. The specifics of that 
upgrade made this shortcut possible, in all other upgrades you 
definitely don't use it. i.e. the guide is in need of an uodate 
to make this explicitly clear. If you need more info, ask 
Richard for the inside dope - he's the resident gcc expert 
around here :-)

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



Re: [gentoo-user] gcc upgrade from 3.x to 4.x, when should I run revdep-rebuild?

2006-09-08 Thread Richard Fish

On 9/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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



[gentoo-user] gcc upgrade from 3.x to 4.x, when should I run revdep-rebuild?

2006-09-07 Thread michael

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

My question is, should I run revdep-rebuild right after emerging the system,
or should I wait until after I emerge world? My concern was that in between,
my system is in an unstable intermediate state, and it might be damaged by a
revdep-rebuild in between.
--
gentoo-user@gentoo.org mailing list