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
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
freebsd-gcc12 Cross GNU Compiler 12 for FreeBSD/aarch64
12.3.0_1 devel 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 12.3.0Version of this port present on the latest quarterly branch.
Maintainer: jhb@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2022-08-12 17:30:17
Last Update: 2024-01-28 13:39:24
Commit Hash: 09bb83b
License: GPLv3 GPLv3RLE
WWW:
https://gcc.gnu.org/
Description:
GCC, the GNU C/C++ Compiler, customized to build the FreeBSD base system. To use GCC for other purposes, please use one of the lang/gcc* packages.
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
There is no configure plist information for this port.
Dependency lines:
  • aarch64-gcc12>0:devel/freebsd-gcc12
To install the port:
cd /usr/ports/devel/freebsd-gcc12/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/freebsd-gcc12
  • pkg install aarch64-gcc12
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: aarch64-gcc12
Package flavors (<flavor>: <package>)
  • aarch64: aarch64-gcc12
  • amd64: amd64-gcc12
  • armv6: armv6-gcc12
  • armv7: armv7-gcc12
  • i386: i386-gcc12
  • powerpc: powerpc-gcc12
  • powerpc64: powerpc64-gcc12
  • riscv64: riscv64-gcc12
distinfo:
TIMESTAMP = 1688234909 SHA256 (gcc-12.3.0.tar.xz) = 949a5d4f99e786421a93b532b22ffab5578de7321369975b91aec97adfda8c3b SIZE (gcc-12.3.0.tar.xz) = 85491976

Packages (timestamps in pop-ups are UTC):
aarch64-gcc12
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest12.3.0_112.3.0_1-12.3.0_112.3.0_1---
FreeBSD:13:quarterly12.3.012.3.0-12.3.012.3.0_112.3.012.3.012.3.0
FreeBSD:14:latest12.3.0_112.3.0_112.1.0_112.3.0_112.3.0_112.2.0_8-12.2.0_8
FreeBSD:14:quarterly12.3.012.3.0_1-12.3.012.3.0_112.3.012.3.012.3.0
FreeBSD:15:latest12.3.0_112.3.0_1n/a12.3.0_1n/a12.3.0_112.3.0_112.3.0_1
FreeBSD:15:quarterly--n/a-n/a---
 

amd64-gcc12
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest12.3.0_112.3.0_1-12.3.0_112.3.0_1---
FreeBSD:13:quarterly12.3.012.3.0-12.3.012.3.0_112.3.012.3.012.3.0
FreeBSD:14:latest12.3.0_112.3.0_112.1.0_112.3.0_112.3.0_112.2.0_8-12.2.0_8
FreeBSD:14:quarterly12.3.012.3.0_1-12.3.012.3.0_112.3.012.3.012.3.0
FreeBSD:15:latest12.3.0_112.3.0_1n/a12.3.0_1n/a12.3.0_112.3.0_112.3.0_1
FreeBSD:15:quarterly--n/a-n/a---
 

armv6-gcc12
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest12.3.0_112.3.0_1-12.3.0_112.3.0_1---
FreeBSD:13:quarterly12.3.012.3.0-12.3.012.3.0_112.3.012.3.012.3.0
FreeBSD:14:latest12.3.0_112.3.0_112.1.0_112.3.0_112.3.0_112.2.0_8-12.2.0_8
FreeBSD:14:quarterly12.3.012.3.0_1-12.3.012.3.0_112.3.012.3.012.3.0
FreeBSD:15:latest12.3.0_112.3.0_1n/a12.3.0_1n/a12.3.0_112.3.0_112.3.0_1
FreeBSD:15:quarterly--n/a-n/a---
 

armv7-gcc12
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest12.3.0_112.3.0_1-12.3.0_112.3.0_1---
FreeBSD:13:quarterly12.3.012.3.0-12.3.012.3.0_112.3.012.3.012.3.0
FreeBSD:14:latest12.3.0_112.3.0_112.1.0_112.3.0_112.3.0_112.2.0_8-12.2.0_8
FreeBSD:14:quarterly12.3.012.3.0_1-12.3.012.3.0_112.3.012.3.012.3.0
FreeBSD:15:latest12.3.0_112.3.0_1n/a12.3.0_1n/a12.3.0_112.3.0_112.3.0_1
FreeBSD:15:quarterly--n/a-n/a---
 

