Port details |
- freebsd-gcc12 Cross GNU Compiler 12 for FreeBSD/aarch64
- 12.3.0_2 devel =2 12.3.0_1Version of this port present on the latest quarterly branch.
- Maintainer: jhb@FreeBSD.org
- Port Added: 2022-08-12 17:30:17
- Last Update: 2024-07-10 17:45:35
- Commit Hash: a5d8c86
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- 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.
- ¦ ¦ ¦ ¦
- 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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- aarch64-unknown-freebsd14.1-as : devel/binutils@aarch64
- objdump : devel/binutils
- gmake>=4.4.1 : devel/gmake
- makeinfo : print/texinfo
- Runtime dependencies:
-
- aarch64-unknown-freebsd14.1-as : devel/binutils@aarch64
- Library dependencies:
-
- libgmp.so : math/gmp
- libmpfr.so : math/mpfr
- 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
12.3.0_2 10 Jul 2024 17:45:35 |
John Baldwin (jhb) |
devel/freebsd-gcc*: Fix error in printf0 format checker patch
Fix a mismerge of the printf0 format checking patch from GCC 9 to GCC
12/13. GCC 11 and later don't warn for NULL format strings (instead a
separate nonnull attribute is used). The printf0 format specifier is
left for now to support builds of existing FreeBSD releases but will
be removed in the future.
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D45941 |
12.3.0_1 28 Jan 2024 13:39:24 |
Muhammad Moinur Rahman (bofh) |
devel/freebsd-gcc12: Moved man to share/man
Approved by: portmgr (blanket) |
12.3.0 31 Dec 2023 00:37:05 |
Muhammad Moinur Rahman (bofh) |
*/*: 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 |
John Baldwin (jhb) |
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 |
Dimitry Andric (dim) |
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 ) |
12.3.0 05 Aug 2023 15:24:12 |
John Baldwin (jhb) |
devel/freebsd-gcc12: Update to 12.3.0. |
12.2.0_9 05 Aug 2023 15:24:11 |
John Baldwin (jhb) |
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 |
John Baldwin (jhb) |
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 |
Gerald Pfeifer (gerald) |
*: Bump PORTREVISIONs for math/mpc update to 1.3.1 |
12.2.0 25 Mar 2023 00:06:40 |
John Baldwin (jhb) |
devel/freebsd-gcc12: Bump to 12.2.0. |
12.1.0_1 18 Nov 2022 21:37:25 |
John Baldwin (jhb) |
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 |
John Baldwin (jhb) |
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 |
Stefan Eßer (se) |
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 |
Stefan Eßer (se) |
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 ) |
12.1.0 26 Aug 2022 07:39:03 |
Baptiste Daroussin (bapt) |
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 |
John Baldwin (jhb) |
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 |