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 photosAll times are UTC
Ukraine
Port details
gcc12 GNU Compiler Collection 12
12.4.0_1 lang on this many watch lists=5 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 12.4.0Version of this port present on the latest quarterly branch.
Maintainer: salvadore@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2022-05-06 18:12:06
Last Update: 2025-02-10 18:18:05
Commit Hash: 6f5f51a
People watching this port, also watch:: binutils, nmap, samba416, samba419, python39
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 gcc12, g++12, and gfortran12, respectively. Gerald Pfeifer <gerald@FreeBSD.org>
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
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.36<5.37 : lang/perl5.36
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. astro/R-cran-maptools
  2. astro/nightfall
  3. benchmarks/himenobench
  4. benchmarks/polygraph
  5. biology/R-cran-Biobase
  6. biology/R-cran-BiocGenerics
  7. biology/psi88
Expand this list (191 items / 184 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. biology/seqan3
  3. cad/freehdl
  4. comms/ems-flasher
  5. converters/R-cran-RJSONIO
  6. converters/R-cran-base64enc
  7. databases/dbixx
  8. databases/fastdb
  9. databases/gigabase
  10. devel/R-cran-Hmisc
  11. devel/R-cran-ModelMetrics
  12. devel/R-cran-bindrcpp
  13. devel/R-cran-checkmate
  14. devel/R-cran-chron
  15. devel/R-cran-decor
  16. devel/R-cran-ellipsis
  17. devel/R-cran-fansi
  18. devel/R-cran-gbm
  19. devel/R-cran-glmnet
  20. devel/R-cran-gtools
  21. devel/R-cran-magrittr
  22. devel/R-cran-microbenchmark
  23. devel/R-cran-multicool
  24. devel/R-cran-plogr
  25. devel/R-cran-plyr
  26. devel/R-cran-prettyunits
  27. devel/R-cran-progress
  28. devel/R-cran-randomForest
  29. devel/R-cran-reshape
  30. devel/R-cran-reshape2
  31. devel/R-cran-tibble
  32. devel/R-cran-tidyr
  33. devel/R-cran-timechange
  34. devel/R-cran-tzdb
  35. devel/R-cran-vctrs
  36. devel/api-sanity-autotest
  37. devel/covtool
  38. devel/libcwd
  39. devel/lockfree-malloc
  40. finance/R-cran-TTR
  41. finance/R-cran-gmm
  42. finance/R-cran-lmtest
  43. french/med
  44. graphics/R-cran-GDD
  45. graphics/R-cran-pROC
  46. graphics/R-cran-png
  47. graphics/R-cran-scales
  48. graphics/dataplot
  49. graphics/dcp2icc
  50. graphics/gimp-beautify-plugin
  51. graphics/pgplot
  52. graphics/sam2p
  53. graphics/xd3d
  54. irc/undernet-ircu
  55. lang/gambit-c
  56. lang/gnat12
  57. lang/micropython
  58. lang/p5-ExtUtils-F77
  59. mail/milter-callback
  60. math/R-cran-BsMD
  61. math/R-cran-KFAS
  62. math/R-cran-RSvgDevice
  63. math/R-cran-acepack
  64. math/R-cran-ash
  65. math/R-cran-conquer
  66. math/R-cran-dimRed
  67. math/R-cran-dplyr
  68. math/R-cran-exactRankTests
  69. math/R-cran-gpclib
  70. math/R-cran-haven
  71. math/R-cran-hdrcde
  72. math/R-cran-influenceR
  73. math/R-cran-irlba
  74. math/R-cran-isoband
  75. math/R-cran-lazyeval
  76. math/R-cran-mathjaxr
  77. math/R-cran-mcmc
  78. math/R-cran-nnls
  79. math/R-cran-partitions
  80. math/R-cran-prodlim
  81. math/R-cran-proxy
  82. math/R-cran-quadprog
  83. math/R-cran-sets
  84. math/R-cran-sm
  85. math/R-cran-truncnorm
  86. math/R-cran-units
  87. math/R-cran-zoo
  88. math/blacs
  89. math/blazeiterative
  90. math/cmlib
  91. math/ddfun
  92. math/dqfun
  93. math/dune-curvedgeometry
  94. math/dune-foamgrid
  95. math/dune-functions
  96. math/dune-localfunctions
  97. math/dune-metagrid
  98. math/dune-multidomaingrid
  99. math/dune-spgrid
  100. math/dune-typetree
  101. math/eispack
  102. math/hptt
  103. math/lapackpp
  104. math/librsb
  105. math/libxsmm
  106. math/lidia
  107. math/math77
  108. math/miracl
  109. math/optpp
  110. math/py-pynleq2
  111. math/qd
  112. math/qxfun
  113. math/slatec
  114. math/spblas
  115. math/trlan
  116. misc/R-cran-mime
  117. misc/libemos
  118. misc/py-QSpectrumAnalyzer
  119. misc/seabios
  120. misc/thrill
  121. misc/veles
  122. net/charm
  123. net-mgmt/aircrack-ng
  124. science/R-cran-DCluster
  125. science/R-cran-bayesm
  126. science/R-cran-eco
  127. science/R-cran-etm
  128. science/R-cran-udunits2
  129. science/aircraft-datcom
  130. science/chimes-calculator
  131. science/dftd3
  132. science/dkh
  133. science/erd
  134. science/feff10
  135. science/fvcom
  136. science/fvcom-mpi
  137. science/gamess-us
  138. science/gdma
  139. science/h5z-zfp
  140. science/isaac-cfd
  141. science/kim-api
  142. science/libgridxc
  143. science/m-aneos
  144. science/mcstas-comps
  145. science/mdynamix
  146. science/namd
  147. science/openkim-models
  148. science/py-scikit-learn
  149. science/q
  150. science/qwalk
  151. science/silo
  152. science/xcrysden
  153. sysutils/arcconf
  154. sysutils/memtest86+
  155. sysutils/wiimms
  156. textproc/R-cran-bibtex
  157. textproc/R-cran-pystr
  158. textproc/R-cran-readr
  159. textproc/R-cran-readxl
  160. textproc/R-cran-vroom
  161. textproc/R-cran-xml2
  162. textproc/fox-xml
  163. textproc/senna
  164. www/R-cran-Rook
  165. www/cgicc
  166. www/kannel-sqlbox
  167. Collapse this list.

Deleted ports which required this port:

Expand this list of 19 deleted ports
  1. cad/NASTRAN-95*
  2. comms/ncid*
  3. comms/sdr-wspr*
  4. databases/mysql-q4m*
  5. emulators/skyeye*
  6. emulators/wine7*
  7. finance/R-cran-ccgarch*
  8. graphics/R-cran-rtiff*
  9. graphics/gimp-gmic-plugin*
  10. graphics/py-open3d-python*
  11. mail/spamdyke*
  12. math/R-cran-RHmm*
  13. math/cvc3*
  14. math/octave-forge-statistics-bootstrap*
  15. net/openmpi3*
  16. science/dcl*
  17. science/libgeodecomp*
  18. sysutils/bacula11-libs3*
  19. www/anyterm*
  20. Collapse this list of deleted ports.
for Libraries
  1. sysutils/arcconf

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. math/hs-penrose*
  2. Collapse this list of deleted ports.
for Run
  1. astro/R-cran-maptools
  2. astro/nightfall
  3. benchmarks/himenobench
  4. benchmarks/polygraph
  5. biology/R-cran-Biobase
  6. biology/R-cran-BiocGenerics
  7. biology/psi88
Expand this list (191 items / 184 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. biology/seqan3
  3. cad/freehdl
  4. comms/ems-flasher
  5. converters/R-cran-RJSONIO
  6. converters/R-cran-base64enc
  7. databases/dbixx
  8. databases/fastdb
  9. databases/gigabase
  10. devel/R-cran-Hmisc
  11. devel/R-cran-ModelMetrics
  12. devel/R-cran-bindrcpp
  13. devel/R-cran-checkmate
  14. devel/R-cran-chron
  15. devel/R-cran-decor
  16. devel/R-cran-ellipsis
  17. devel/R-cran-fansi
  18. devel/R-cran-gbm
  19. devel/R-cran-glmnet
  20. devel/R-cran-gtools
  21. devel/R-cran-magrittr
  22. devel/R-cran-microbenchmark
  23. devel/R-cran-multicool
  24. devel/R-cran-plogr
  25. devel/R-cran-plyr
  26. devel/R-cran-prettyunits
  27. devel/R-cran-progress
  28. devel/R-cran-randomForest
  29. devel/R-cran-reshape
  30. devel/R-cran-reshape2
  31. devel/R-cran-tibble
  32. devel/R-cran-tidyr
  33. devel/R-cran-timechange
  34. devel/R-cran-tzdb
  35. devel/R-cran-vctrs
  36. devel/api-sanity-autotest
  37. devel/covtool
  38. devel/libcwd
  39. devel/lockfree-malloc
  40. finance/R-cran-TTR
  41. finance/R-cran-gmm
  42. finance/R-cran-lmtest
  43. french/med
  44. graphics/R-cran-GDD
  45. graphics/R-cran-pROC
  46. graphics/R-cran-png
  47. graphics/R-cran-scales
  48. graphics/dataplot
  49. graphics/dcp2icc
  50. graphics/gimp-beautify-plugin
  51. graphics/pgplot
  52. graphics/sam2p
  53. graphics/xd3d
  54. irc/undernet-ircu
  55. lang/gambit-c
  56. lang/gcc
  57. lang/gnat12
  58. lang/micropython
  59. lang/p5-ExtUtils-F77
  60. mail/milter-callback
  61. math/R-cran-BsMD
  62. math/R-cran-KFAS
  63. math/R-cran-RSvgDevice
  64. math/R-cran-acepack
  65. math/R-cran-ash
  66. math/R-cran-conquer
  67. math/R-cran-dimRed
  68. math/R-cran-dplyr
  69. math/R-cran-exactRankTests
  70. math/R-cran-gpclib
  71. math/R-cran-haven
  72. math/R-cran-hdrcde
  73. math/R-cran-influenceR
  74. math/R-cran-irlba
  75. math/R-cran-isoband
  76. math/R-cran-lazyeval
  77. math/R-cran-mathjaxr
  78. math/R-cran-mcmc
  79. math/R-cran-nnls
  80. math/R-cran-partitions
  81. math/R-cran-prodlim
  82. math/R-cran-proxy
  83. math/R-cran-quadprog
  84. math/R-cran-sets
  85. math/R-cran-sm
  86. math/R-cran-truncnorm
  87. math/R-cran-units
  88. math/R-cran-zoo
  89. math/blacs
  90. math/blazeiterative
  91. math/cmlib
  92. math/combblas
  93. math/ddfun
  94. math/dqfun
  95. math/dune-curvedgeometry
  96. math/dune-foamgrid
  97. math/dune-functions
  98. math/dune-localfunctions
  99. math/dune-metagrid
  100. math/dune-multidomaingrid
  101. math/dune-spgrid
  102. math/dune-typetree
  103. math/eispack
  104. math/hptt
  105. math/lapackpp
  106. math/librsb
  107. math/libxsmm
  108. math/lidia
  109. math/math77
  110. math/miracl
  111. math/optpp
  112. math/py-pynleq2
  113. math/qd
  114. math/qxfun
  115. math/slatec
  116. math/spblas
  117. math/trlan
  118. misc/R-cran-mime
  119. misc/libemos
  120. misc/py-QSpectrumAnalyzer
  121. misc/thrill
  122. misc/veles
  123. net/charm
  124. net-mgmt/aircrack-ng
  125. science/R-cran-DCluster
  126. science/R-cran-bayesm
  127. science/R-cran-eco
  128. science/R-cran-etm
  129. science/R-cran-udunits2
  130. science/aircraft-datcom
  131. science/chimes-calculator
  132. science/dftd3
  133. science/dkh
  134. science/erd
  135. science/feff10
  136. science/fvcom
  137. science/fvcom-mpi
  138. science/gamess-us
  139. science/gdma
  140. science/h5z-zfp
  141. science/isaac-cfd
  142. science/kim-api
  143. science/libgridxc
  144. science/m-aneos
  145. science/mcstas-comps
  146. science/mdynamix
  147. science/namd
  148. science/openkim-models
  149. science/py-scikit-learn
  150. science/q
  151. science/qwalk
  152. science/silo
  153. science/xcrysden
  154. sysutils/arcconf
  155. sysutils/wiimms
  156. textproc/R-cran-bibtex
  157. textproc/R-cran-pystr
  158. textproc/R-cran-readr
  159. textproc/R-cran-readxl
  160. textproc/R-cran-vroom
  161. textproc/R-cran-xml2
  162. textproc/fox-xml
  163. textproc/senna
  164. www/R-cran-Rook
  165. www/cgicc
  166. www/kannel-sqlbox
  167. Collapse this list.

Deleted ports which required this port:

Expand this list of 19 deleted ports
  1. cad/NASTRAN-95*
  2. comms/ncid*
  3. comms/sdr-wspr*
  4. databases/mysql-q4m*
  5. emulators/skyeye*
  6. emulators/wine7*
  7. finance/R-cran-ccgarch*
  8. graphics/R-cran-rtiff*
  9. graphics/gimp-gmic-plugin*
  10. graphics/py-open3d-python*
  11. mail/spamdyke*
  12. math/R-cran-RHmm*
  13. math/cvc3*
  14. math/octave-forge-statistics-bootstrap*
  15. net/openmpi3*
  16. science/dcl*
  17. science/libgeodecomp*
  18. sysutils/bacula11-libs3*
  19. www/anyterm*
  20. 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 gcc12-12.4.0_1: 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_gcc12
USES:
compiler:c++11-lang cpe gmake iconv libtool makeinfo perl5 tar:xz
pkg-message:
For install:
To ensure binaries built with this toolchain find appropriate versions of the necessary run-time libraries, you may want to link using -Wl,-rpath=/usr/local/lib/gcc12 For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens transparently.
Master Sites:
Expand this list (8 items)
Collapse this list.
  1. http://ftp.ntua.gr/pub/gnu/gcc/releases/gcc-12.4.0/
  2. http://gcc.gnu.org/pub/gcc/releases/gcc-12.4.0/
  3. http://mirror.koddos.net/gcc/releases/gcc-12.4.0/
  4. https://ftp-stud.hs-esslingen.de/pub/Mirrors/sourceware.org/gcc/releases/gcc-12.4.0/
  5. https://ftp.funet.fi/pub/mirrors/sourceware.org/pub/gcc/releases/gcc-12.4.0/
  6. https://ftp.mpi-inf.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/releases/gcc-12.4.0/
  7. https://mirrors.kernel.org/sourceware/gcc/releases/gcc-12.4.0/
  8. https://mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-12.4.0/
Collapse this list.

Number of commits found: 28

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
12.4.0_1
10 Feb 2025 18:18:05
commit hash: 6f5f51aaee2e3d4b217eebeccc64850b924e414acommit hash: 6f5f51aaee2e3d4b217eebeccc64850b924e414acommit hash: 6f5f51aaee2e3d4b217eebeccc64850b924e414acommit hash: 6f5f51aaee2e3d4b217eebeccc64850b924e414a files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
Author: Dimitry Andric
lang/gcc12: 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
12.4.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)
12.4.0
03 Sep 2024 15:45:41
commit hash: 0cd003615453bb5fb998e0e1b45db0344bf677cdcommit hash: 0cd003615453bb5fb998e0e1b45db0344bf677cdcommit hash: 0cd003615453bb5fb998e0e1b45db0344bf677cdcommit hash: 0cd003615453bb5fb998e0e1b45db0344bf677cd files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc12: Update to 12.4.0

Changes: https://gcc.gnu.org/gcc-12/changes.html#12.4

PR:		281091
Tested by:	exp-run (antoine)
12.3.0
13 May 2024 21:19:50
commit hash: f040d259aeda3ec5cd7c440c8f03364bdcac9311commit hash: f040d259aeda3ec5cd7c440c8f03364bdcac9311commit hash: f040d259aeda3ec5cd7c440c8f03364bdcac9311commit hash: f040d259aeda3ec5cd7c440c8f03364bdcac9311 files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
lang/gcc12: enable for riscv64

Builds fine on riscv64 15-CURRENT.

PR:		272759
Approved by:	salvadore (maintainer)
MFH:		2024Q2
12.3.0
03 Feb 2024 09:57:04
commit hash: a51e69c269575d3c8d9e4e6592efc1bf0605473ccommit hash: a51e69c269575d3c8d9e4e6592efc1bf0605473ccommit hash: a51e69c269575d3c8d9e4e6592efc1bf0605473ccommit hash: a51e69c269575d3c8d9e4e6592efc1bf0605473c files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc12: Update to 12.3.0

Changes: https://gcc.gnu.org/gcc-12/changes.html#12.3

PR:		273397
Tested by:	exp-run (antoine)
12.2.0_9
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)
12.2.0_8
27 Jan 2024 00:30:41
commit hash: 821de0efb0621de4ec372c91303bc97cab6e4750commit hash: 821de0efb0621de4ec372c91303bc97cab6e4750commit hash: 821de0efb0621de4ec372c91303bc97cab6e4750commit hash: 821de0efb0621de4ec372c91303bc97cab6e4750 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
lang/gcc12: Moved man to share/man

