Nikos Chantziaras <rea...@gmail.com> wrote: > > Now that 5.1 is in Portage (masked), you should keep in mind that > emerging it will result in the 5.1 libraries being used, even if you > keep 4.9 (or 4.8) as the default compiler.
If you should really get problems with this, you can manually remove the corresponding *5.1* line(s) from /etc/ld.so.conf.d/05gcc-x86_64-pc-linux-gnu.conf or change the order and then call env-update. Note that calling gcc-config afterwards would recreate your original file again, so you do not really have to safe it. However, so far I had no problems. OTOH, I do not use a heavy C++ desktop and had already recompiled practically everything with 4.9