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
Port details
gcc14 GNU Compiler Collection 14
14.2.0_4 lang on this many watch lists=4 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 14.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: 2024-06-20 12:41:17
Last Update: 2025-04-24 12:55:48
Commit Hash: 1c41fd9
People watching this port, also watch:: openvpn, ninja, rust, bsdadminscripts2, iperf3
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 gcc14, g++14, and gfortran14, respectively.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (44 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/gcc14-14.2.0_4/catalog.mk
  3. /usr/local/share/licenses/gcc14-14.2.0_4/LICENSE
  4. /usr/local/share/licenses/gcc14-14.2.0_4/GPLv3
  5. /usr/local/share/licenses/gcc14-14.2.0_4/GPLv3RLE
  6. bin/x86_64-portbld-freebsd14.2-c++14
  7. bin/x86_64-portbld-freebsd14.2-g++14
  8. bin/x86_64-portbld-freebsd14.2-gcc14
  9. bin/x86_64-portbld-freebsd14.2-gcc-14.2.0
  10. bin/x86_64-portbld-freebsd14.2-gcc-ar14
  11. bin/x86_64-portbld-freebsd14.2-gcc-nm14
  12. bin/x86_64-portbld-freebsd14.2-gcc-ranlib14
  13. bin/x86_64-portbld-freebsd14.2-gfortran14
  14. bin/c++14
  15. bin/cpp14
  16. bin/g++14
  17. bin/gcc14
  18. bin/gcc-ar14
  19. bin/gcc-nm14
  20. bin/gcc-ranlib14
  21. bin/gcov14
  22. bin/gcov-dump14
  23. bin/gcov-tool14
  24. bin/gfortran14
  25. bin/lto-dump14
  26. include/gcc14/ISO_Fortran_binding.h
  27. share/man/man1/cpp14.1.gz
  28. share/man/man1/g++14.1.gz
  29. share/man/man1/gcc14.1.gz
  30. share/man/man1/gcov14.1.gz
  31. share/man/man1/gcov-dump14.1.gz
  32. share/man/man1/gcov-tool14.1.gz
  33. share/man/man1/gfortran14.1.gz
  34. share/man/man1/lto-dump14.1.gz
  35. share/gcc-14.2.0/python/libstdcxx/__init__.py
  36. share/gcc-14.2.0/python/libstdcxx/v6/__init__.py
  37. share/gcc-14.2.0/python/libstdcxx/v6/printers.py
  38. share/gcc-14.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.
Dependency lines:
  • gcc14>0:lang/gcc14
Conflicts:
CONFLICTS:
  • gcc14-devel
To install the port:
cd /usr/ports/lang/gcc14/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/gcc14
  • pkg install gcc14
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: gcc14
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le riscv64
distinfo:
TIMESTAMP = 1723974697 SHA256 (gcc-14.2.0.tar.xz) = a7b39bc69cbf9e25826c5a60ab26477001f7c08d85cec04bc0e29cabed6f3cc9 SIZE (gcc-14.2.0.tar.xz) = 92306460

Packages (timestamps in pop-ups are UTC):
gcc14
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest14.2.0_314.2.0_3-14.2.0_314.2.0_3---
FreeBSD:13:quarterly14.2.0_314.2.0_3-14.2.0_314.2.0_3---
FreeBSD:14:latest14.2.0_314.2.0_3-14.2.0_314.2.0_3---
FreeBSD:14:quarterly14.2.0_114.2.0_3-14.2.0_114.2.0_3---
FreeBSD:15:latest14.2.0_314.2.0_3n/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.36<5.37 : lang/perl5.36
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 gcc14-14.2.0_4: 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_gcc14
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/gcc14 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/releases/gcc-14.2.0/
  2. http://gcc.gnu.org/pub/gcc/releases/gcc-14.2.0/
  3. http://mirror.koddos.net/gcc/releases/gcc-14.2.0/
  4. https://ftp-stud.hs-esslingen.de/pub/Mirrors/sourceware.org/gcc/releases/gcc-14.2.0/
  5. https://ftp.funet.fi/pub/mirrors/sourceware.org/pub/gcc/releases/gcc-14.2.0/
  6. https://ftp.mpi-inf.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/releases/gcc-14.2.0/
  7. https://mirrors.kernel.org/sourceware/gcc/releases/gcc-14.2.0/
  8. https://mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-14.2.0/
Collapse this list.

Number of commits found: 10

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
14.2.0_4
24 Apr 2025 12:55:48
commit hash: 1c41fd97c78672391f5a73c2b15baee509e6a2e5commit hash: 1c41fd97c78672391f5a73c2b15baee509e6a2e5commit hash: 1c41fd97c78672391f5a73c2b15baee509e6a2e5commit hash: 1c41fd97c78672391f5a73c2b15baee509e6a2e5 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
Author: Oleg Sidorkin
lang/gcc14: 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.

PR:             285711
Reported by:    cracauer
Tested by:      cracauer, jbo
14.2.0_3
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
14.2.0_3
05 Mar 2025 15:32:58
commit hash: 930be0aa27c2e99af9337396842ac164ed708df3commit hash: 930be0aa27c2e99af9337396842ac164ed708df3commit hash: 930be0aa27c2e99af9337396842ac164ed708df3commit hash: 930be0aa27c2e99af9337396842ac164ed708df3 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc14: Fix linking with libisl.so

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>
14.2.0_2
10 Feb 2025 18:18:50
commit hash: 17c3f4ae6778531b634603266777f838a77d306ecommit hash: 17c3f4ae6778531b634603266777f838a77d306ecommit hash: 17c3f4ae6778531b634603266777f838a77d306ecommit hash: 17c3f4ae6778531b634603266777f838a77d306e files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
Author: Dimitry Andric
lang/gcc14: 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
14.2.0_1
28 Jan 2025 14:27:41
commit hash: aaa315e25e6d12a0df14b29fb5196f652a745c5ccommit hash: aaa315e25e6d12a0df14b29fb5196f652a745c5ccommit hash: aaa315e25e6d12a0df14b29fb5196f652a745c5ccommit hash: aaa315e25e6d12a0df14b29fb5196f652a745c5c files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
lang/gcc14: standard bootstrap also needed on arm

Same crash as on powerpc.

Approved by:	portmgr (build fix blanket)
MFH:		2025Q1
14.2.0_1
12 Jan 2025 21:36:38
commit hash: 4a64cb4161d4a61f840a48eadfd59e2bb68f384ccommit hash: 4a64cb4161d4a61f840a48eadfd59e2bb68f384ccommit hash: 4a64cb4161d4a61f840a48eadfd59e2bb68f384ccommit hash: 4a64cb4161d4a61f840a48eadfd59e2bb68f384c files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/gcc14: fix build on powerpc

Bootstrap is required on powerpc as well:
/usr/include/c++/v1/locale:288:32: error: attempt to use a poisoned identifier
14.2.0_1
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)
14.2.0_1
04 Sep 2024 08:56:43
commit hash: d46106eb4b6dcda7b820e52a37d1f95226376e51commit hash: d46106eb4b6dcda7b820e52a37d1f95226376e51commit hash: d46106eb4b6dcda7b820e52a37d1f95226376e51commit hash: d46106eb4b6dcda7b820e52a37d1f95226376e51 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc14: Add jit language

The jit language was missing by accident. Restore it.

PR:		281091
Reported by:	ashish
14.2.0
20 Aug 2024 13:50:52
commit hash: b175cabc52fe0eb63a4c5d1673e05aa7eecd7396commit hash: b175cabc52fe0eb63a4c5d1673e05aa7eecd7396commit hash: b175cabc52fe0eb63a4c5d1673e05aa7eecd7396commit hash: b175cabc52fe0eb63a4c5d1673e05aa7eecd7396 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc14: Update to 14.2.0

Changes: https://gcc.gnu.org/gcc-14/changes.html#14.2
14.1.0
20 Jun 2024 12:33:31
commit hash: 4700c3f17859f7cc2c00fd5c9c7bf41e92c8142bcommit hash: 4700c3f17859f7cc2c00fd5c9c7bf41e92c8142bcommit hash: 4700c3f17859f7cc2c00fd5c9c7bf41e92c8142bcommit hash: 4700c3f17859f7cc2c00fd5c9c7bf41e92c8142b files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
lang/gcc14: Add port

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

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

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

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

Number of commits found: 10