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

Newsfeed changes

The news feed page[s] were not laid out well. Two pages, disjointed information, hard to figure out how to use the optional parameters...

Thankfully, someone told me.

The new page is ready for your review. Please compare these two:

You may also be interested in the Github issue.
Port details
gcc12 GNU Compiler Collection 12
12.4.0_2 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.0_2Version 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-03-13 16:54:27
Commit Hash: 13904d7
People watching this port, also watch:: samba419, 7-zip, samba416, rust, iperf3
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_2/catalog.mk
  3. /usr/local/share/licenses/gcc12-12.4.0_2/LICENSE
  4. /usr/local/share/licenses/gcc12-12.4.0_2/GPLv3
  5. /usr/local/share/licenses/gcc12-12.4.0_2/GPLv3RLE
  6. bin/x86_64-portbld-freebsd14.2-c++12
  7. bin/x86_64-portbld-freebsd14.2-g++12
  8. bin/x86_64-portbld-freebsd14.2-gcc12
  9. bin/x86_64-portbld-freebsd14.2-gcc-12.4.0
  10. bin/x86_64-portbld-freebsd14.2-gcc-ar12
  11. bin/x86_64-portbld-freebsd14.2-gcc-nm12
  12. bin/x86_64-portbld-freebsd14.2-gcc-ranlib12
  13. bin/x86_64-portbld-freebsd14.2-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

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

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
12.4.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
12.4.0_2
05 Mar 2025 15:32:48
commit hash: 1846a7fe9b587894845d69a895510f37eb2f40d8commit hash: 1846a7fe9b587894845d69a895510f37eb2f40d8commit hash: 1846a7fe9b587894845d69a895510f37eb2f40d8commit hash: 1846a7fe9b587894845d69a895510f37eb2f40d8 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc12: Fix linking with libisl.so

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>
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: 30