Approved by:    portmgr (blanket)
12.2.0_7
05 Jan 2024 21:04:07
commit hash: 3250ebd7afb568ba91b56de9dec722de6bd9e546commit hash: 3250ebd7afb568ba91b56de9dec722de6bd9e546commit hash: 3250ebd7afb568ba91b56de9dec722de6bd9e546commit hash: 3250ebd7afb568ba91b56de9dec722de6bd9e546 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/gcc12: drop ELFv1 support
12.2.0_7
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
12.2.0_7
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)
12.2.0_7
05 Dec 2023 18:11:27
commit hash: 3c2b953b9cde73c0d2770889cd83d66e707cdfebcommit hash: 3c2b953b9cde73c0d2770889cd83d66e707cdfebcommit hash: 3c2b953b9cde73c0d2770889cd83d66e707cdfebcommit hash: 3c2b953b9cde73c0d2770889cd83d66e707cdfeb files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
lang/gcc12: install ISO_Fortran_binding.h in a separate directory

ISO_Fortran_binding.h is sometimes needed for the support of Fortran
2018, e.g. MPICH must find it to build mpi_f08.mod.

ATM it is installed in a directory depending on $CONFIGURE_TARGET with
a complex path, and it is not possible to point CFLAGS towards this dir
because other headers (like stdatomic.h) would conflict with those from
the system.