i386-gcc12
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest12.3.0_112.3.0_1-12.3.0_112.3.0_1---
FreeBSD:13:quarterly12.3.012.3.0-12.3.012.3.0_112.3.012.3.012.3.0
FreeBSD:14:latest12.3.0_112.3.0_112.1.0_112.3.0_112.3.0_112.2.0_8-12.2.0_8
FreeBSD:14:quarterly12.3.012.3.0_1-12.3.012.3.0_112.3.012.3.012.3.0
FreeBSD:15:latest12.3.0_112.3.0_1n/a12.3.0_1n/a12.3.0_112.3.0_112.3.0_1
FreeBSD:15:quarterly--n/a-n/a---
 

powerpc-gcc12
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest12.3.0_112.3.0_1-12.3.0_112.3.0_1---
FreeBSD:13:quarterly12.3.012.3.0-12.3.012.3.0_112.3.012.3.012.3.0
FreeBSD:14:latest12.3.0_112.3.0_112.1.0_112.3.0_112.3.0_112.2.0_8-12.2.0_8
FreeBSD:14:quarterly12.3.012.3.0_1-12.3.012.3.0_112.3.012.3.012.3.0
FreeBSD:15:latest12.3.0_112.3.0_1n/a12.3.0_1n/a12.3.0_112.3.0_112.3.0_1
FreeBSD:15:quarterly--n/a-n/a---
 

powerpc64-gcc12
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest12.3.0_112.3.0_1-12.3.0_112.3.0_1---
FreeBSD:13:quarterly12.3.012.3.0-12.3.012.3.0_112.3.012.3.012.3.0
FreeBSD:14:latest12.3.0_112.3.0_112.1.0_112.3.0_112.3.0_112.2.0_8-12.2.0_8
FreeBSD:14:quarterly12.3.012.3.0_1-12.3.012.3.0_112.3.012.3.012.3.0
FreeBSD:15:latest12.3.0_112.3.0_1n/a12.3.0_1n/a12.3.0_112.3.0_112.3.0_1
FreeBSD:15:quarterly--n/a-n/a---
 

riscv64-gcc12
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest12.3.0_112.3.0_1-12.3.0_112.3.0_1---
FreeBSD:13:quarterly12.3.012.3.0-12.3.012.3.0_112.3.012.3.012.3.0
FreeBSD:14:latest12.3.0_112.3.0_112.1.0_112.3.0_112.3.0_112.2.0_8-12.2.0_8
FreeBSD:14:quarterly12.3.012.3.0_1-12.3.012.3.0_112.3.012.3.012.3.0
FreeBSD:15:latest12.3.0_112.3.0_1n/a12.3.0_1n/a12.3.0_112.3.0_112.3.0_1
FreeBSD:15:quarterly--n/a-n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. aarch64-unknown-freebsd14.0-as : devel/binutils@aarch64
  2. objdump : devel/binutils
  3. gmake>=4.3 : devel/gmake
  4. makeinfo : print/texinfo
Runtime dependencies:
  1. aarch64-unknown-freebsd14.0-as : devel/binutils@aarch64
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:
No options to configure
Options name:
devel_freebsd-gcc12
USES:
compiler:c++11-lang cpe gmake iconv libtool makeinfo 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-12.3.0/
  2. http://gcc.gnu.org/pub/gcc/releases/gcc-12.3.0/
  3. http://mirror.koddos.net/gcc/releases/gcc-12.3.0/
  4. https://ftp-stud.hs-esslingen.de/pub/Mirrors/sourceware.org/gcc/releases/gcc-12.3.0/
  5. https://ftp.funet.fi/pub/mirrors/sourceware.org/pub/gcc/releases/gcc-12.3.0/
  6. https://ftp.mpi-inf.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/releases/gcc-12.3.0/
  7. https://mirrors.kernel.org/sourceware/gcc/releases/gcc-12.3.0/
  8. https://mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-12.3.0/
Collapse this list.

