Port details |
- gcc14 GNU Compiler Collection 14
- 14.2.0_4 lang
=4 14.2.0_3Version of this port present on the latest quarterly branch. - Maintainer: salvadore@FreeBSD.org
 - Port Added: 2024-06-20 12:41:17
- Last Update: 2025-05-03 09:46:26
- Commit Hash: ef502dd
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- Conflicts:
- CONFLICTS:
- 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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- as : devel/binutils
- gmake>=4.4.1 : devel/gmake
- makeinfo : print/texinfo
- as : devel/binutils
- perl5>=5.36<5.37 : lang/perl5.36
- Runtime dependencies:
-
- as : devel/binutils
- indexinfo : print/indexinfo
- Library dependencies:
-
- libgmp.so : math/gmp
- libmpfr.so : math/mpfr
- 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
14.2.0_4 03 May 2025 09:46:26
    |
Lorenzo Salvadore (salvadore)  |
lang/gcc14: Add comment to existing patch
Add a comment to files/patch-libgcc_unwind.inc to remember when it will
get obsolete, i.e. once all supported FreeBSD releases include commit
22e564c74eb20e14bd93fd9fdde20e38a29cfcf1.
PR: 285711 |
14.2.0_4 24 Apr 2025 12:55:48
    |
Lorenzo Salvadore (salvadore)  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
    |
Baptiste Daroussin (bapt)  |
gcc*: properly define USE_LDCONFIG32 for multilib |
14.2.0_3 05 Mar 2025 15:32:58
    |
Lorenzo Salvadore (salvadore)  |
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
    |
Lorenzo Salvadore (salvadore)  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
    |
Robert Clausecker (fuz)  |
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
    |
Piotr Kubaj (pkubaj)  |
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
    |
Kyle Evans (kevans)  |
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
    |
Lorenzo Salvadore (salvadore)  |
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
    |
Lorenzo Salvadore (salvadore)  |
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
    |
Lorenzo Salvadore (salvadore)  |
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 |