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
gcc15 GNU Compiler Collection 15
15.2.0_3 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 15.2.0_3Version of this port present on the latest quarterly branch.
Maintainer: salvadore@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-08-17 19:45:19
Last Update: 2026-08-17 19:44:22
Commit Hash: 6b50d70
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 gcc15, g++15, and gfortran15, 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/gcc15-15.2.0_3/catalog.mk
  3. /usr/local/share/licenses/gcc15-15.2.0_3/LICENSE
  4. /usr/local/share/licenses/gcc15-15.2.0_3/GPLv3
  5. /usr/local/share/licenses/gcc15-15.2.0_3/GPLv3RLE
  6. bin/x86_64-portbld-freebsd15.1-c++15
  7. bin/x86_64-portbld-freebsd15.1-g++15
  8. bin/x86_64-portbld-freebsd15.1-gcc15
  9. bin/x86_64-portbld-freebsd15.1-gcc-15.2.0
  10. bin/x86_64-portbld-freebsd15.1-gcc-ar15
  11. bin/x86_64-portbld-freebsd15.1-gcc-nm15
  12. bin/x86_64-portbld-freebsd15.1-gcc-ranlib15
  13. bin/x86_64-portbld-freebsd15.1-gfortran15
  14. bin/c++15
  15. bin/cpp15
  16. bin/g++15
  17. bin/gcc15
  18. bin/gcc-ar15
  19. bin/gcc-nm15
  20. bin/gcc-ranlib15
  21. bin/gcov15
  22. bin/gcov-dump15
  23. bin/gcov-tool15
  24. bin/gfortran15
  25. bin/lto-dump15
  26. include/gcc15/ISO_Fortran_binding.h
  27. share/man/man1/cpp15.1.gz
  28. share/man/man1/g++15.1.gz
  29. share/man/man1/gcc15.1.gz
  30. share/man/man1/gcov15.1.gz
  31. share/man/man1/gcov-dump15.1.gz
  32. share/man/man1/gcov-tool15.1.gz
  33. share/man/man1/gfortran15.1.gz
  34. share/man/man1/lto-dump15.1.gz
  35. share/gcc-15.2.0/python/libstdcxx/__init__.py
  36. share/gcc-15.2.0/python/libstdcxx/v6/__init__.py
  37. share/gcc-15.2.0/python/libstdcxx/v6/printers.py
  38. share/gcc-15.2.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:
  • gcc15>0:lang/gcc15
Conflicts:
CONFLICTS:
  • gcc15-devel
To install the port:
cd /usr/ports/lang/gcc15/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/gcc15
  • pkg install gcc15
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: gcc15
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le
distinfo:
TIMESTAMP = 1755075794 SHA256 (gcc-15.2.0.tar.xz) = 438fd996826b0c82485a29da03a72d71d6e3541a83ec702df4271f6fe025d24e SIZE (gcc-15.2.0.tar.xz) = 101056276

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
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 gcc15-15.2.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_gcc15
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-15.2.0/
  2. http://gcc.gnu.org/pub/gcc/releases/gcc-15.2.0/
  3. http://mirror.koddos.net/gcc/releases/gcc-15.2.0/
  4. https://ftp-stud.hs-esslingen.de/pub/Mirrors/sourceware.org/gcc/releases/gcc-15.2.0/
  5. https://ftp.funet.fi/pub/mirrors/sourceware.org/pub/gcc/releases/gcc-15.2.0/
  6. https://ftp.mpi-inf.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/releases/gcc-15.2.0/
  7. https://mirrors.kernel.org/sourceware/gcc/releases/gcc-15.2.0/
  8. https://mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-15.2.0/
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
15.2.0_3
17 Aug 2026 19:44:22
commit hash: 6b50d7083e3281d2a11cd6e1b202f4018b36e677commit hash: 6b50d7083e3281d2a11cd6e1b202f4018b36e677commit hash: 6b50d7083e3281d2a11cd6e1b202f4018b36e677commit hash: 6b50d7083e3281d2a11cd6e1b202f4018b36e677 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
lang/gcc15: fix build after base d08296c7ab0d

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

  /wrkdirs/usr/ports/lang/gcc15/work/gcc-15.2.0/libgomp/affinity-fmt.c: In
function 'gomp_display_affinity':
  /wrkdirs/usr/ports/lang/gcc15/work/gcc-15.2.0/libgomp/affinity-fmt.c:330:25:
error: initialization discards 'const' qualifier from pointer target type
[-Werror=discarded-qualifiers]
    330 |               char *q = strchr (p + 1, '}');
        |                         ^~~~~~

and:

  In file included from
/wrkdirs/usr/ports/lang/gcc15/work/.build/gcc/include-fixed/stdio.h:52,
                   from cp-demangle.c:109:
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 1