Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 582506

Summary: toolchain.eclass: Documentation doesn't match current behaviour
Product: Gentoo Linux Reporter: Patrick Lauer <patrick>
Component: EclassesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://wiki.gentoo.org/wiki/Upgrading_GCC
Whiteboard:
Package list:
Runtime testing required: ---

Description Patrick Lauer gentoo-dev 2016-05-09 08:00:03 UTC
From toolchain.eclass:

  1990                  ewarn "You might want to review the GCC upgrade guide when moving between"
  1991                  ewarn "major versions (like 4.2 to 4.3):"
  1992                  ewarn "https://wiki.gentoo.org/wiki/Upgrading_GCC"


Wiki says:

"If you are upgrading GCC then you do not need to do anything except switch compiler version and rebuild libtool:"

But with the new auto-switching behaviour this is incorrect, you just need to 'emerge -u gcc' and it'll auto-upgrade (since it removes <gcc-4.9)

And now behaviour is inconsistent, 4.8->4.9 autoswitches, 4.9->5.3 doesn't.
Comment 1 SpanKY gentoo-dev 2016-05-09 16:29:47 UTC
it doesn't remove old versions in all scenarios, nor does that mean the upgrading guide shouldn't be consulted