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.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2026Q3
gcc16 GNU Compiler Collection 16
16.1.0_2 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.1.0_2Version of this port present on the latest quarterly branch.
Maintainer: salvadore@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-08-22 22:27:19
Last Update: 2026-08-23 18:44:34
Commit Hash: a4894e7
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-16.1.0_2/catalog.mk
  3. /usr/local/share/licenses/gcc16-16.1.0_2/LICENSE
  4. /usr/local/share/licenses/gcc16-16.1.0_2/GPLv3
  5. /usr/local/share/licenses/gcc16-16.1.0_2/GPLv3RLE
  6. bin/x86_64-portbld-freebsd15.1-c++16
  7. bin/x86_64-portbld-freebsd15.1-g++16
  8. bin/x86_64-portbld-freebsd15.1-gcc16
  9. bin/x86_64-portbld-freebsd15.1-gcc-16.1.0
  10. bin/x86_64-portbld-freebsd15.1-gcc-ar16
  11. bin/x86_64-portbld-freebsd15.1-gcc-nm16
  12. bin/x86_64-portbld-freebsd15.1-gcc-ranlib16
  13. bin/x86_64-portbld-freebsd15.1-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.1.0/python/libstdcxx/__init__.py
  36. share/gcc-16.1.0/python/libstdcxx/v6/__init__.py
  37. share/gcc-16.1.0/python/libstdcxx/v6/printers.py
  38. share/gcc-16.1.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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • gcc16>0:lang/gcc16
Conflicts:
CONFLICTS:
  • gcc16-devel
To install the port:
cd /usr/ports/lang/gcc16/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/gcc16
  • pkg install gcc16
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: gcc16
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le
distinfo:
TIMESTAMP = 1778340390 SHA256 (gcc-16.1.0.tar.xz) = 50efb4d94c3397aff3b0d61a5abd748b4dd31d9d3f2ab7be05b171d36a510f79 SIZE (gcc-16.1.0.tar.xz) = 102456900

Packages (timestamps in pop-ups are UTC):
gcc16
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--n/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/a
FreeBSD:14:latest16.1.0_316.1.0_3--16.1.0_3---
FreeBSD:14:quarterly16.1.0_216.1.0_2--16.1.0_2---
FreeBSD:15:latest16.1.0_316.1.0_3n/a-n/an/a--
FreeBSD:15:quarterly16.1.0_216.1.0_2n/a-n/an/a--
FreeBSD:16:latest16.1.0_316.1.0_3n/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
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for gcc16-16.1.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_gcc16
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-16.1.0/
  2. http://gcc.gnu.org/pub/gcc/releases/gcc-16.1.0/
  3. http://mirror.koddos.net/gcc/releases/gcc-16.1.0/
  4. https://ftp-stud.hs-esslingen.de/pub/Mirrors/sourceware.org/gcc/releases/gcc-16.1.0/
  5. https://ftp.funet.fi/pub/mirrors/sourceware.org/pub/gcc/releases/gcc-16.1.0/
  6. https://ftp.mpi-inf.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/releases/gcc-16.1.0/
  7. https://mirrors.kernel.org/sourceware/gcc/releases/gcc-16.1.0/
  8. https://mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-16.1.0/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
16.1.0_2
23 Aug 2026 18:44:34
commit hash: a4894e75909f4f2fad03a067cc669332818a23cbcommit hash: a4894e75909f4f2fad03a067cc669332818a23cbcommit hash: a4894e75909f4f2fad03a067cc669332818a23cbcommit hash: a4894e75909f4f2fad03a067cc669332818a23cb files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc16: Fix build on arm64

GCC upstream has removed conditional definitions for some constants,
defining them directly with the same values used on Linux. However,
FreeBSD values for the same constants are different. Then revert
upstream commit.

Co-authored-by: Mark Millard <marklmi26-fbsd@yahoo.com>
PR:             294062
Reported by:    Luke Yasuda <jing@jing.rocks>

(cherry picked from commit 13e3a42d6eebb30b822e95a16ba09ce14bcb557d)
16.1.0_2
22 Aug 2026 22:25:00
commit hash: e0d140aa6bc29c1df8744840c0998fc7ae292bcccommit hash: e0d140aa6bc29c1df8744840c0998fc7ae292bcccommit hash: e0d140aa6bc29c1df8744840c0998fc7ae292bcccommit hash: e0d140aa6bc29c1df8744840c0998fc7ae292bcc files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
lang/gcc16: fix build after base d08296c7ab0d

After base d08296c7ab0d7bb259bf7b8cdf9ffb819c1929ab ("libc: Implement
qualifier-preserving standard library functions"), lang/gcc16
fails to build with an error like:

  In file included from
/wrkdirs/usr/ports/lang/gcc16/work/.build/gcc/include-fixed/stdio.h:52,
                   from cp-demangle.c:109:
 
/wrkdirs/usr/ports/lang/gcc16/work/gcc-16.1.0/libstdc++-v3/../include/libiberty.h:225:14:
error: expected identifier or '(' before '_Generic'
    225 | extern void *memrchr(const void *, int, size_t);
        |              ^~~~~~~

This is because memrchr is now a macro, similar to the other functions
in <string.h>, and libiberty.h attempts to incorrectly redeclare it.
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 2