On Wednesday, 20 June 2018 11:43:32 BST gevisz wrote:
> After updating portage tree today, portage
> suggested to upgrade gcc from 6.4 to 7.3
> version what I have done just now.
> 
> Nevertheless,
> # gcc-config --list-profiles
>  [1] x86_64-pc-linux-gnu-6.4.0 *
>  [2] x86_64-pc-linux-gnu-7.3.0
> shows that I still have version 6.4 as a default.

I'm on gcc-7.3.0-r3 and have not noticed any problems on 3 boxen so far.


> As https://wiki.gentoo.org/wiki/Upgrading_GCC
> still do not have any specific instructions on
> switching to gcc version 7.3, I am still afread
> of switching to gcc version 7.3 and would like
> to ask if anybody encountered some problem
> after switching to gcc version 7.3 and which
> packages should be rebuild after such switching.
> 
> Thank you in advance for your help.

I didn't have to rebuild anything, but if you have reasons to fear breakage 
you can rebuild your toolchain:

1. Use gcc-config to select x86_64-pc-linux-gnu-7.3.0
2. Re-source /etc/profile by running in your current console/terminal:
    . /etc/profile
3. Re-emerge libtool:
    emerge -1 sys-devel/libtool
4. Re-emerge the following packages in this order:
    emerge -1 sys-devel/gcc-7.3.0-r3
    emerge -1 sys-devel/binutils
    emerge -1 sys-libs/glibc
5. You could if you want re-emerge your entire system, 'emerge -e @world' or 
if you would rather conserve electricity wait as different packages come up 
for an update over time.

If my experience to date holds true and for a general purpose desktop none of 
the above rebuilds are necessary, other than switching your gcc to 7.3.0.

-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to