Therefore create a new directory /usr/local/include/gcc12 to install
this header.

PR:		275431
Approved by:	salvadore@ (maintainer)
12.2.0_6
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)
12.2.0_6
19 Jun 2023 13:39:01
commit hash: 6f24acefb2cd4bf07a02dfabd21e7a9a116f1567commit hash: 6f24acefb2cd4bf07a02dfabd21e7a9a116f1567commit hash: 6f24acefb2cd4bf07a02dfabd21e7a9a116f1567commit hash: 6f24acefb2cd4bf07a02dfabd21e7a9a116f1567 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/gcc12: check for CPUTYPE being defined

Reported by:	freshports
19 Jun 2023 13:18:06
commit hash: dcbc273b6b19b13eac1b1fbbb013148e1721dc85commit hash: dcbc273b6b19b13eac1b1fbbb013148e1721dc85commit hash: dcbc273b6b19b13eac1b1fbbb013148e1721dc85commit hash: dcbc273b6b19b13eac1b1fbbb013148e1721dc85 files touched by this commit Sanity Test Failure Refresh
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/gcc12: fix build on powerpc64* with CPUTYPE?=g[3-5]

GCC doesn't support -mcpu=g4, but it supports -mcpu=G4. Same for g3 and g5.
12.2.0_6
12 May 2023 15:39:47
commit hash: 5b4cadb23cbc2db23d7e2a40c16abd3e862fcf62commit hash: 5b4cadb23cbc2db23d7e2a40c16abd3e862fcf62commit hash: 5b4cadb23cbc2db23d7e2a40c16abd3e862fcf62commit hash: 5b4cadb23cbc2db23d7e2a40c16abd3e862fcf62 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc12: Work around aarch64 extraction bug

