This is an old revision of the document!


There are many versions of gcc in the ports tree.

  • It is painful for builders (especially the ones using qemu) to have so many versions.
  • Some only exist to satisfy dependencies.

This page discusses the list of ports that we should try to update to reduce the dependencies.

:!: The usage column does not include ports that hardwire the version. See HardcodedGCCVersions for that list.

port usage status comments
gcc4.8 unsupported
gcc6 Ada-language ports deleted TODO defined in Mk/Uses/ada.mk
gcc7 unsupported
gcc8 tree-wide default (powerpcspe) supported defined in Mk/bsd.default-versions.mk
gcc9 tree-wide default (all but powerpcspe) supported defined in Mk/bsd.default-versions.mk
gcc10 under test supported see PR 246700 for exp-run to switch to as tree-wide default

Processing INDEX-13 on amd64 20191202 (and deleting self-references) produces:

   3  gcc4
   0  gcc5
  49  gcc6
   2  gcc7
   0  gcc8
1392  gcc9
   0  gcc10

:!: on powerpc64, gcc8 is needed to build gcc9, so the number is nonzeo (and large).


  • obsoletegccversions.1591784292.txt.gz
  • Last modified: 2020/06/10 10:18
  • by MarkLinimon