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

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

Packages (timestamps in pop-ups are UTC):
gcc13
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64leriscv64
FreeBSD:13:latest13.3.0_313.3.0_3n/an/an/an/an/an/an/a
FreeBSD:13:quarterly13.3.0_313.3.0_3n/an/an/an/an/an/an/a
FreeBSD:14:latest13.3.0_613.4.0-13.3.0_313.4.0--13.1.0_1-
FreeBSD:14:quarterly13.3.0_513.3.0_5-13.3.0_313.3.0_613.2.0_1-13.2.0_1-
FreeBSD:15:latest13.3.0_613.4.0n/a13.3.0_3n/an/a---
FreeBSD:15:quarterly13.3.0_613.3.0_5n/a-n/an/a---
FreeBSD:16:latest13.3.0_613.4.0n/a-n/an/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. as : devel/binutils
  2. gmake>=4.4.1 : devel/gmake
  3. makeinfo : print/texinfo
  4. as : devel/binutils
  5. perl5>=5.42.r<5.43 : lang/perl5.42
Runtime dependencies:
  1. as : devel/binutils
  2. indexinfo : print/indexinfo
Library dependencies:
  1. libgmp.so : math/gmp
  2. libmpfr.so : math/mpfr
  3. libmpc.so : math/mpc
This port is required by:
for Build
  1. archivers/R-cran-brotli
  2. astro/nightfall
  3. audio/kaldi
  4. benchmarks/tinymembench
  5. biology/R-cran-Biobase
  6. biology/R-cran-BiocGenerics
  7. biology/psi88
