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
gcc17-devel GNU Compiler Collection 17
17.0.0.s20260621 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 17.0.0.s20260621Version 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:36
Last Update: 2026-08-22 22:25:16
Commit Hash: 15b81f7
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 gcc17, g++17, and gfortran17, 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/gcc17-devel-17.0.0.s20260621/catalog.mk
  3. /usr/local/share/licenses/gcc17-devel-17.0.0.s20260621/LICENSE
  4. /usr/local/share/licenses/gcc17-devel-17.0.0.s20260621/GPLv3
  5. /usr/local/share/licenses/gcc17-devel-17.0.0.s20260621/GPLv3RLE
  6. bin/x86_64-portbld-freebsd15.1-c++17
  7. bin/x86_64-portbld-freebsd15.1-g++17
  8. bin/x86_64-portbld-freebsd15.1-gcc17
  9. bin/x86_64-portbld-freebsd15.1-gcc-17.0.0
  10. bin/x86_64-portbld-freebsd15.1-gcc-ar17
  11. bin/x86_64-portbld-freebsd15.1-gcc-nm17
  12. bin/x86_64-portbld-freebsd15.1-gcc-ranlib17
  13. bin/x86_64-portbld-freebsd15.1-gfortran17
  14. bin/c++17
  15. bin/cpp17
  16. bin/g++17
  17. bin/gcc17
  18. bin/gcc-ar17
  19. bin/gcc-nm17
  20. bin/gcc-ranlib17
  21. bin/gcov17
  22. bin/gcov-dump17
  23. bin/gcov-tool17
  24. bin/gfortran17
  25. bin/lto-dump17
  26. include/gcc17/ISO_Fortran_binding.h
  27. share/man/man1/cpp17.1.gz
  28. share/man/man1/g++17.1.gz
  29. share/man/man1/gcc17.1.gz
  30. share/man/man1/gcov17.1.gz
  31. share/man/man1/gcov-dump17.1.gz
  32. share/man/man1/gcov-tool17.1.gz
  33. share/man/man1/gfortran17.1.gz
  34. share/man/man1/lto-dump17.1.gz
  35. share/gcc-17.0.0/python/libstdcxx/__init__.py
  36. share/gcc-17.0.0/python/libstdcxx/v6/__init__.py
  37. share/gcc-17.0.0/python/libstdcxx/v6/printers.py
  38. share/gcc-17.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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • gcc17-devel>0:lang/gcc17-devel
To install the port:
cd /usr/ports/lang/gcc17-devel/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/gcc17-devel
  • pkg install gcc17-devel
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: gcc17-devel
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le
distinfo:
TIMESTAMP = 1782287733 SHA256 (gcc-17-20260621.tar.xz) = 6783c092fa8ef22b34fe72a592f347073a26e7676f163f13f6f2329942cc8be1 SIZE (gcc-17-20260621.tar.xz) = 99395408

Packages (timestamps in pop-ups are UTC):
gcc17-devel
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-17.0.0.s20260426n/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/a
FreeBSD:14:latest17.0.0.s2026080217.0.0.s20260802--17.0.0.s20260802---
FreeBSD:14:quarterly17.0.0.s2026062117.0.0.s20260621--17.0.0.s20260621---
FreeBSD:15:latest17.0.0.s2026080217.0.0.s20260802n/a-n/an/a--
FreeBSD:15:quarterly17.0.0.s2026062117.0.0.s20260621n/a-n/an/a--
FreeBSD:16:latest17.0.0.s2026080217.0.0.s20260802n/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 gcc17-devel-17.0.0.s20260621: 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_gcc17-devel
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/snapshots/17-20260621/
  2. http://gcc.gnu.org/pub/gcc/snapshots/17-20260621/
  3. http://mirror.koddos.net/gcc/snapshots/17-20260621/
  4. https://ftp-stud.hs-esslingen.de/pub/Mirrors/sourceware.org/gcc/snapshots/17-20260621/
  5. https://ftp.funet.fi/pub/mirrors/sourceware.org/pub/gcc/snapshots/17-20260621/
  6. https://ftp.mpi-inf.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/snapshots/17-20260621/
  7. https://mirrors.kernel.org/sourceware/gcc/snapshots/17-20260621/
  8. https://mirrorservice.org/sites/sourceware.org/pub/gcc/snapshots/17-20260621/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
17.0.0.s20260621
22 Aug 2026 22:25:16
commit hash: 15b81f75efd681218b9ddfb613613a07e99906b2commit hash: 15b81f75efd681218b9ddfb613613a07e99906b2commit hash: 15b81f75efd681218b9ddfb613613a07e99906b2commit hash: 15b81f75efd681218b9ddfb613613a07e99906b2 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
lang/gcc17-devel: fix build after base d08296c7ab0d

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

  In file included from
/wrkdirs/usr/ports/lang/gcc17-devel/work/.build/gcc/include-fixed/stdio.h:52,
                   from cp-demangle.c:109:
 
/wrkdirs/usr/ports/lang/gcc17-devel/work/gcc-17-20260727/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: 1