Extraction fails with poudriere on aarch64 with the following error:

=> SHA256 Checksum OK for gcc-12.2.0.tar.xz.
tar: Pathname can't be converted from UTF-8 to current locale.
tar: Pathname can't be converted from UTF-8 to current locale.
tar: Error exit delayed from previous errors.

Enforcing use of bsdtar works around the issue. The issue is specific to
lang/gcc11 and lang/gcc12: no other GCC port is affected.

See also bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246670.

PR:		271052
Reported by:	Vidar Karlsen <vidar@karlsen.tech>
Reviewed by:	gerald, mikael
12.2.0_6
23 Apr 2023 09:09:58
commit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5b files touched by this commit
Gerald Pfeifer (gerald) search for other commits by this committer
*: Bump PORTREVISIONs for math/mpc update to 1.3.1
12.2.0_5
03 Feb 2023 15:11:03
commit hash: 444f183cebf8b5e304b143a900e2f70f1e30bde4commit hash: 444f183cebf8b5e304b143a900e2f70f1e30bde4commit hash: 444f183cebf8b5e304b143a900e2f70f1e30bde4commit hash: 444f183cebf8b5e304b143a900e2f70f1e30bde4 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc12: Mark PIE_UNSAFE

Building the port with WITH_PIE fails if STANDARD_BOOTSTRAP or
LTO_BOOTSTRAP option is enabled.

