Gentoo Archives: gentoo-user

From: allan gottlieb <gottlieb@×××.edu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: upgrading to gcc-5 (on x86_64-pc-linux-gnu)
Date: Tue, 08 Aug 2017 20:38:44
Message-Id: 87h8xheqwl.fsf@nyu.edu
In Reply to: [gentoo-user] Re: upgrading to gcc-5 (on x86_64-pc-linux-gnu) by Nikos Chantziaras
1 On Tue, Aug 08 2017, Nikos Chantziaras wrote:
2
3 > On 08/08/17 18:13, allan gottlieb wrote:
4 >> gcc-config -l reports
5 >> [1] x86_64-pc-linux-gnu-4.9.3
6 >> [2] x86_64-pc-linux-gnu-4.9.4 *
7 >> [3] x86_64-pc-linux-gnu-5.4.0
8 >>
9 >> The news item from 2015-10-22 suggests (I have gentoolkit-0.3.3)
10 >> # revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc
11 >>
12 >> Is that the entire procedure needed? In particular, ignoring
13 >> performance, can I avoid emerge --emptytree and just execute?
14 >>
15 >> # gcc-config x86_64-pc-linux-gnu-5.4.0
16 >> # revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc
17 >
18 > That usually works. If you want to be 100% sure, you still need a full
19 > @system followed by a @world rebuild. But usually just rebuilding
20 > C++-linked packages will give you a stable system.
21 >
22 > I still recommend a @system rebuild at least though, since it's fast.
23
24 So you propose
25
26 # gcc-config x86_64-pc-linux-gnu-5.4.0
27 # revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc
28 # emerge @system
29
30 I am at 98 of 122 for the revdep-rebuild.
31 I just looked and emerge @system would generate approx 50 merges.
32 The only one that looks long is gcc.
33 That seems unfortunate since I just activated that version of gcc and I
34 believe the gcc ebuild is a bootstrap so gcc-5 was compiled with gcc-5.
35 But I guess it might well link to other items that were compiled with
36 gcc-4.
37
38 I believe that, even though @world includes @system,
39 emerge @system; emerge @world
40 differs from
41 emerge @world
42
43 So there are many possibilities
44
45 1. Stop after the revdep-rebuild
46 2. emerge @system
47 3. emerge --emptytree @system
48 4. emerge @world
49 5. emerge --emptytree @world
50 6. emerge @system; emerge @world
51 7. emerge --emptytree @system; emerge --emptytree @world
52
53 Which ones do you recommend?
54
55 thanks,
56 allan

Replies

Subject Author
Re: [gentoo-user] Re: upgrading to gcc-5 (on x86_64-pc-linux-gnu) Neil Bothwick <neil@××××××××××.uk>