Expand this list (153 items / 146 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. biology/treekin
  3. cad/feappv
  4. cad/freehdl
  5. cad/pdnmesh
  6. databases/dbixx
  7. devel/R-cran-brio
  8. devel/R-cran-caret
  9. devel/R-cran-chk
  10. devel/R-cran-covr
  11. devel/R-cran-fansi
  12. devel/R-cran-gert
  13. devel/R-cran-git2r
  14. devel/R-cran-microbenchmark
  15. devel/R-cran-msm
  16. devel/R-cran-parsedate
  17. devel/R-cran-reshape
  18. devel/fortran-stdlib
  19. devel/gcc-msp430-ti-toolchain
  20. devel/kronosnet
  21. devel/libfaketime
  22. devel/ocaml-lacaml
  23. devel/test-drive
  24. editors/emacs
  25. editors/emacs-devel
  26. emulators/x49gp
  27. games/dxx-rebirth
  28. games/xbat
  29. graphics/R-cran-ggforce
  30. graphics/R-cran-jpeg
  31. graphics/R-cran-qpdf
  32. graphics/R-cran-tweenr
  33. graphics/R-cran-webp
  34. graphics/gimp-beautify-plugin
  35. graphics/nurbs++
  36. graphics/pgplot
  37. graphics/raster3d
  38. japanese/xtr
  39. lang/mlkit
  40. lang/oo2c
  41. lang/ratfor
  42. math/R-cran-Amelia
  43. math/R-cran-FNN
  44. math/R-cran-Matching
  45. math/R-cran-eRm
  46. math/R-cran-haven
  47. math/R-cran-intervals
  48. math/R-cran-locfit
  49. math/R-cran-maps
  50. math/R-cran-memisc
  51. math/R-cran-ncdf4
  52. math/R-cran-polyclip
  53. math/R-cran-rgenoud
  54. math/R-cran-statmod
  55. math/R-cran-wk
  56. math/algae
  57. math/atlas
  58. math/blas
  59. math/cblas
  60. math/cmlib
  61. math/coin-or-metis
  62. math/coin-or-mumps
  63. math/ddfun
  64. math/dsdp
  65. math/fftw
  66. math/fftw-float
  67. math/fftw3-quad
  68. math/kktdirect
  69. math/lapack
  70. math/lapack95
  71. math/lapacke
  72. math/libceed
  73. math/math77
  74. math/miracl
  75. math/qrupdate
  76. math/sdpa
  77. math/suitesparse-amd
  78. math/suitesparse-btf
  79. math/suitesparse-camd
  80. math/suitesparse-ccolamd
  81. math/suitesparse-colamd
  82. math/suitesparse-cxsparse
  83. math/suitesparse-klu
  84. math/suitesparse-ldl
  85. math/suitesparse-mongoose
  86. math/suitesparse-rbio
  87. math/suitesparse-spex
  88. math/trlan
  89. math/xlife++
  90. net-p2p/cpuminer
  91. science/R-cran-e1071
  92. science/cdf
  93. science/clipper
  94. science/cpcmx
  95. science/fastjet
  96. science/feff10
  97. science/gcp
  98. science/ghemical
  99. science/hdf5
  100. science/hdf5-110
  101. science/isaac-cfd
  102. science/libccp4
  103. science/libctl
  104. science/libpsml
  105. science/mstore
  106. science/numsa
  107. science/qwalk
  108. security/R-cran-digest
  109. security/seccure
  110. sysutils/bacula-libs3
  111. sysutils/fwupd-efi
  112. textproc/R-cran-commonmark
  113. textproc/R-cran-htmltools
  114. textproc/R-cran-sass
  115. textproc/R-cran-utf8
  116. textproc/R-cran-yaml
  117. textproc/xmlf90
  118. www/kannel
  119. www/kannel-sqlbox
  120. Collapse this list.

Deleted ports which required this port:

Expand this list of 28 deleted ports
  1. astro/R-cran-maptools*
  2. audio/openspc*
  3. databases/gnats4*
  4. devel/asmutils*
  5. devel/eclipse-titan*
  6. emulators/wine8*
  7. games/shaaft*
  8. graphics/R-cran-rgdal*
  9. irc/ezbounce*
  10. java/openjdk18*
  11. lang/nhc98*
  12. lang/spidermonkey102*
  13. lang/spidermonkey78*
  14. lang/spidermonkey91*
  15. math/R-cran-RSvgDevice*
  16. math/octave-forge-onsas*
  17. math/sage*
  18. math/xlapack*
  19. net/libtnl*
  20. net/nepenthes*
  21. science/R-cran-eco*
  22. sysutils/R-cran-fs*
  23. sysutils/fusefs-lkl*
  24. sysutils/libretto-config*
  25. sysutils/memtest86+*
  26. sysutils/shim*
  27. sysutils/wiimms*
  28. www/thundercache*
  29. Collapse this list of deleted ports.
for Run
  1. archivers/R-cran-brotli
  2. astro/nightfall
  3. audio/kaldi
  4. benchmarks/tinymembench
  5. biology/R-cran-Biobase
  6. biology/R-cran-BiocGenerics
  7. biology/psi88
Expand this list (151 items / 144 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. biology/treekin
  3. cad/feappv
  4. cad/freehdl
  5. cad/pdnmesh
  6. databases/dbixx
  7. devel/R-cran-brio
  8. devel/R-cran-caret
  9. devel/R-cran-chk
  10. devel/R-cran-covr
  11. devel/R-cran-fansi
  12. devel/R-cran-gert
  13. devel/R-cran-git2r
  14. devel/R-cran-microbenchmark
  15. devel/R-cran-msm
  16. devel/R-cran-parsedate
  17. devel/R-cran-reshape
  18. devel/fortran-stdlib
  19. devel/kronosnet
  20. devel/libfaketime
  21. devel/ocaml-lacaml
  22. devel/test-drive
  23. editors/emacs
  24. editors/emacs-devel
  25. emulators/x49gp
  26. games/dxx-rebirth
  27. games/xbat
  28. graphics/R-cran-ggforce
  29. graphics/R-cran-jpeg
  30. graphics/R-cran-qpdf
  31. graphics/R-cran-tweenr
  32. graphics/R-cran-webp
  33. graphics/gimp-beautify-plugin
  34. graphics/nurbs++
  35. graphics/pgplot
  36. graphics/raster3d
  37. japanese/xtr
  38. lang/gcc
  39. lang/mlkit
  40. lang/oo2c
  41. lang/ratfor
  42. math/R-cran-Amelia
  43. math/R-cran-FNN
  44. math/R-cran-Matching
  45. math/R-cran-eRm
  46. math/R-cran-haven
  47. math/R-cran-intervals
  48. math/R-cran-locfit
  49. math/R-cran-maps
  50. math/R-cran-memisc
  51. math/R-cran-ncdf4
  52. math/R-cran-polyclip
  53. math/R-cran-rgenoud
  54. math/R-cran-statmod
  55. math/R-cran-wk
  56. math/algae
  57. math/atlas
  58. math/blas
  59. math/cblas
  60. math/cmlib
  61. math/coin-or-metis
  62. math/coin-or-mumps
  63. math/ddfun
  64. math/dsdp
  65. math/fftw
  66. math/fftw-float
  67. math/fftw3-quad
  68. math/kktdirect
  69. math/lapack
  70. math/lapack95
  71. math/lapacke
  72. math/libceed
  73. math/math77
  74. math/miracl
  75. math/qrupdate
  76. math/sdpa
  77. math/suitesparse-amd
  78. math/suitesparse-btf
  79. math/suitesparse-camd
  80. math/suitesparse-ccolamd
  81. math/suitesparse-colamd
  82. math/suitesparse-cxsparse
  83. math/suitesparse-klu
  84. math/suitesparse-ldl
  85. math/suitesparse-mongoose
  86. math/suitesparse-rbio
  87. math/suitesparse-spex
  88. math/trlan
  89. math/xlife++
  90. net-p2p/cpuminer
  91. science/R-cran-e1071
  92. science/cdf
  93. science/clipper
  94. science/cpcmx
  95. science/fastjet
  96. science/feff10
  97. science/gcp
  98. science/ghemical
  99. science/hdf5
  100. science/hdf5-110
  101. science/isaac-cfd
  102. science/libccp4
  103. science/libctl
  104. science/libpsml
  105. science/mstore
  106. science/numsa
  107. science/qwalk
  108. security/R-cran-digest
  109. security/seccure
  110. sysutils/bacula-libs3
  111. sysutils/fwupd-efi
  112. textproc/R-cran-commonmark
  113. textproc/R-cran-htmltools
  114. textproc/R-cran-sass
  115. textproc/R-cran-utf8
  116. textproc/R-cran-yaml
  117. textproc/xmlf90
  118. www/kannel
  119. www/kannel-sqlbox
  120. Collapse this list.

Deleted ports which required this port:

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

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

Number of commits found: 25

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
13.4.0
02 Oct 2026 13:35:55
commit hash: 81cb874dccfd827e151e975b7efb249c3c59b46acommit hash: 81cb874dccfd827e151e975b7efb249c3c59b46acommit hash: 81cb874dccfd827e151e975b7efb249c3c59b46acommit hash: 81cb874dccfd827e151e975b7efb249c3c59b46a files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc13: Update to 13.4.0

Also remove files/patch-libgcc-config.host: patch has been upstreamed
with upstream commit 4f3a1ef6a8f32e4583d4c67fc452db9aa7fccb68.

Patch had been tested in PR 281091 and then forgotten, so I have tested
it again more recently before merging it into the main branch (without
the full exp-run, it is not needed as GCC 13 is not default GCC
version).

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

PR:             281091
Tested by:      exp-run (antoine)
13.3.0_6
09 Aug 2026 10:44:54
commit hash: cd7c885d050ff02b68b47559b68be439b631c0c2commit hash: cd7c885d050ff02b68b47559b68be439b631c0c2commit hash: cd7c885d050ff02b68b47559b68be439b631c0c2commit hash: cd7c885d050ff02b68b47559b68be439b631c0c2 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/gcc1?: further improvements for powerpc64*

1. Backport of e8385ea3b57862ce6c6ace5e6973b96cf238f4b6. Fixes libgcc
on powerpc64*, found with octave crashing.
2. Merge https://gcc.gnu.org/pipermail/gcc-patches/2026-July/723975.html,
not yet upstreamed, but allows to build all the remaining failing ports
due to ld128 switch for powerpc64le.

Differential Revision:	https://reviews.freebsd.org/D58116
13.3.0_5
27 Jun 2026 20:55:24
commit hash: 70f1f8cf7762db8fe6648bff3436cc604507d494commit hash: 70f1f8cf7762db8fe6648bff3436cc604507d494commit hash: 70f1f8cf7762db8fe6648bff3436cc604507d494commit hash: 70f1f8cf7762db8fe6648bff3436cc604507d494 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/gcc1[2-6]: actually fix build on powerpc64le/CURRENT

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Builds fine on 15-CURRENT.

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

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

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

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

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

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

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

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

PR:		267751
Reported by:	yuri

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Number of commits found: 25