Mark PIE_UNSAFE when such an option is enabled until a better solution
is found.

PR:             268901
Reported by:    netchild
12.2.0_5
30 Nov 2022 12:52:57
commit hash: d187c559f003650fe5eb4b9bcdc499f623d3b4a3commit hash: d187c559f003650fe5eb4b9bcdc499f623d3b4a3commit hash: d187c559f003650fe5eb4b9bcdc499f623d3b4a3commit hash: d187c559f003650fe5eb4b9bcdc499f623d3b4a3 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc12: Re-execute program with ASLR disabled when necessary

Software compiled with -fsanitize=address needs ASLR to be disabled to
run successfully.

Add patches taken from the commits listed below that improve ASLR
detection and re-execute the program with ASLR disabled if necessary.

https://cgit.freebsd.org/src/commit/?id=7cafe89f9ce33effe6e471b185339d413da1ca46
https://cgit.freebsd.org/src/commit/?id=930a7c2ac67e1e8e511aa1d0a31a16c632060ebb
https://cgit.freebsd.org/src/commit/?id=96fe7c8ab0f65cf829619abd74ae6c126b21e15f

PR:		267751
12.2.0_4
30 Nov 2022 12:52:52
commit hash: 27141421f69cb2d2bc6a462d005b251921f2c52bcommit hash: 27141421f69cb2d2bc6a462d005b251921f2c52bcommit hash: 27141421f69cb2d2bc6a462d005b251921f2c52bcommit hash: 27141421f69cb2d2bc6a462d005b251921f2c52b files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc12: 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.