Number of commits found: 15

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
12.3.0_1
28 Jan 2024 13:39:24
commit hash: 09bb83b5305d041938ed1d33477364c93ea0b83dcommit hash: 09bb83b5305d041938ed1d33477364c93ea0b83dcommit hash: 09bb83b5305d041938ed1d33477364c93ea0b83dcommit hash: 09bb83b5305d041938ed1d33477364c93ea0b83d files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/freebsd-gcc12: Moved man to share/man

Approved by:    portmgr (blanket)
12.3.0
31 Dec 2023 00:37:05
commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree

- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
12.3.0
21 Nov 2023 21:45:52
commit hash: 5723f9adab52b897b119d0b53a2939c75f6fdc3fcommit hash: 5723f9adab52b897b119d0b53a2939c75f6fdc3fcommit hash: 5723f9adab52b897b119d0b53a2939c75f6fdc3fcommit hash: 5723f9adab52b897b119d0b53a2939c75f6fdc3f files touched by this commit
John Baldwin (jhb) search for other commits by this committer
devel/freebsd-gcc{9,12}: Various cleanups, no functional change

- Use DISTVERSION instead of PORTVERISON
- Don't silence post-install commands to remove various files from the
  staging area
- Simplify logic to handle arch-specific packing lists
- Clarify package comment and description
- Clarify FreeBSD 12 ignore rule for gcc12

Reviewed by:	fuz
Differential Revision:	https://reviews.freebsd.org/D42590
12.3.0
28 Sep 2023 16:46:47
commit hash: 6fd6fb3a9f51ad97cef9d83d1e481b644fc7141dcommit hash: 6fd6fb3a9f51ad97cef9d83d1e481b644fc7141dcommit hash: 6fd6fb3a9f51ad97cef9d83d1e481b644fc7141dcommit hash: 6fd6fb3a9f51ad97cef9d83d1e481b644fc7141d files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
devel/freebsd-gcc12: fix build with libc++ 17

When building relatively recent gcc ports (with C++ in them) against
libc++ 17, you get errors similar to:

  In file included from
/wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/gcc/cp/module.cc:208:
  In file included from
/wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/gcc/system.h:239:
  In file included from /usr/include/c++/v1/vector:321:
  In file included from /usr/include/c++/v1/__format/formatter_bool.h:20:
  In file included from /usr/include/c++/v1/__format/formatter_integral.h:32:
  In file included from /usr/include/c++/v1/locale:202:
  /usr/include/c++/v1/__locale:546:5: error: '__abi_tag__' attribute only
applies to structs, variables, functions, and namespaces
    546 |     _LIBCPP_INLINE_VISIBILITY
        |     ^
  /usr/include/c++/v1/__config:813:37: note: expanded from macro
'_LIBCPP_INLINE_VISIBILITY'
(Only the first 15 lines of the commit message are shown above View all of this commit message)
12.3.0
05 Aug 2023 15:24:12
commit hash: ca6653834d332d2d1d7ca39cfe0832237e6b92cdcommit hash: ca6653834d332d2d1d7ca39cfe0832237e6b92cdcommit hash: ca6653834d332d2d1d7ca39cfe0832237e6b92cdcommit hash: ca6653834d332d2d1d7ca39cfe0832237e6b92cd files touched by this commit
John Baldwin (jhb) search for other commits by this committer
devel/freebsd-gcc12: Update to 12.3.0.
12.2.0_9
05 Aug 2023 15:24:11
commit hash: e858e20eec8104648b25313b388e9f2532c980fbcommit hash: e858e20eec8104648b25313b388e9f2532c980fbcommit hash: e858e20eec8104648b25313b388e9f2532c980fbcommit hash: e858e20eec8104648b25313b388e9f2532c980fb files touched by this commit
John Baldwin (jhb) search for other commits by this committer
devel/freebsd-gcc12: Use -stdlib=libc++ to use libc++.

Instead of overriding the path and library name of libstdc++, set the
path for libc++ and change the default of -stdlib= from libstdc++ to
libc++.
12.2.0_8
04 Jul 2023 17:14:07
commit hash: 57ea9f921cac5a808010757b6f73e621b6898873commit hash: 57ea9f921cac5a808010757b6f73e621b6898873commit hash: 57ea9f921cac5a808010757b6f73e621b6898873commit hash: 57ea9f921cac5a808010757b6f73e621b6898873 files touched by this commit
John Baldwin (jhb) search for other commits by this committer
devel/freebsd-gcc*: Drop stale workaround for arm targets.

