notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details
gcc13 GNU Compiler Collection 13
13.3.0_5 lang on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 13.3.0_5Version of this port present on the latest quarterly branch.
Maintainer: salvadore@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-04-29 15:27:09
Last Update: 2026-06-27 20:55:24
Commit Hash: 70f1f8c
People watching this port, also watch:: smartmontools, python311, tmux
License: GPLv3 GPLv3RLE
WWW:
https://gcc.gnu.org
Description:
GCC, the GNU Compiler Collection, supports a number of languages. This port installs the C, C++, and Fortran front ends as gcc13, g++13, and gfortran13, respectively.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (46 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/gcc13-13.3.0_5/catalog.mk
  3. /usr/local/share/licenses/gcc13-13.3.0_5/LICENSE
  4. /usr/local/share/licenses/gcc13-13.3.0_5/GPLv3
  5. /usr/local/share/licenses/gcc13-13.3.0_5/GPLv3RLE
  6. bin/x86_64-portbld-freebsd15.0-c++13
  7. bin/x86_64-portbld-freebsd15.0-g++13
  8. bin/x86_64-portbld-freebsd15.0-gcc13
  9. bin/x86_64-portbld-freebsd15.0-gcc-13.3.0
  10. bin/x86_64-portbld-freebsd15.0-gcc-ar13
  11. bin/x86_64-portbld-freebsd15.0-gcc-nm13
  12. bin/x86_64-portbld-freebsd15.0-gcc-ranlib13
  13. bin/x86_64-portbld-freebsd15.0-gfortran13
  14. bin/c++13
  15. bin/cpp13
  16. bin/g++13
  17. bin/gcc13
  18. bin/gcc-ar13
  19. bin/gcc-nm13
  20. bin/gcc-ranlib13
  21. bin/gcov13
  22. bin/gcov-dump13
  23. bin/gcov-tool13
  24. bin/gfortran13
  25. bin/lto-dump13
  26. include/gcc13/ISO_Fortran_binding.h
  27. include/libgccjit++.h
  28. include/libgccjit.h
  29. share/man/man1/cpp13.1.gz
  30. share/man/man1/g++13.1.gz
  31. share/man/man1/gcc13.1.gz
  32. share/man/man1/gcov13.1.gz
  33. share/man/man1/gcov-dump13.1.gz
  34. share/man/man1/gcov-tool13.1.gz
  35. share/man/man1/gfortran13.1.gz
  36. share/man/man1/lto-dump13.1.gz
  37. share/gcc-13.3.0/python/libstdcxx/__init__.py
  38. share/gcc-13.3.0/python/libstdcxx/v6/__init__.py
  39. share/gcc-13.3.0/python/libstdcxx/v6/printers.py
  40. share/gcc-13.3.0/python/libstdcxx/v6/xmethods.py
  41. @postexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
  42. @postunexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
  43. @comment Insert PLIST.lib here
  44. @owner
  45. @group
  46. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • gcc13>0:lang/gcc13
Conflicts:
CONFLICTS:
  • gcc13-devel
To install the port:
cd /usr/ports/lang/gcc13/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/gcc13
  • pkg install gcc13
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: gcc13
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le riscv64
distinfo:
TIMESTAMP = 1724158317 SHA256 (gcc-13.3.0.tar.xz) = 0845e9621c9543a13f484e94584a49ffc0129970e9914624235fc1d061a0c083 SIZE (gcc-13.3.0.tar.xz) = 87909952

Packages (timestamps in pop-ups are UTC):
gcc13
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest13.3.0_313.3.0_3-13.3.0_313.3.0_3n/an/an/a
FreeBSD:13:quarterly13.3.0_313.3.0_313.1.0_113.3.0_313.3.0_3n/an/an/a
FreeBSD:14:latest13.3.0_513.3.0_5-13.3.0_313.3.0_5--13.1.0_1
FreeBSD:14:quarterly13.3.0_513.3.0_5-13.3.0_313.3.0_513.2.0_1-13.2.0_1
FreeBSD:15:latest13.3.0_513.3.0_5n/a13.3.0_3n/an/a--
FreeBSD:15:quarterly13.3.0_513.3.0_5n/a-n/an/a--
FreeBSD:16:latest13.3.0_513.3.0_5n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. as : devel/binutils
  2. gmake>=4.4.1 : devel/gmake
  3. makeinfo : print/texinfo
  4. as : devel/binutils
  5. perl5>=5.42.r<5.43 : lang/perl5.42
Runtime dependencies:
  1. as : devel/binutils
  2. indexinfo : print/indexinfo
Library dependencies:
  1. libgmp.so : math/gmp
  2. libmpfr.so : math/mpfr
  3. libmpc.so : math/mpc
This port is required by:
for Build
  1. archivers/R-cran-brotli
  2. astro/nightfall
  3. audio/kaldi
  4. benchmarks/tinymembench
  5. biology/R-cran-Biobase
  6. biology/R-cran-BiocGenerics
  7. biology/R-cran-BiocManager
Expand this list (244 items / 237 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. biology/molden
  3. biology/psi88
  4. biology/treekin
  5. cad/feappv
  6. cad/freehdl
  7. cad/pdnmesh
  8. comms/wsjtx
  9. comms/wsjtz
  10. converters/R-cran-jsonlite
  11. converters/R-cran-rjson
  12. databases/R-cran-RPostgreSQL
  13. databases/R-cran-cachem
  14. databases/R-cran-fastmap
  15. databases/dbixx
  16. devel/R-cran-Hmisc
  17. devel/R-cran-bindr
  18. devel/R-cran-bit
  19. devel/R-cran-bitops
  20. devel/R-cran-brio
  21. devel/R-cran-caTools
  22. devel/R-cran-caret
  23. devel/R-cran-chk
  24. devel/R-cran-classInt
  25. devel/R-cran-covr
  26. devel/R-cran-diffobj
  27. devel/R-cran-fansi
  28. devel/R-cran-filelock
  29. devel/R-cran-gert
  30. devel/R-cran-git2r
  31. devel/R-cran-interp
  32. devel/R-cran-microbenchmark
  33. devel/R-cran-msm
  34. devel/R-cran-parsedate
  35. devel/R-cran-profvis
  36. devel/R-cran-randomForest
  37. devel/R-cran-reshape
  38. devel/R-cran-reshape2
  39. devel/R-cran-sys
  40. devel/R-cran-tidyselect
  41. devel/R-cran-tzdb
  42. devel/asfml
  43. devel/eclipse-titan
  44. devel/fortran-stdlib
  45. devel/gcc-msp430-ti-toolchain
  46. devel/kronosnet
  47. devel/libfaketime
  48. devel/ocaml-lacaml
  49. devel/papi
  50. devel/test-drive
  51. editors/emacs
  52. editors/emacs-devel
  53. emulators/emulationstation
  54. emulators/libretro-reicast
  55. emulators/reicast
  56. emulators/x49gp
  57. filesystems/lkl
  58. finance/R-cran-gmm
  59. finance/R-cran-strucchange
  60. finance/R-cran-urca
  61. games/dxx-rebirth
  62. games/xbat
  63. graphics/R-cran-farver
  64. graphics/R-cran-ggforce
  65. graphics/R-cran-jpeg
  66. graphics/R-cran-pROC
  67. graphics/R-cran-qpdf
  68. graphics/R-cran-scales
  69. graphics/R-cran-tweenr
  70. graphics/R-cran-webp
  71. graphics/dataplot
  72. graphics/gimp-beautify-plugin
  73. graphics/nurbs++
  74. graphics/p5-PGPLOT
  75. graphics/pgplot
  76. graphics/raster3d
  77. graphics/zeno
  78. japanese/skkinput3
  79. japanese/xtr
  80. lang/julia
  81. lang/mlkit
  82. lang/oo2c
  83. lang/ratfor
  84. math/R-cran-Amelia
  85. math/R-cran-FNN
  86. math/R-cran-KFAS
  87. math/R-cran-MCMCpack
  88. math/R-cran-Matching
  89. math/R-cran-RcppEigen
  90. math/R-cran-Rmpfr
  91. math/R-cran-Rsolnp
  92. math/R-cran-SparseM
  93. math/R-cran-bdsmatrix
  94. math/R-cran-ddalpha
  95. math/R-cran-deldir
  96. math/R-cran-dimRed
  97. math/R-cran-eRm
  98. math/R-cran-energy
  99. math/R-cran-expm
  100. math/R-cran-geometry
  101. math/R-cran-gower
  102. math/R-cran-haven
  103. math/R-cran-hexbin
  104. math/R-cran-intervals
  105. math/R-cran-ipred
  106. math/R-cran-isoband
  107. math/R-cran-locfit
  108. math/R-cran-lpSolve
  109. math/R-cran-maps
  110. math/R-cran-matrixStats
  111. math/R-cran-memisc
  112. math/R-cran-minqa
  113. math/R-cran-ncdf4
  114. math/R-cran-nloptr
  115. math/R-cran-partitions
  116. math/R-cran-polyclip
  117. math/R-cran-quadprog
  118. math/R-cran-quantreg
  119. math/R-cran-raster
  120. math/R-cran-rgenoud
  121. math/R-cran-statmod
  122. math/R-cran-wk
  123. math/alberta
  124. math/algae
  125. math/atlas
  126. math/blas
  127. math/cblas
  128. math/cmlib
  129. math/coin-or-metis
  130. math/coin-or-mumps
  131. math/ddfun
  132. math/dsdp
  133. math/fftw
  134. math/fftw-float
  135. math/fftw3-quad
  136. math/ipopt
  137. math/kktdirect
  138. math/lapack
  139. math/lapack95
  140. math/lapacke
  141. math/libceed
  142. math/math77
  143. math/miracl
  144. math/mumps
  145. math/mumps4
  146. math/qrupdate
  147. math/sdpa
  148. math/suitesparse-Example
  149. math/suitesparse-amd
  150. math/suitesparse-btf
  151. math/suitesparse-camd
  152. math/suitesparse-ccolamd
  153. math/suitesparse-colamd
  154. math/suitesparse-cxsparse
  155. math/suitesparse-klu
  156. math/suitesparse-lagraph
  157. math/suitesparse-ldl
  158. math/suitesparse-mongoose
  159. math/suitesparse-rbio
  160. math/suitesparse-spex
  161. math/trlan
  162. math/xlapack
  163. math/xlife++
  164. misc/R-cran-mime
  165. misc/veles
  166. net/R-cran-pingr
  167. net-p2p/cpuminer
  168. science/R-cran-cmprsk
  169. science/R-cran-e1071
  170. science/R-cran-etm
  171. science/R-cran-fastICA
  172. science/R-cran-kernlab
  173. science/R-cran-som
  174. science/R-cran-udunits2
  175. science/cdf
  176. science/clipper
  177. science/cpcmx
  178. science/fastjet
  179. science/feff10
  180. science/gcp
  181. science/ghemical
  182. science/hdf5
  183. science/hdf5-110
  184. science/isaac-cfd
  185. science/libccp4
  186. science/libctl
  187. science/libpsml
  188. science/mstore
  189. science/numsa
  190. science/pcmsolver
  191. science/q
  192. science/qwalk
  193. science/silo
  194. security/R-cran-askpass
  195. security/R-cran-digest
  196. security/seccure
  197. sysutils/bacula-libs3
  198. sysutils/fwupd-efi
  199. textproc/R-cran-commonmark
  200. textproc/R-cran-htmltools
  201. textproc/R-cran-markdown
  202. textproc/R-cran-openxlsx
  203. textproc/R-cran-sass
  204. textproc/R-cran-stringi
  205. textproc/R-cran-tth
  206. textproc/R-cran-utf8
  207. textproc/R-cran-writexl
  208. textproc/R-cran-yaml
  209. textproc/xmlf90
  210. www/R-cran-webutils
  211. www/kannel
  212. www/kannel-sqlbox
  213. Collapse this list.

Deleted ports which required this port:

Expand this list of 26 deleted ports
  1. astro/R-cran-maptools*
  2. audio/openspc*
  3. databases/gnats4*
  4. devel/asmutils*
  5. emulators/wine8*
  6. games/shaaft*
  7. graphics/R-cran-rgdal*
  8. irc/ezbounce*
  9. java/openjdk18*
  10. lang/nhc98*
  11. lang/spidermonkey102*
  12. lang/spidermonkey78*
  13. lang/spidermonkey91*
  14. math/R-cran-RSvgDevice*
  15. math/octave-forge-onsas*
  16. math/sage*
  17. net/libtnl*
  18. net/nepenthes*
  19. science/R-cran-eco*
  20. sysutils/R-cran-fs*
  21. sysutils/fusefs-lkl*
  22. sysutils/libretto-config*
  23. sysutils/memtest86+*
  24. sysutils/shim*
  25. sysutils/wiimms*
  26. www/thundercache*
  27. Collapse this list of deleted ports.
for Libraries
  1. science/ALPSCore
for Run
  1. archivers/R-cran-brotli
  2. astro/nightfall
  3. audio/kaldi
  4. benchmarks/tinymembench
  5. biology/R-cran-Biobase
  6. biology/R-cran-BiocGenerics
  7. biology/R-cran-BiocManager
Expand this list (240 items / 233 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. biology/molden
  3. biology/psi88
  4. biology/treekin
  5. cad/feappv
  6. cad/freehdl
  7. cad/pdnmesh
  8. comms/wsjtx
  9. comms/wsjtz
  10. converters/R-cran-jsonlite
  11. converters/R-cran-rjson
  12. databases/R-cran-RPostgreSQL
  13. databases/R-cran-cachem
  14. databases/R-cran-fastmap
  15. databases/dbixx
  16. devel/R-cran-Hmisc
  17. devel/R-cran-bindr
  18. devel/R-cran-bit
  19. devel/R-cran-bitops
  20. devel/R-cran-brio
  21. devel/R-cran-caTools
  22. devel/R-cran-caret
  23. devel/R-cran-chk
  24. devel/R-cran-classInt
  25. devel/R-cran-covr
  26. devel/R-cran-diffobj
  27. devel/R-cran-fansi
  28. devel/R-cran-filelock
  29. devel/R-cran-gert
  30. devel/R-cran-git2r
  31. devel/R-cran-interp
  32. devel/R-cran-microbenchmark
  33. devel/R-cran-msm
  34. devel/R-cran-parsedate
  35. devel/R-cran-profvis
  36. devel/R-cran-randomForest
  37. devel/R-cran-reshape
  38. devel/R-cran-reshape2
  39. devel/R-cran-sys
  40. devel/R-cran-tidyselect
  41. devel/R-cran-tzdb
  42. devel/eclipse-titan
  43. devel/fortran-stdlib
  44. devel/kronosnet
  45. devel/libfaketime
  46. devel/ocaml-lacaml
  47. devel/papi
  48. devel/test-drive
  49. editors/emacs
  50. editors/emacs-devel
  51. emulators/emulationstation
  52. emulators/libretro-reicast
  53. emulators/reicast
  54. emulators/x49gp
  55. finance/R-cran-gmm
  56. finance/R-cran-strucchange
  57. finance/R-cran-urca
  58. games/dxx-rebirth
  59. games/xbat
  60. graphics/R-cran-farver
  61. graphics/R-cran-ggforce
  62. graphics/R-cran-jpeg
  63. graphics/R-cran-pROC
  64. graphics/R-cran-qpdf
  65. graphics/R-cran-scales
  66. graphics/R-cran-tweenr
  67. graphics/R-cran-webp
  68. graphics/dataplot
  69. graphics/gimp-beautify-plugin
  70. graphics/nurbs++
  71. graphics/p5-PGPLOT
  72. graphics/pgplot
  73. graphics/raster3d
  74. graphics/zeno
  75. japanese/skkinput3
  76. japanese/xtr
  77. lang/gcc
  78. lang/julia
  79. lang/mlkit
  80. lang/oo2c
  81. lang/ratfor
  82. math/R-cran-Amelia
  83. math/R-cran-FNN
  84. math/R-cran-KFAS
  85. math/R-cran-MCMCpack
  86. math/R-cran-Matching
  87. math/R-cran-RcppEigen
  88. math/R-cran-Rmpfr
  89. math/R-cran-Rsolnp
  90. math/R-cran-SparseM
  91. math/R-cran-bdsmatrix
  92. math/R-cran-ddalpha
  93. math/R-cran-deldir
  94. math/R-cran-dimRed
  95. math/R-cran-eRm
  96. math/R-cran-energy
  97. math/R-cran-expm
  98. math/R-cran-geometry
  99. math/R-cran-gower
  100. math/R-cran-haven
  101. math/R-cran-hexbin
  102. math/R-cran-intervals
  103. math/R-cran-ipred
  104. math/R-cran-isoband
  105. math/R-cran-locfit
  106. math/R-cran-lpSolve
  107. math/R-cran-maps
  108. math/R-cran-matrixStats
  109. math/R-cran-memisc
  110. math/R-cran-minqa
  111. math/R-cran-ncdf4
  112. math/R-cran-nloptr
  113. math/R-cran-partitions
  114. math/R-cran-polyclip
  115. math/R-cran-quadprog
  116. math/R-cran-quantreg
  117. math/R-cran-raster
  118. math/R-cran-rgenoud
  119. math/R-cran-statmod
  120. math/R-cran-wk
  121. math/alberta
  122. math/algae
  123. math/atlas
  124. math/blas
  125. math/cblas
  126. math/cmlib
  127. math/coin-or-metis
  128. math/coin-or-mumps
  129. math/ddfun
  130. math/dsdp
  131. math/fftw
  132. math/fftw-float
  133. math/fftw3-quad
  134. math/ipopt
  135. math/kktdirect
  136. math/lapack
  137. math/lapack95
  138. math/lapacke
  139. math/libceed
  140. math/math77
  141. math/miracl
  142. math/mumps
  143. math/mumps4
  144. math/qrupdate
  145. math/sdpa
  146. math/suitesparse-Example
  147. math/suitesparse-amd
  148. math/suitesparse-btf
  149. math/suitesparse-camd
  150. math/suitesparse-ccolamd
  151. math/suitesparse-colamd
  152. math/suitesparse-cxsparse
  153. math/suitesparse-klu
  154. math/suitesparse-lagraph
  155. math/suitesparse-ldl
  156. math/suitesparse-mongoose
  157. math/suitesparse-rbio
  158. math/suitesparse-spex
  159. math/trlan
  160. math/xlapack
  161. math/xlife++
  162. misc/R-cran-mime
  163. misc/veles
  164. net/R-cran-pingr
  165. net-p2p/cpuminer
  166. science/R-cran-cmprsk
  167. science/R-cran-e1071
  168. science/R-cran-etm
  169. science/R-cran-fastICA
  170. science/R-cran-kernlab
  171. science/R-cran-som
  172. science/R-cran-udunits2
  173. science/cdf
  174. science/clipper
  175. science/cpcmx
  176. science/fastjet
  177. science/feff10
  178. science/gcp
  179. science/ghemical
  180. science/hdf5
  181. science/hdf5-110
  182. science/isaac-cfd
  183. science/libccp4
  184. science/libctl
  185. science/libpsml
  186. science/mstore
  187. science/numsa
  188. science/pcmsolver
  189. science/q
  190. science/qwalk
  191. science/silo
  192. security/R-cran-askpass
  193. security/R-cran-digest
  194. security/seccure
  195. sysutils/bacula-libs3
  196. sysutils/fwupd-efi
  197. textproc/R-cran-commonmark
  198. textproc/R-cran-htmltools
  199. textproc/R-cran-markdown
  200. textproc/R-cran-openxlsx
  201. textproc/R-cran-sass
  202. textproc/R-cran-stringi
  203. textproc/R-cran-tth
  204. textproc/R-cran-utf8
  205. textproc/R-cran-writexl
  206. textproc/R-cran-yaml
  207. textproc/xmlf90
  208. www/R-cran-webutils
  209. www/kannel
  210. www/kannel-sqlbox
  211. Collapse this list.

Deleted ports which required this port:

Expand this list of 24 deleted ports
  1. astro/R-cran-maptools*
  2. audio/openspc*
  3. databases/gnats4*
  4. devel/asmutils*
  5. emulators/wine8*
  6. games/shaaft*
  7. graphics/R-cran-rgdal*
  8. irc/ezbounce*
  9. java/openjdk18*
  10. lang/nhc98*
  11. lang/spidermonkey102*
  12. lang/spidermonkey78*
  13. lang/spidermonkey91*
  14. math/R-cran-RSvgDevice*
  15. math/octave-forge-onsas*
  16. math/sage*
  17. net/libtnl*
  18. net/nepenthes*
  19. science/R-cran-eco*
  20. sysutils/R-cran-fs*
  21. sysutils/libretto-config*
  22. sysutils/shim*
  23. sysutils/wiimms*
  24. www/thundercache*
  25. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for gcc13-13.3.0_5: GRAPHITE=off: Support for Graphite loop optimizations MULTILIB=on: Build support for 32-bit and 64-bit targets ====> Options available for the radio BOOTSTRAP: you can only select none or one of them LTO_BOOTSTRAP=off: Build using a full LTO bootstrap STANDARD_BOOTSTRAP=on: Build using a full bootstrap without LTO ===> Use 'make config' to modify these settings
Options name:
lang_gcc13
USES:
compiler:c++11-lang cpe gmake iconv libtool makeinfo perl5 tar:xz
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (8 items)
Collapse this list.
  1. http://ftp.ntua.gr/pub/gnu/gcc/releases/gcc-13.3.0/
  2. http://gcc.gnu.org/pub/gcc/releases/gcc-13.3.0/
  3. http://mirror.koddos.net/gcc/releases/gcc-13.3.0/
  4. https://ftp-stud.hs-esslingen.de/pub/Mirrors/sourceware.org/gcc/releases/gcc-13.3.0/
  5. https://ftp.funet.fi/pub/mirrors/sourceware.org/pub/gcc/releases/gcc-13.3.0/
  6. https://ftp.mpi-inf.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/releases/gcc-13.3.0/
  7. https://mirrors.kernel.org/sourceware/gcc/releases/gcc-13.3.0/
  8. https://mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-13.3.0/
Collapse this list.

Number of commits found: 23

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
13.3.0_5
27 Jun 2026 20:55:24
commit hash: 70f1f8cf7762db8fe6648bff3436cc604507d494commit hash: 70f1f8cf7762db8fe6648bff3436cc604507d494commit hash: 70f1f8cf7762db8fe6648bff3436cc604507d494commit hash: 70f1f8cf7762db8fe6648bff3436cc604507d494 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/gcc1[2-6]: actually fix build on powerpc64le/CURRENT

Without this patch, gcc attempts to enable support for IBM long double,
when IEEE long double is enabled, which is wrong. Allow to only
specify IEEE long double.

The whole patchset for IEEE long double on FreeBSD/powerpc64le
is being upstreamed at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126012.
13.3.0_5
21 Jun 2026 20:48:49
commit hash: 35a12271a3ee93d0e2e4fc6a742b927fccc721f9commit hash: 35a12271a3ee93d0e2e4fc6a742b927fccc721f9commit hash: 35a12271a3ee93d0e2e4fc6a742b927fccc721f9commit hash: 35a12271a3ee93d0e2e4fc6a742b927fccc721f9 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/gcc1[2-6]: add necessary contents to patch-gcc_configure

1. For gcc14, restore the lost content.
2. For others, add powerpc64le-related content.

Pointy hat:	me
13.3.0_4
21 Jun 2026 20:05:23
commit hash: c02c1227e2d23dbfdb7a4b32cc29f42847a21cfdcommit hash: c02c1227e2d23dbfdb7a4b32cc29f42847a21cfdcommit hash: c02c1227e2d23dbfdb7a4b32cc29f42847a21cfdcommit hash: c02c1227e2d23dbfdb7a4b32cc29f42847a21cfd files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/gcc1?: fix runtime on powerpc64le/CURRENT

Since powerpc64le recently switched to 128-bit long double, use them to
generate proper binaries. Patches are necessary to allow use of
--with-long-double-format=ieee on FreeBSD (to be upstreamed).
13.3.0_3
03 May 2025 09:46:25
commit hash: 6a4bfe6146890a6f28e794bf8c602ec8afd74fd0commit hash: 6a4bfe6146890a6f28e794bf8c602ec8afd74fd0commit hash: 6a4bfe6146890a6f28e794bf8c602ec8afd74fd0commit hash: 6a4bfe6146890a6f28e794bf8c602ec8afd74fd0 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
Author: Oleg Sidorkin
lang/gcc13: Fix SIGBUS depending on CPUTYPE

Compiling GCC with some CPUTYPE values (e.g. broadwell) result in
breaking some applications (e.g. math/octave, cad/freecad), sending
a SIGBUS.

The issue is due to GCC generating instructions that require variables
to be aligned in memory on certain CPUs. Our libthr does not have the
required alignment so these CPUs fail to execute these instructions.

The patch disables the generation of such instructions and will get
obsolete once all supported FreeBSD releases include commit
22e564c74eb20e14bd93fd9fdde20e38a29cfcf1.

PR:             285711
Reported by:    cracauer
Tested by:      cracauer, jbo
13.3.0_2
13 Mar 2025 16:54:27
commit hash: 13904d7107442b60c6a3403d1fdd94bc13f731afcommit hash: 13904d7107442b60c6a3403d1fdd94bc13f731afcommit hash: 13904d7107442b60c6a3403d1fdd94bc13f731afcommit hash: 13904d7107442b60c6a3403d1fdd94bc13f731af files touched by this commit
Baptiste Daroussin (bapt) search for other commits by this committer
gcc*: properly define USE_LDCONFIG32 for multilib
13.3.0_2
12 Mar 2025 14:30:52
commit hash: 5d9d9b114e0e5df1ca806d9f00c1d86e7e7819e2commit hash: 5d9d9b114e0e5df1ca806d9f00c1d86e7e7819e2commit hash: 5d9d9b114e0e5df1ca806d9f00c1d86e7e7819e2commit hash: 5d9d9b114e0e5df1ca806d9f00c1d86e7e7819e2 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc13: Fix libisl.so linking

Fix linking with libisl.so depending on GRAPHITE option, which is now
implemented through options helpers.

Co-authored-by: Gerald Pfeifer <gerald@FreeBSD.org>

PR:             276070
Reported by:    Ivan Rozhuk <rozhuk.im@gmail.com>
13.3.0_1
12 Mar 2025 14:30:43
commit hash: f1c61d6af201a3d60445b0619e1bf97390ac78cdcommit hash: f1c61d6af201a3d60445b0619e1bf97390ac78cdcommit hash: f1c61d6af201a3d60445b0619e1bf97390ac78cdcommit hash: f1c61d6af201a3d60445b0619e1bf97390ac78cd files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
Author: Dimitry Andric
lang/gcc13: Fix segfaults for static binaries

Fix segmentation faults caused by -static flag into compiled
binaries.

Email thread:
https://lists.freebsd.org/archives/freebsd-hackers/2025-January/004236.html
Upstream bug report:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118685

PR:             284441
Reported by:    kargl
13.3.0
29 Oct 2024 23:54:20
commit hash: 17024a6f828904fbd57ff459b32f9ed21f77a1a4commit hash: 17024a6f828904fbd57ff459b32f9ed21f77a1a4commit hash: 17024a6f828904fbd57ff459b32f9ed21f77a1a4commit hash: 17024a6f828904fbd57ff459b32f9ed21f77a1a4 files touched by this commit
Kyle Evans (kevans) search for other commits by this committer
lang/gcc*: disable building of libssp

For today's FreeBSD 14 and earlier, libssp is a nop because nothing on
FreeBSD will be referencing these headers or lib.  On FreeBSD 15, it
actively breaks building with FORTIFY_SOURCE enabled and it's not worth
trying to make it work- the potential for GCC improvements comes from
the __builtin_object_size enhancement, not from these headers.

PR:		280265
Approved by:	salvadore (maintainer)
13.3.0
04 Sep 2024 14:31:01
commit hash: 546dc44194b4f9e7c62d71e140d8279243c7ec38commit hash: 546dc44194b4f9e7c62d71e140d8279243c7ec38commit hash: 546dc44194b4f9e7c62d71e140d8279243c7ec38commit hash: 546dc44194b4f9e7c62d71e140d8279243c7ec38 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc13: Update to 13.3.0

Changes: https://gcc.gnu.org/gcc-13/changes.html#13.3

PR:		281091
Tested by:	exp-run (antoine)
13.2.0_4
13 May 2024 21:19:50
commit hash: 16ebcbbc24a6fca734affcd38a2b3dba29a9145dcommit hash: 16ebcbbc24a6fca734affcd38a2b3dba29a9145dcommit hash: 16ebcbbc24a6fca734affcd38a2b3dba29a9145dcommit hash: 16ebcbbc24a6fca734affcd38a2b3dba29a9145d files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
lang/gcc13: enable on riscv64

Builds fine on 15-CURRENT.

PR:		272759
Approved by:	salvadore (maintainer)
MFH:		2024Q2
13.2.0_4
03 Feb 2024 09:57:04
commit hash: 41870b7b7d042523cff7d8fe3abde24f5a394804commit hash: 41870b7b7d042523cff7d8fe3abde24f5a394804commit hash: 41870b7b7d042523cff7d8fe3abde24f5a394804commit hash: 41870b7b7d042523cff7d8fe3abde24f5a394804 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc{12,13}: Switch back to standard bootstrap

Switch back to STANDARD_BOOTSTRAP on i386, amd64 and aarch64 as default
option instead of LTO_BOOTSTRAP, forwarding the changes already commited
in the devel ports (commits daf12c76bd531335f58e7602afd3bc8da8fc5c33,
872d61f8ead10a6d935117876cf60057a46770ff, and
da4cb11216a7ed594d5dc453deb4693b48c3c7e9) and in lang/gcc11 (commit
3e0fc5e7607d30400bfb3d5a7b3d1b77e1a6699a)

Users wanting to use LTO_BOOTSTRAP can still enable the option manually.

PR:		273397
Tested by:	exp-run (antoine)
13.2.0_3
28 Jan 2024 13:39:27
commit hash: 9b0ad9222d4ebe8dc862f49142ef50d5cd580016commit hash: 9b0ad9222d4ebe8dc862f49142ef50d5cd580016commit hash: 9b0ad9222d4ebe8dc862f49142ef50d5cd580016commit hash: 9b0ad9222d4ebe8dc862f49142ef50d5cd580016 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
lang/gcc13: Moved man to share/man

Approved by:    portmgr (blanket)
13.2.0_2
13 Jan 2024 08:18:34
commit hash: 11e18f525a8390fda31c44838bde003e23176b95commit hash: 11e18f525a8390fda31c44838bde003e23176b95commit hash: 11e18f525a8390fda31c44838bde003e23176b95commit hash: 11e18f525a8390fda31c44838bde003e23176b95 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc13: Fix Address sanitizer

Software compiled with -fsanitize=address fails to run with the error
message "ASan runtime does not come first in initial library list; you
should either link runtime to your application or manually preload it
with LD_PRELOAD".

This commit fixes the issue by ignoring the [vdso] loaded shared library
instead of linux-vdso.so.

To successfully run the software compiled with -fsanitize=address it is
still necessary to disable ASLR.

PR:		267751
Reported by:	yuri

Co-authored-by:	Andreas Tobler <andreast@gcc.gnu.org>
13.2.0_1
05 Jan 2024 21:03:48
commit hash: ac46ecbfdcc0db7c51ae946bfe350976a522659dcommit hash: ac46ecbfdcc0db7c51ae946bfe350976a522659dcommit hash: ac46ecbfdcc0db7c51ae946bfe350976a522659dcommit hash: ac46ecbfdcc0db7c51ae946bfe350976a522659d files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/gcc13: drop ELFv1 support
13.2.0_1
31 Dec 2023 00:37:05
commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree

- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
13.2.0_1
15 Dec 2023 20:36:59
commit hash: a4831f4933d006071d96a861506ff0db44d1d3accommit hash: a4831f4933d006071d96a861506ff0db44d1d3accommit hash: a4831f4933d006071d96a861506ff0db44d1d3accommit hash: a4831f4933d006071d96a861506ff0db44d1d3ac files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
lang/gcc12 lang/gcc12-devel lang/gcc13 lang/gcc13-devel lang/gcc14-devel: fix
build without bootstrap

When more recent gcc ports are built without bootstrap, compiling libcc1
plugins results in errors similar to:

  In file included from
/wrkdirs/share/dim/ports/lang/gcc13/work/gcc-13.2.0/libcc1/libcc1plugin.cc:72:
  In file included from /usr/include/c++/v1/vector:321:
  In file included from /usr/include/c++/v1/__format/formatter_bool.h:20:
  In file included from /usr/include/c++/v1/__format/formatter_integral.h:32:
  /usr/include/c++/v1/locale:289:36: error: attempt to use a poisoned identifier
    289 |         __status = (unsigned char*)malloc(__nkw);
        |                                    ^
  /usr/include/c++/v1/locale:1584:28: error: attempt to use a poisoned
identifier
   1584 |         __ob =
(char_type*)malloc(2*static_cast<size_t>(__nc)*sizeof(char_type));
        |                            ^
(Only the first 15 lines of the commit message are shown above View all of this commit message)
13.2.0_1
05 Dec 2023 18:11:27
commit hash: 510dbd1e2012877cbbdc37a38f6189ce7b38d1bacommit hash: 510dbd1e2012877cbbdc37a38f6189ce7b38d1bacommit hash: 510dbd1e2012877cbbdc37a38f6189ce7b38d1bacommit hash: 510dbd1e2012877cbbdc37a38f6189ce7b38d1ba files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
lang/gcc12+: forward the installation of ISO_Fortran_binding.h in a separate dir

PR:		275431
Approved by:	salvadore@ (maintainer)
13.2.0
14 Oct 2023 20:38:33
commit hash: 3dcacae36ff804f6e9edf5c7cf538cfaa68bc800commit hash: 3dcacae36ff804f6e9edf5c7cf538cfaa68bc800commit hash: 3dcacae36ff804f6e9edf5c7cf538cfaa68bc800commit hash: 3dcacae36ff804f6e9edf5c7cf538cfaa68bc800 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc13: Update to 13.2.0

Changes: https://gcc.gnu.org/gcc-13/changes.html#13.2
13.1.0_1
12 Oct 2023 05:06:22
commit hash: a05177f62a5a0e74b5df871069ea42400c0ed90acommit hash: a05177f62a5a0e74b5df871069ea42400c0ed90acommit hash: a05177f62a5a0e74b5df871069ea42400c0ed90acommit hash: a05177f62a5a0e74b5df871069ea42400c0ed90a files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/gcc13: disable LTO on powerpc to fix build

cc1plus: out of memory allocating 48749344 bytes after a total of 0 bytes
13.1.0_1
06 Oct 2023 17:48:53
commit hash: b7833e78f7bdf5b00b5b0d25ed983f1b8d413e32commit hash: b7833e78f7bdf5b00b5b0d25ed983f1b8d413e32commit hash: b7833e78f7bdf5b00b5b0d25ed983f1b8d413e32commit hash: b7833e78f7bdf5b00b5b0d25ed983f1b8d413e32 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
lang/gcc10 lang/gcc11 lang/gcc11-devel lang/gcc12 lang/gcc12-devel lang/gcc13
lang/gcc13-devel lang/gcc14-devel: fix build with libc++ 17

When building relatively recent gcc ports (with C++ in them) against
libc++ 17, you get errors similar to:

  In file included from
/wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/gcc/cp/module.cc:208:
  In file included from
/wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/gcc/system.h:239:
  In file included from /usr/include/c++/v1/vector:321:
  In file included from /usr/include/c++/v1/__format/formatter_bool.h:20:
  In file included from /usr/include/c++/v1/__format/formatter_integral.h:32:
  In file included from /usr/include/c++/v1/locale:202:
  /usr/include/c++/v1/__locale:546:5: error: '__abi_tag__' attribute only
applies to structs, variables, functions, and namespaces
    546 |     _LIBCPP_INLINE_VISIBILITY
        |     ^
  /usr/include/c++/v1/__config:813:37: note: expanded from macro
'_LIBCPP_INLINE_VISIBILITY'
(Only the first 15 lines of the commit message are shown above View all of this commit message)
13.1.0_1
19 Jun 2023 15:19:22
commit hash: 91117ec83f966fad5e943737928abe956cd49720commit hash: 91117ec83f966fad5e943737928abe956cd49720commit hash: 91117ec83f966fad5e943737928abe956cd49720commit hash: 91117ec83f966fad5e943737928abe956cd49720 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/gcc*: fix build with CPUTYPE?=g[3-5]

GCC does not accept -mcpu=g4, but does accept -mcpu=G4.
13.1.0_1
02 May 2023 09:39:47
commit hash: f4e302c0416a53ceec6c9605234b570f775167dbcommit hash: f4e302c0416a53ceec6c9605234b570f775167dbcommit hash: f4e302c0416a53ceec6c9605234b570f775167dbcommit hash: f4e302c0416a53ceec6c9605234b570f775167db files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/gcc13: switch to using clang on powerpc64*

As with other released GCC versions (as opposed to snapshots), use base
clang to build this port.
13.1.0
29 Apr 2023 15:23:21
commit hash: e14f6cef2ce3de2986e854b87d2766f0691d83aacommit hash: e14f6cef2ce3de2986e854b87d2766f0691d83aacommit hash: e14f6cef2ce3de2986e854b87d2766f0691d83aacommit hash: e14f6cef2ce3de2986e854b87d2766f0691d83aa files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc13: Add port

GCC, the GNU Compiler Collection, supports a number of languages.
This port installs the C, C++, and Fortran front ends as gcc13,
g++13, and gfortran13, respectively.

This is the first release from the GCC 13 series.
It largely is a copy of lang/gcc13-devel, with release-specific
modifications from lang/gcc12.

Common issues that could happen when porting code to GCC 13:
https://gcc.gnu.org/gcc-13/porting_to.html

Changes: https://gcc.gnu.org/gcc-13/changes.html

Reviewed by:	gerald, Dan McGregor <dan.mcgregor@usask.ca>
Differential Revision:	https://reviews.freebsd.org/D39841

Number of commits found: 23