PR:		267751
Reported by:	yuri
12.2.0_3
09 Nov 2022 13:29:15
commit hash: f1957296ed2dce8a09bb9582e9a5a715bf8b3d4dcommit hash: f1957296ed2dce8a09bb9582e9a5a715bf8b3d4dcommit hash: f1957296ed2dce8a09bb9582e9a5a715bf8b3d4dcommit hash: f1957296ed2dce8a09bb9582e9a5a715bf8b3d4d files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc12: Fix conflict on libgccjit.h and libgccjit++.h

GCC 11, GCC 12 and GCC 13 install libgccjit.h and libgccjit++.h in the
same directory.

Fix conflict for lang/gcc12, which is soon to become GCC_DEFAULT, by
installing those files in a directory specific to GCC 12.

See also commit 0338e04504ee269b7a95e6707f1314bc1c4239fe that fixed the
conflict in the same way for lang/gcc11.

PR:		257060
12.2.0_2
09 Sep 2022 11:10:15
commit hash: 781f8a55a2b744679d8b7ac936f198d573906685commit hash: 781f8a55a2b744679d8b7ac936f198d573906685commit hash: 781f8a55a2b744679d8b7ac936f198d573906685commit hash: 781f8a55a2b744679d8b7ac936f198d573906685 files touched by this commit
Gerald Pfeifer (gerald) search for other commits by this committer
lang/gcc12: The Fortran front end is gfortran12
12.2.0_1
08 Sep 2022 15:46:38
commit hash: ade2a047e0eb835f7f42682496614cfd259757eacommit hash: ade2a047e0eb835f7f42682496614cfd259757eacommit hash: ade2a047e0eb835f7f42682496614cfd259757eacommit hash: ade2a047e0eb835f7f42682496614cfd259757ea files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW lines that have been moved into Makefiles

