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 unsupported 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 (mips*, powerpc64) supported defined in Mk/bsd.default-versions.mk

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 poweprc64, gcc8 is needed to build gcc9, so the number is nonzeo (and large).


  • obsoletegccversions.1575277114.txt.gz
  • Last modified: 2019/12/02 08:58
  • by MarkLinimon