This workaround to force -fbracket-depth=512 was removed from lang/gcc
during the upgrade from gcc 4.8 to gcc 5.
12.2.0_8
23 Apr 2023 09:09:58
commit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5b files touched by this commit
Gerald Pfeifer (gerald) search for other commits by this committer
*: Bump PORTREVISIONs for math/mpc update to 1.3.1
12.2.0
25 Mar 2023 00:06:40
commit hash: 4e94ac9eb97fab16510b74ebcaa9316613182a72commit hash: 4e94ac9eb97fab16510b74ebcaa9316613182a72commit hash: 4e94ac9eb97fab16510b74ebcaa9316613182a72commit hash: 4e94ac9eb97fab16510b74ebcaa9316613182a72 files touched by this commit
John Baldwin (jhb) search for other commits by this committer
devel/freebsd-gcc12: Bump to 12.2.0.
12.1.0_1
18 Nov 2022 21:37:25
commit hash: 91431b0114be7f4c380829f1ff7c4f9252adbba1commit hash: 91431b0114be7f4c380829f1ff7c4f9252adbba1commit hash: 91431b0114be7f4c380829f1ff7c4f9252adbba1commit hash: 91431b0114be7f4c380829f1ff7c4f9252adbba1 files touched by this commit
John Baldwin (jhb) search for other commits by this committer
devel/freebsd-gcc12: Fix support for FreeBSD kernel printf.

Remove -fformat-extensions and instead follow clang and add a new
format type: __freebsd_kprintf__.  This permits removing unsupported
width specifies such as 'D' which conflict with the local %D specifier
used in the kernel which the old -fformat-extensions did not handle.
12.1.0
27 Sep 2022 21:38:10
commit hash: acd121613431056e253039951f66b062a4104746commit hash: acd121613431056e253039951f66b062a4104746commit hash: acd121613431056e253039951f66b062a4104746commit hash: acd121613431056e253039951f66b062a4104746 files touched by this commit
John Baldwin (jhb) search for other commits by this committer
devel/freebsd-gcc12: Ignore on FreeBSD 12.

The powerpc flavor fails to build on FreeBSD 12.x as GCC does not
install the secureplt.h header for that version (GCC assumes secureplt
is only used on 13.0 and later).  In addition, the fixes needed to
build FreeBSD with GCC 12.x are not going to be backported to
stable/12, so just skip this port on FreeBSD 12.
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
12.1.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
12.1.0
26 Aug 2022 07:39:03
commit hash: a60b5f495b51aaaf674ac9fbcd1ee83434544979commit hash: a60b5f495b51aaaf674ac9fbcd1ee83434544979commit hash: a60b5f495b51aaaf674ac9fbcd1ee83434544979commit hash: a60b5f495b51aaaf674ac9fbcd1ee83434544979 files touched by this commit
Baptiste Daroussin (bapt) search for other commits by this committer
compiler: use CHOSEN_COMPILER_TYPE instead of COMPILER_TYPE

CHOSEN_COMPILER_TYPE is the only safe variable to let a port know which
typer of compiler has been elected to be used by the framework

PR: 	199098
12.1.0
12 Aug 2022 17:27:18
commit hash: fabbde505ba16b6156ecf55dc9f1d6bf01679861commit hash: fabbde505ba16b6156ecf55dc9f1d6bf01679861commit hash: fabbde505ba16b6156ecf55dc9f1d6bf01679861commit hash: fabbde505ba16b6156ecf55dc9f1d6bf01679861 files touched by this commit
John Baldwin (jhb) search for other commits by this committer
devel/freebsd-gcc12: External FreeBSD toolchain based on GCC 12.

This port provides external GCC toolchains for GCC 12.1.0 for the
aarch64, amd64, armv6, armv7, i386, powerpc, powerpc64, and riscv64
platforms.

Reviewed by:	lwhsu
Differential Revision:	https://reviews.freebsd.org/D35685

Number of commits found: 15