1 |
2018-06-20 15:49 GMT+03:00 gevisz <gevisz@×××××.com>: |
2 |
> 2018-06-20 15:01 GMT+03:00 gevisz <gevisz@×××××.com>: |
3 |
>> 2018-06-20 14:16 GMT+03:00 Mick <michaelkintzios@×××××.com>: |
4 |
>>> On Wednesday, 20 June 2018 11:43:32 BST gevisz wrote: |
5 |
>>>> After updating portage tree today, portage |
6 |
>>>> suggested to upgrade gcc from 6.4 to 7.3 |
7 |
>>>> version what I have done just now. |
8 |
>>>> |
9 |
>>>> Nevertheless, |
10 |
>>>> # gcc-config --list-profiles |
11 |
>>>> [1] x86_64-pc-linux-gnu-6.4.0 * |
12 |
>>>> [2] x86_64-pc-linux-gnu-7.3.0 |
13 |
>>>> shows that I still have version 6.4 as a default. |
14 |
>>> |
15 |
>>> I'm on gcc-7.3.0-r3 and have not noticed any problems on 3 boxen so far. |
16 |
>>> |
17 |
>>> |
18 |
>>>> As https://wiki.gentoo.org/wiki/Upgrading_GCC |
19 |
>>>> still do not have any specific instructions on |
20 |
>>>> switching to gcc version 7.3, I am still afread |
21 |
>>>> of switching to gcc version 7.3 and would like |
22 |
>>>> to ask if anybody encountered some problem |
23 |
>>>> after switching to gcc version 7.3 and which |
24 |
>>>> packages should be rebuild after such switching. |
25 |
>>>> |
26 |
>>>> Thank you in advance for your help. |
27 |
>>> |
28 |
>>> I didn't have to rebuild anything, but if you have reasons to fear breakage |
29 |
>>> you can rebuild your toolchain: |
30 |
>>> |
31 |
>>> 1. Use gcc-config to select x86_64-pc-linux-gnu-7.3.0 |
32 |
>>> 2. Re-source /etc/profile by running in your current console/terminal: |
33 |
>>> . /etc/profile |
34 |
>>> 3. Re-emerge libtool: |
35 |
>>> emerge -1 sys-devel/libtool |
36 |
>>> 4. Re-emerge the following packages in this order: |
37 |
>>> emerge -1 sys-devel/gcc-7.3.0-r3 |
38 |
>>> emerge -1 sys-devel/binutils |
39 |
>>> emerge -1 sys-libs/glibc |
40 |
>>> 5. You could if you want re-emerge your entire system, 'emerge -e @world' or |
41 |
>>> if you would rather conserve electricity wait as different packages come up |
42 |
>>> for an update over time. |
43 |
>>> |
44 |
>>> If my experience to date holds true and for a general purpose desktop none of |
45 |
>>> the above rebuilds are necessary, other than switching your gcc to 7.3.0. |
46 |
>> |
47 |
>> Thank you for your reply. I do not want to rebuild gcc-7.3 for the second time |
48 |
>> today (as far as the temperature in my room is already +30°C). So, I will stick |
49 |
>> to your last advice: I will just switch the default gcc version to 7.3 |
50 |
>> and wait for problems to appear. :) |
51 |
> |
52 |
> Just have rebuilt libtool and llvm, to have less problems. :) |
53 |
|
54 |
Just today vlc failed to compile because libebml have been compiled |
55 |
with gcc-6.4.0. |
56 |
(Thanks to Alexander Kapshuk for the tip.) |
57 |
|
58 |
So, libebml should be added to the list of packages that have to be |
59 |
recompiled with gcc-7.3 |
60 |
(namely, to libtool and llvm), and recompiling everything twice after |
61 |
updating major version |
62 |
of gcc does not seem to be so bad idea for me any more. :) |