Approved by:	portmgr (implicit)
12.2.0_1
08 Sep 2022 15:43:21
commit hash: 986beaaabc71b9e7e29e7e89e0f36405b687216fcommit hash: 986beaaabc71b9e7e29e7e89e0f36405b687216fcommit hash: 986beaaabc71b9e7e29e7e89e0f36405b687216fcommit hash: 986beaaabc71b9e7e29e7e89e0f36405b687216f files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Move more WWW entries from pkg-descr files into Makefiles

The WWW: lines in the pkg-descr files of these ports where not at the
end of those files and have been missed in prior conversion runs.

Approved by:	portmgr (implicit)
12.2.0_1
25 Aug 2022 21:35:37
commit hash: 86e7abbbf467e97ffa58363ca3327d08395931eecommit hash: 86e7abbbf467e97ffa58363ca3327d08395931eecommit hash: 86e7abbbf467e97ffa58363ca3327d08395931eecommit hash: 86e7abbbf467e97ffa58363ca3327d08395931ee files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
lang/gcc12: Expose non-default -stdlib=libc++ support

Fix -stdlib=libc++ option which produced "error: unrecognized
command-line option '-stdlib=libc++'".

PR:		265962
Approved by:	salvadore (maintainer)
Exp-run by:	antoine (via bug 265964)
12.2.0
19 Aug 2022 18:41:54
commit hash: 3a4acf7356e7b2eea67c3a471255f072514e80decommit hash: 3a4acf7356e7b2eea67c3a471255f072514e80decommit hash: 3a4acf7356e7b2eea67c3a471255f072514e80decommit hash: 3a4acf7356e7b2eea67c3a471255f072514e80de files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc12: Update to 12.2.0

Also take maintainership.
12.1.0
20 Jul 2022 14:22:15
commit hash: f98ae56653d5255e3519da4e97d6edbaa7e6df91commit hash: f98ae56653d5255e3519da4e97d6edbaa7e6df91commit hash: f98ae56653d5255e3519da4e97d6edbaa7e6df91commit hash: f98ae56653d5255e3519da4e97d6edbaa7e6df91 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
lang: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Alonso Cardenas Marquez <acm@FreeBSD.org>
  *  Andreas Klemm <andreas@klemm.gtn.com>
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Andrey Zakhvatov
  *  Anton Berezin <tobez@FreeBSD.org>
  *  Anton Berezin <tobez@tobez.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
12.1.0
07 Jul 2022 22:56:01
commit hash: 320e9debc3c3b4a90292a9aa29f139be9df00f40commit hash: 320e9debc3c3b4a90292a9aa29f139be9df00f40commit hash: 320e9debc3c3b4a90292a9aa29f139be9df00f40commit hash: 320e9debc3c3b4a90292a9aa29f139be9df00f40 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc>=11: Warn about LTO_BOOTSTRAP

Warn users about the amount of ram and time needed to build GCC with
LTO_BOOTSTRP enabled.

PR:		264949
Reported by:	Tomoaki AOKI <junchoon@dec.sakura.ne.jp> and others
Reviewed by:	gerald
Differential Revision: https://reviews.freebsd.org/D35688
12.1.0
06 May 2022 18:01:39
commit hash: ca48c22e1c7a4e39244d6bea3b9f52cc17047592commit hash: ca48c22e1c7a4e39244d6bea3b9f52cc17047592commit hash: ca48c22e1c7a4e39244d6bea3b9f52cc17047592commit hash: ca48c22e1c7a4e39244d6bea3b9f52cc17047592 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/gcc12: add gcc 12

Changelog:	https://gcc.gnu.org/gcc-12/changes.html

Number of commits found: 28