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

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details
gcc12 GNU Compiler Collection 12
12.4.0_3 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_3Version 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-05-03 09:46:25
Commit Hash: a388186
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:
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_3/catalog.mk
  3. /usr/local/share/licenses/gcc12-12.4.0_3/LICENSE
  4. /usr/local/share/licenses/gcc12-12.4.0_3/GPLv3
  5. /usr/local/share/licenses/gcc12-12.4.0_3/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_312.4.0_3-12.4.0_312.4.0_3---
FreeBSD:13:quarterly12.4.0_312.4.0_3-12.4.0_312.4.0_3-12.2.0_712.2.0_7
FreeBSD:14:latest12.4.0_312.4.0_3-12.4.0_312.4.0_3---
FreeBSD:14:quarterly12.4.0_312.4.0_3-12.4.0_312.4.0_3-12.2.0_712.2.0_7
FreeBSD:15:latest12.4.0_312.4.0_3n/a12.4.0_3n/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. benchmarks/himenobench
  2. benchmarks/polygraph
  3. biology/psi88
  4. biology/seqan3
  5. comms/ems-flasher
  6. converters/R-cran-base64enc
  7. databases/fastdb
Expand this list (150 items / 143 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. databases/gigabase
  3. devel/R-cran-ModelMetrics
  4. devel/R-cran-bindrcpp
  5. devel/R-cran-chron
  6. devel/R-cran-decor
  7. devel/R-cran-ellipsis
  8. devel/R-cran-fansi
  9. devel/R-cran-gbm
  10. devel/R-cran-glmnet
  11. devel/R-cran-gtools
  12. devel/R-cran-magrittr
  13. devel/R-cran-multicool
  14. devel/R-cran-plogr
  15. devel/R-cran-plyr
  16. devel/R-cran-prettyunits
  17. devel/R-cran-progress
  18. devel/R-cran-reshape2
  19. devel/R-cran-tidyr
  20. devel/R-cran-timechange
  21. devel/R-cran-vctrs
  22. devel/api-sanity-autotest
  23. devel/covtool
  24. devel/libcwd
  25. devel/lockfree-malloc
  26. finance/R-cran-TTR
  27. finance/R-cran-gmm
  28. finance/R-cran-lmtest
  29. french/med
  30. graphics/R-cran-GDD
  31. graphics/R-cran-png
  32. graphics/dcp2icc
  33. graphics/pgplot
  34. graphics/sam2p
  35. graphics/xd3d
  36. irc/undernet-ircu
  37. lang/gnat12
  38. lang/micropython
  39. lang/p5-ExtUtils-F77
  40. mail/milter-callback
  41. math/R-cran-BsMD
  42. math/R-cran-acepack
  43. math/R-cran-ash
  44. math/R-cran-conquer
  45. math/R-cran-dplyr
  46. math/R-cran-exactRankTests
  47. math/R-cran-gpclib
  48. math/R-cran-hdrcde
  49. math/R-cran-influenceR
  50. math/R-cran-irlba
  51. math/R-cran-isoband
  52. math/R-cran-lazyeval
  53. math/R-cran-mcmc
  54. math/R-cran-nnls
  55. math/R-cran-prodlim
  56. math/R-cran-proxy
  57. math/R-cran-quadprog
  58. math/R-cran-sets
  59. math/R-cran-sm
  60. math/R-cran-truncnorm
  61. math/blacs
  62. math/blazeiterative
  63. math/cmlib
  64. math/ddfun
  65. math/dqfun
  66. math/dune-curvedgeometry
  67. math/dune-foamgrid
  68. math/dune-functions
  69. math/dune-localfunctions
  70. math/dune-metagrid
  71. math/dune-multidomaingrid
  72. math/dune-spgrid
  73. math/dune-typetree
  74. math/hptt
  75. math/lapackpp
  76. math/librsb
  77. math/libxsmm
  78. math/lidia
  79. math/math77
  80. math/miracl
  81. math/optpp
  82. math/qd
  83. math/qxfun
  84. math/trlan
  85. misc/libemos
  86. misc/seabios
  87. misc/thrill
  88. misc/veles
  89. net/charm
  90. net-mgmt/aircrack-ng
  91. science/R-cran-DCluster
  92. science/R-cran-bayesm
  93. science/aircraft-datcom
  94. science/chimes-calculator
  95. science/dftd3
  96. science/dkh
  97. science/erd
  98. science/feff10
  99. science/fvcom
  100. science/fvcom-mpi
  101. science/gamess-us
  102. science/gdma
  103. science/h5z-zfp
  104. science/isaac-cfd
  105. science/kim-api
  106. science/libgridxc
  107. science/m-aneos
  108. science/mcstas-comps
  109. science/mdynamix
  110. science/namd
  111. science/openkim-models
  112. science/q
  113. science/qwalk
  114. science/silo
  115. science/xcrysden
  116. sysutils/arcconf
  117. sysutils/wiimms
  118. textproc/R-cran-bibtex
  119. textproc/R-cran-pystr
  120. textproc/R-cran-readr
  121. textproc/R-cran-vroom
  122. textproc/fox-xml
  123. textproc/senna
  124. www/R-cran-Rook
  125. www/cgicc
  126. 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. benchmarks/himenobench
  2. benchmarks/polygraph
  3. biology/psi88
  4. biology/seqan3
  5. comms/ems-flasher
  6. converters/R-cran-base64enc
  7. databases/fastdb
Expand this list (151 items / 144 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. databases/gigabase
  3. devel/R-cran-ModelMetrics
  4. devel/R-cran-bindrcpp
  5. devel/R-cran-chron
  6. devel/R-cran-decor
  7. devel/R-cran-ellipsis
  8. devel/R-cran-fansi
  9. devel/R-cran-gbm
  10. devel/R-cran-glmnet
  11. devel/R-cran-gtools
  12. devel/R-cran-magrittr
  13. devel/R-cran-multicool
  14. devel/R-cran-plogr
  15. devel/R-cran-plyr
  16. devel/R-cran-prettyunits
  17. devel/R-cran-progress
  18. devel/R-cran-reshape2
  19. devel/R-cran-tidyr
  20. devel/R-cran-timechange
  21. devel/R-cran-vctrs
  22. devel/api-sanity-autotest
  23. devel/covtool
  24. devel/libcwd
  25. devel/lockfree-malloc
  26. finance/R-cran-TTR
  27. finance/R-cran-gmm
  28. finance/R-cran-lmtest
  29. french/med
  30. graphics/R-cran-GDD
  31. graphics/R-cran-png
  32. graphics/dcp2icc
  33. graphics/pgplot
  34. graphics/sam2p
  35. graphics/xd3d
  36. irc/undernet-ircu
  37. lang/gcc
  38. lang/gnat12
  39. lang/micropython
  40. lang/p5-ExtUtils-F77
  41. mail/milter-callback
  42. math/R-cran-BsMD
  43. math/R-cran-acepack
  44. math/R-cran-ash
  45. math/R-cran-conquer
  46. math/R-cran-dplyr
  47. math/R-cran-exactRankTests
  48. math/R-cran-gpclib
  49. math/R-cran-hdrcde
  50. math/R-cran-influenceR
  51. math/R-cran-irlba
  52. math/R-cran-isoband
  53. math/R-cran-lazyeval
  54. math/R-cran-mcmc
  55. math/R-cran-nnls
  56. math/R-cran-prodlim
  57. math/R-cran-proxy
  58. math/R-cran-quadprog
  59. math/R-cran-sets
  60. math/R-cran-sm
  61. math/R-cran-truncnorm
  62. math/blacs
  63. math/blazeiterative
  64. math/cmlib
  65. math/combblas
  66. math/ddfun
  67. math/dqfun
  68. math/dune-curvedgeometry
  69. math/dune-foamgrid
  70. math/dune-functions
  71. math/dune-localfunctions
  72. math/dune-metagrid
  73. math/dune-multidomaingrid
  74. math/dune-spgrid
  75. math/dune-typetree
  76. math/hptt
  77. math/lapackpp
  78. math/librsb
  79. math/libxsmm
  80. math/lidia
  81. math/math77
  82. math/miracl
  83. math/optpp
  84. math/qd
  85. math/qxfun
  86. math/trlan
  87. misc/libemos
  88. misc/thrill
  89. misc/veles
  90. net/charm
  91. net-mgmt/aircrack-ng
  92. science/R-cran-DCluster
  93. science/R-cran-bayesm
  94. science/aircraft-datcom
  95. science/chimes-calculator
  96. science/dftd3
  97. science/dkh
  98. science/erd
  99. science/feff10
  100. science/fvcom
  101. science/fvcom-mpi
  102. science/gamess-us
  103. science/gdma
  104. science/h5z-zfp
  105. science/isaac-cfd
  106. science/kim-api
  107. science/libgridxc
  108. science/m-aneos
  109. science/mcstas-comps
  110. science/mdynamix
  111. science/namd
  112. science/openkim-models
  113. science/q
  114. science/qwalk
  115. science/silo
  116. science/xcrysden
  117. sysutils/arcconf
  118. sysutils/wiimms
  119. textproc/R-cran-bibtex
  120. textproc/R-cran-pystr
  121. textproc/R-cran-readr
  122. textproc/R-cran-vroom
  123. textproc/fox-xml
  124. textproc/senna
  125. www/R-cran-Rook
  126. www/cgicc
  127. 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_3: 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: 32

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
12.4.0_3
03 May 2025 09:46:25
commit hash: a38818665f79d0455c1b788ff2cfb18c2e19181ccommit hash: a38818665f79d0455c1b788ff2cfb18c2e19181ccommit hash: a38818665f79d0455c1b788ff2cfb18c2e19181ccommit hash: a38818665f79d0455c1b788ff2cfb18c2e19181c files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc12: Add comment to existing patch

Add a comment to files/patch-libgcc_unwind.inc to remember when it will
get obsolete, i.e. once all supported FreeBSD releases include commit
22e564c74eb20e14bd93fd9fdde20e38a29cfcf1.

PR:             285711
12.4.0_3
24 Apr 2025 12:55:47
commit hash: 231018e228187099b8fac7e55b1a662cdc81c1f8commit hash: 231018e228187099b8fac7e55b1a662cdc81c1f8commit hash: 231018e228187099b8fac7e55b1a662cdc81c1f8commit hash: 231018e228187099b8fac7e55b1a662cdc81c1f8 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
Author: Oleg Sidorkin
lang/gcc12: 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.

PR:             285711
Reported by:    cracauer
Tested by:      cracauer, jbo
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: 32