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
gcc16-devel GNU Compiler Collection 16
16.0.0.s20250817 lang on this many watch lists=0 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 16.0.0.s20250622Version of this port present on the latest quarterly branch.
Maintainer: salvadore@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-05-03 09:55:57
Last Update: 2025-08-19 14:10:54
Commit Hash: 4e53759
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 gcc16, g++16, and gfortran16, 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 (44 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/gcc16-devel-16.0.0.s20250817/catalog.mk
  3. /usr/local/share/licenses/gcc16-devel-16.0.0.s20250817/LICENSE
  4. /usr/local/share/licenses/gcc16-devel-16.0.0.s20250817/GPLv3
  5. /usr/local/share/licenses/gcc16-devel-16.0.0.s20250817/GPLv3RLE
  6. bin/x86_64-portbld-freebsd14.2-c++16
  7. bin/x86_64-portbld-freebsd14.2-g++16
  8. bin/x86_64-portbld-freebsd14.2-gcc16
  9. bin/x86_64-portbld-freebsd14.2-gcc-16.0.0
  10. bin/x86_64-portbld-freebsd14.2-gcc-ar16
  11. bin/x86_64-portbld-freebsd14.2-gcc-nm16
  12. bin/x86_64-portbld-freebsd14.2-gcc-ranlib16
  13. bin/x86_64-portbld-freebsd14.2-gfortran16
  14. bin/c++16
  15. bin/cpp16
  16. bin/g++16
  17. bin/gcc16
  18. bin/gcc-ar16
  19. bin/gcc-nm16
  20. bin/gcc-ranlib16
  21. bin/gcov16
  22. bin/gcov-dump16
  23. bin/gcov-tool16
  24. bin/gfortran16
  25. bin/lto-dump16
  26. include/gcc16/ISO_Fortran_binding.h
  27. share/man/man1/cpp16.1.gz
  28. share/man/man1/g++16.1.gz
  29. share/man/man1/gcc16.1.gz
  30. share/man/man1/gcov16.1.gz
  31. share/man/man1/gcov-dump16.1.gz
  32. share/man/man1/gcov-tool16.1.gz
  33. share/man/man1/gfortran16.1.gz
  34. share/man/man1/lto-dump16.1.gz
  35. share/gcc-16.0.0/python/libstdcxx/__init__.py
  36. share/gcc-16.0.0/python/libstdcxx/v6/__init__.py
  37. share/gcc-16.0.0/python/libstdcxx/v6/printers.py
  38. share/gcc-16.0.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:
  • gcc16-devel>0:lang/gcc16-devel
To install the port:
cd /usr/ports/lang/gcc16-devel/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/gcc16-devel
  • pkg install gcc16-devel
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: gcc16-devel
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le
distinfo:
TIMESTAMP = 1755592857 SHA256 (gcc-16-20250817.tar.xz) = e321396b6b18996f7a87f7c6b296f3e5b0a6c0cd763cc8b7773cde7fd1ff3ff4 SIZE (gcc-16-20250817.tar.xz) = 95454224

Packages (timestamps in pop-ups are UTC):
gcc16-devel
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest16.0.0.s2025072716.0.0.s20250810_1--16.0.0.s20250810_1---
FreeBSD:13:quarterly16.0.0.s2025062916.0.0.s20250629--16.0.0.s20250629---
FreeBSD:14:latest16.0.0.s2025072716.0.0.s20250817--16.0.0.s20250810_1---
FreeBSD:14:quarterly16.0.0.s2025062916.0.0.s20250629--16.0.0.s20250629---
FreeBSD:15:latest--n/a-n/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
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for gcc16-devel-16.0.0.s20250817: GRAPHITE=off: Support for Graphite loop optimizations MULTILIB=on: Build support for 32-bit and 64-bit targets ====> Options available for the single BOOTSTRAP: you have to select exactly 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_gcc16-devel
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/gcc16 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/snapshots/16-20250817/
  2. http://gcc.gnu.org/pub/gcc/snapshots/16-20250817/
  3. http://mirror.koddos.net/gcc/snapshots/16-20250817/
  4. https://ftp-stud.hs-esslingen.de/pub/Mirrors/sourceware.org/gcc/snapshots/16-20250817/
  5. https://ftp.funet.fi/pub/mirrors/sourceware.org/pub/gcc/snapshots/16-20250817/
  6. https://ftp.mpi-inf.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/snapshots/16-20250817/
  7. https://mirrors.kernel.org/sourceware/gcc/snapshots/16-20250817/
  8. https://mirrorservice.org/sites/sourceware.org/pub/gcc/snapshots/16-20250817/
Collapse this list.

Number of commits found: 19

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
16.0.0.s20250817
19 Aug 2025 14:10:54
commit hash: 4e537594bf72c56492a91b5d8dd7dc05ad4e0557commit hash: 4e537594bf72c56492a91b5d8dd7dc05ad4e0557commit hash: 4e537594bf72c56492a91b5d8dd7dc05ad4e0557commit hash: 4e537594bf72c56492a91b5d8dd7dc05ad4e0557 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc16-devel: Update to 16.0.0.s20250817
16.0.0.s20250810_1
13 Aug 2025 15:33:15
commit hash: 5e3e3ce9d03c235dbb12307756b92e37954d034dcommit hash: 5e3e3ce9d03c235dbb12307756b92e37954d034dcommit hash: 5e3e3ce9d03c235dbb12307756b92e37954d034dcommit hash: 5e3e3ce9d03c235dbb12307756b92e37954d034d files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/gcc1{5,6}{,-devel}: drop USE_GCC on powerpc64*

Builds fine.
16.0.0.s20250810
13 Aug 2025 08:56:57
commit hash: fc325a56b6721adba17365680da7f6997361887ccommit hash: fc325a56b6721adba17365680da7f6997361887ccommit hash: fc325a56b6721adba17365680da7f6997361887ccommit hash: fc325a56b6721adba17365680da7f6997361887c files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc16-devel: Update to 16.0.0.s20250810

Also removes patch files/patch-libgcc_enable-execute-stack-mprotect.c,
obsolete after upstream commit a107b01da42b2f2303ffe53df5ea4a796f40597d.
16.0.0.s20250803
06 Aug 2025 09:33:57
commit hash: 3389ab49ce5a1d6865cb627e4d15d038f486e5e5commit hash: 3389ab49ce5a1d6865cb627e4d15d038f486e5e5commit hash: 3389ab49ce5a1d6865cb627e4d15d038f486e5e5commit hash: 3389ab49ce5a1d6865cb627e4d15d038f486e5e5 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc16-devel: Update to 16.0.0.s20250803
16.0.0.s20250727
29 Jul 2025 16:19:05
commit hash: f03dd3069bb777c5873c68c1509a1448d8057a62commit hash: f03dd3069bb777c5873c68c1509a1448d8057a62commit hash: f03dd3069bb777c5873c68c1509a1448d8057a62commit hash: f03dd3069bb777c5873c68c1509a1448d8057a62 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc16-devel: Update to 16.0.0.s20250727
16.0.0.s20250720
23 Jul 2025 12:08:29
commit hash: e2c017935139e276137c16be91312d196689e5b1commit hash: e2c017935139e276137c16be91312d196689e5b1commit hash: e2c017935139e276137c16be91312d196689e5b1commit hash: e2c017935139e276137c16be91312d196689e5b1 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc16-devel: Update to 16.0.0.s20250720
16.0.0.s20250713
15 Jul 2025 15:37:49
commit hash: fffe902049dbd05d20960a2c720d7f38e26eaa6fcommit hash: fffe902049dbd05d20960a2c720d7f38e26eaa6fcommit hash: fffe902049dbd05d20960a2c720d7f38e26eaa6fcommit hash: fffe902049dbd05d20960a2c720d7f38e26eaa6f files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc16-devel: Update to 16.0.0.s20250713
16.0.0.s20250706
09 Jul 2025 08:12:32
commit hash: e90245133bf6282ffaebfd404c311c1abab15c7ecommit hash: e90245133bf6282ffaebfd404c311c1abab15c7ecommit hash: e90245133bf6282ffaebfd404c311c1abab15c7ecommit hash: e90245133bf6282ffaebfd404c311c1abab15c7e files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc16-devel: Update to 16.0.0.s20250706
16.0.0.s20250629
01 Jul 2025 11:41:52
commit hash: 79d435672b7129979a638e40c2df233fbdba6d96commit hash: 79d435672b7129979a638e40c2df233fbdba6d96commit hash: 79d435672b7129979a638e40c2df233fbdba6d96commit hash: 79d435672b7129979a638e40c2df233fbdba6d96 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc16-devel: Update to 16.0.0.s20250629
16.0.0.s20250622
24 Jun 2025 14:10:20
commit hash: 786d21cad9f24553b2a7373001405f864b0662efcommit hash: 786d21cad9f24553b2a7373001405f864b0662efcommit hash: 786d21cad9f24553b2a7373001405f864b0662efcommit hash: 786d21cad9f24553b2a7373001405f864b0662ef files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc16-devel: Update to 16.0.0.s20250622
16.0.0.s20250608
10 Jun 2025 15:24:31
commit hash: 1ca9fc79a73f791b379730e981509d9509685376commit hash: 1ca9fc79a73f791b379730e981509d9509685376commit hash: 1ca9fc79a73f791b379730e981509d9509685376commit hash: 1ca9fc79a73f791b379730e981509d9509685376 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc16-devel: Update to 16.0.0.s20250608
16.0.0.s20250601
05 Jun 2025 13:53:27
commit hash: 1ae1fd2cee0ecc698ae88d550819fea1a63e0782commit hash: 1ae1fd2cee0ecc698ae88d550819fea1a63e0782commit hash: 1ae1fd2cee0ecc698ae88d550819fea1a63e0782commit hash: 1ae1fd2cee0ecc698ae88d550819fea1a63e0782 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc16-devel: Update to 16.0.0.s20250601
16.0.0.s20250525
28 May 2025 16:06:28
commit hash: a292fb99a6248eb27da39a029228a63f77f19f12commit hash: a292fb99a6248eb27da39a029228a63f77f19f12commit hash: a292fb99a6248eb27da39a029228a63f77f19f12commit hash: a292fb99a6248eb27da39a029228a63f77f19f12 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc16-devel: Update to 16.0.0.s20250525
16.0.0.s20250518
22 May 2025 15:27:56
commit hash: 94bd7be35c853bdcd4f0b3b183053717d23b2e44commit hash: 94bd7be35c853bdcd4f0b3b183053717d23b2e44commit hash: 94bd7be35c853bdcd4f0b3b183053717d23b2e44commit hash: 94bd7be35c853bdcd4f0b3b183053717d23b2e44 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc16-devel: Update to 16.0.0.s20250518
16.0.0.s20250511_1
22 May 2025 15:27:55
commit hash: 5926446a4973a707e4ba3c8af737029d6f13f176commit hash: 5926446a4973a707e4ba3c8af737029d6f13f176commit hash: 5926446a4973a707e4ba3c8af737029d6f13f176commit hash: 5926446a4973a707e4ba3c8af737029d6f13f176 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc16-devel: Unbreak on aarch64

FreeBSD defines ElfW(x) to translate Linux's convention to FreeBSD's convention.
GCC defines ElfW to convert its convention to FreeBSD's convention. This patch
removes the conversion defined by GCC so that the FreeBSD conversion only is
applied.

Co-authored-by: Mark Millard <marklmi26-fbsd@yahoo.com>

PR:             282797
Reported by:    John F. Carr <jfc@mit.edu>
Email Thread:  
https://lists.freebsd.org/archives/freebsd-toolchain/2025-May/002282.html
16.0.0.s20250511
16 May 2025 09:36:27
commit hash: e0d976d380a9cd4a7b4027849b9ef79ff9f62c91commit hash: e0d976d380a9cd4a7b4027849b9ef79ff9f62c91commit hash: e0d976d380a9cd4a7b4027849b9ef79ff9f62c91commit hash: e0d976d380a9cd4a7b4027849b9ef79ff9f62c91 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc16-devel: Update to 16.0.0.s20250511
16.0.0.s20250504
16 May 2025 09:36:27
commit hash: 0066578679ddecf6ac0f0870b17189f5bed76130commit hash: 0066578679ddecf6ac0f0870b17189f5bed76130commit hash: 0066578679ddecf6ac0f0870b17189f5bed76130commit hash: 0066578679ddecf6ac0f0870b17189f5bed76130 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc16-devel: Update to 16.0.0.s20250504
16.0.0.s20250427
03 May 2025 10:56:32
commit hash: dd4bfcad0b30e42d2699287a05a84aa511e79b44commit hash: dd4bfcad0b30e42d2699287a05a84aa511e79b44commit hash: dd4bfcad0b30e42d2699287a05a84aa511e79b44commit hash: dd4bfcad0b30e42d2699287a05a84aa511e79b44 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc16-devel: Fix PORTVERSION

I had committed the new port with the wrong PORTVERSION value. Fix it.

Adding PORTEPOCH should not be needed because the wrong PORTVERSION
value causes package build to fail, so no package with that PORTVERSION
can exist.
16.0.1.s20250427
03 May 2025 09:46:27
commit hash: 3e400b40c3c6dc7b0fc68476a433df383ea7bd55commit hash: 3e400b40c3c6dc7b0fc68476a433df383ea7bd55commit hash: 3e400b40c3c6dc7b0fc68476a433df383ea7bd55commit hash: 3e400b40c3c6dc7b0fc68476a433df383ea7bd55 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc16-devel: Add port

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

This is the first snapshot from trunk with the GCC 16 designation. It
largely is a copy of lang/gcc15-devel.

Note: files/patch-libgcc_unwind.inc will get obsolete once all supported
FreeBSD releases include commit
22e564c74eb20e14bd93fd9fdde20e38a29cfcf1. [1]

PR:             285711 [1]

Number of commits found: 19