Port details |
- gcc9 GNU Compiler Collection 9
- 9.5.0_2 lang
=5 9.5.0_2Version of this port present on the latest quarterly branch.
- DEPRECATED: Unsupported by upstream. Use GCC 10 or newer instead.
This port expired on: 2024-06-30
- Maintainer: toolchain@FreeBSD.org
- Port Added: 2019-06-01 18:06:26
- Last Update: 2024-06-30 12:52:08
- Commit Hash: db3dda6
- People watching this port, also watch:: binutils, pkg, glib, wayland, libevent
- 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 gcc9, g++9,
and gfortran9, respectively.
Gerald Pfeifer <gerald@FreeBSD.org>
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- Conflicts:
- CONFLICTS:
- No installation instructions:
- This port has been deleted.
- PKGNAME: gcc9
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le
- distinfo:
- TIMESTAMP = 1653648211
SHA256 (gcc-9.5.0.tar.xz) = 27769f64ef1d4cd5e2be8682c0c93f9887983e6cfd1a927ce5a0a2915a95cf8f
SIZE (gcc-9.5.0.tar.xz) = 72462752
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.3 : 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
- NOTE: dependencies for deleted ports are notoriously suspect
- This port is required by:
- for Build
-
Deleted ports which required this port:
- for Run
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for gcc9-9.5.0_2:
BOOTSTRAP=on: Build using a full bootstrap
MULTILIB=on: Build support for 32-bit and 64-bit targets
===> Use 'make config' to modify these settings
- Options name:
- lang_gcc9
- USES:
- compiler cpe gmake iconv libtool makeinfo perl5 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 |
9.5.0_2 30 Jun 2024 12:52:08 |
Rene Ladan (rene) |
lang/gcc9: Remove expired port
2024-06-30 lang/gcc9: Unsupported by upstream. Use GCC 10 or newer instead. |
9.5.0_2 28 Jan 2024 22:14:12 |
Muhammad Moinur Rahman (bofh) |
lang/gcc9: Moved man to share/man
Approved by: portmgr (blanket) |
9.5.0_1 05 Jan 2024 21:04:09 |
Piotr Kubaj (pkubaj) |
lang/gcc9: remove ELFv1 support |
9.5.0_1 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 |
9.5.0_1 06 Oct 2023 17:48:53 |
Dimitry Andric (dim) |
lang/gcc8 lang/gcc9: 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 ) |
9.5.0_1 10 Aug 2023 20:02:24 |
Piotr Kubaj (pkubaj) |
lang/gcc9: remove noop CONFIGURE_ARGS on powerpc64 |
9.5.0_1 19 Jun 2023 15:19:22 |
Piotr Kubaj (pkubaj) |
lang/gcc*: fix build with CPUTYPE?=g[3-5]
GCC does not accept -mcpu=g4, but does accept -mcpu=G4. |
9.5.0_1 23 Apr 2023 09:09:58 |
Gerald Pfeifer (gerald) |
*: Bump PORTREVISIONs for math/mpc update to 1.3.1 |
9.5.0 08 Sep 2022 15:46:38 |
Stefan Eßer (se) |
Remove WWW lines that have been moved into Makefiles
Approved by: portmgr (implicit) |
9.5.0 08 Sep 2022 15:43:21 |
Stefan Eßer (se) |
Move more WWW entries from pkg-descr files into Makefiles
The WWW: lines in the pkg-descr files of these ports where not at the
end of those files and have been missed in prior conversion runs.
Approved by: portmgr (implicit) |
9.5.0 20 Jul 2022 14:22:15 |
Tobias C. Berner (tcberner) |
lang: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Adam Weinberger <adamw@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Dupre <ale@FreeBSD.org>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alonso Cardenas Marquez <acm@FreeBSD.org>
* Andreas Klemm <andreas@klemm.gtn.com>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Andrey Zakhvatov
* Anton Berezin <tobez@FreeBSD.org>
* Anton Berezin <tobez@tobez.org> (Only the first 15 lines of the commit message are shown above ) |
9.5.0 27 May 2022 14:29:00 |
Piotr Kubaj (pkubaj) |
lang/gcc9: deprecate
gcc9 is now EOL'd and shouldn't be used anymore.
Since this is the last release that builds on powerpc64 elfv1 (with GCC 4.2),
set the expiration date to FreeBSD 12.x EOL date. |
9.5.0 27 May 2022 13:51:49 |
Piotr Kubaj (pkubaj) |
lang/gcc9: update to 9.5.0 |
9.4.0_1 21 Jan 2022 23:30:25 |
Gerald Pfeifer (gerald) |
lang/gcc9: Relinquish maintainership
After working on (and largely maintaining) our GCC ports for more than
19 years, time has come to hand over the baton.
Sadly despite multiple requests nobody stepped up (even having waited
another 3+ months after relinquishing maintainership of gcc9-devel),
so pass maintainership to toolchain@. |
9.4.0 10 Jan 2022 15:15:39 |
Stefan Eßer (se) |
Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.
This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.
Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port (Only the first 15 lines of the commit message are shown above ) |
9.4.0 18 Dec 2021 19:06:37 |
Piotr Kubaj (pkubaj) |
lang/gcc9: fix build on powerpc64le
Backport patch from gcc9-devel to fix build. |
9.4.0 09 Jun 2021 05:38:36 |
Gerald Pfeifer (gerald) |
lang/gcc9: Update to the GCC 9.4 release
This fixes more than 190 bugs compared to GCC 9.3.
files/patch-gcc_dumpfile.c has made it upstream in the meantime, so
remove it on our end. |
9.3.0_3 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
9.3.0_3 21 Mar 2021 09:57:05 |
gerald |
Update to MPC version 1.2.0 with the following changes:
- New functions:
. mpc_sum
. mpc_dot
- Several functions are more robust with a reduced exponent range
(for example corresponding to IEEE 754 binary formats).
- New mpcheck tool for comparison with the native C library (which
is not installed by default).
Bump all directly dependent ports. Do not bump those indirectly
dependent via the lang/gcc* family since their run-time dependencies
and code generated should not be affected.
PR: 249950
Submitted by: wen |
9.3.0_2 03 Mar 2021 21:43:02 |
gerald |
Back port part of r566296 | gerald | 2021-02-22 from lang/gcc9-devel:
[B]ack port of part of r565301 | gerald | 2021-02-15 from
lang/gcc11-devel:
Explicitly build --without-zstd such that archivers/zstd isn't pulled
in inadvertedly when present in the build system even though it is not
an explicit dependency. [1]
Back port part of r566885 | gerald | 2021-03-01 from lang/gcc9-devel:
Remove the GRAPHITE option. Graphite still is a largely experimental
feature, so better left to newer versions of GCC such as GCC 10 which
is now our default.
PR: 253286 [1] |
9.3.0_1 16 Jan 2021 14:02:24 |
gerald |
Align some formatting with the gcc9-devel port, removing unnecessary
differences. |
9.3.0_1 02 Jan 2021 12:29:41 |
gerald |
Back port part of r554445 | gerald | 2020-11-08 from lang/gcc9-devel:
Also remove SSP_UNSAFE which was added by r327697 in 2013 to the
pre-pre-...-predecessor of this port and does not appear necessary
any longer. |
9.3.0_1 17 Dec 2020 09:52:10 |
gerald |
Back port part of r555542 | gerald | 2020-11-17 from lang/gcc9-devel:
Fold the PLUGINS option, which has been on by default, into standard
behavior and remove that option. It has not been causing any issues
since we enabled it 11 months ago, nor measurable overhead.
PR: 242644 |
9.3.0_1 27 Apr 2020 21:16:16 |
gerald |
Improve upon revision 532950 by passing GCC optimization options via
MAKE_ARGS instead of trying to do this via the environment (which is
lower priority and required files/patch-Makefile.in which we can now
remove).
PR: 245511 |
9.3.0_1 25 Apr 2020 12:26:34 |
pkubaj |
lang/gcc9: build with base GCC on powerpc64 elfv1
Instead of using lang/gcc8 for bootstrapping gcc9 on powerpc64 elfv1, use
directly base gcc.
Necessary changes:
- CFLAGS_FOR_TARGET="-O0" CXXFLAGS_FOR_TARGET="-O0" BOOT_CFLAGS="-O0" in
CONFIGURE_ENV and MAKE_ENV. Otherwise bootstrapped compiler fails later in the
build with segfault.
- CRTSTUFF_T_CFLAGS has changed optimizations to -O0, instead of -O2. -O2 worked
in gcc8, because there was no -fno-asynchronous-unwind-tables flag added to
CRTSTUFF_T_CFLAGS. Since this works when building with clang on powerpc64 elfv2,
this patch is added to EXTRA_PATCHES, only on powerpc64 elfv1,
- BOOT_CFLAGS has added ? before =. This is to allow overriding BOOT_CFLAGS in
CONFIGURE_ENV and MAKE_ENV.
- A patch by Gustavo Romero to gcc/dumpfile.c is necessary to allow compiling
with base GCC, otherwise base GCC hits ICE. Incidentally, this patch alone also
fixes build for powerpc (32 bits) with base GCC.
Bump PORTREVISION for dependency change.
PR: 245511, 242506
Approved by: gerald (maintainer timeout) |
9.3.0 26 Mar 2020 14:16:58 |
gerald |
Update to the GCC 9.3 release, which fixes some 157 further bugs.
This remains the default version of GCC in the Ports Collection, and
this update mostly addresses regressions.
files/patch-powerpc32 was a backport from this release branch to begin
with and has now become obsolete. [1]
PR: 241125 [1] |
9.2.0_1 29 Jan 2020 08:50:54 |
gerald |
Appease portlint when it comes for patch format. |
9.2.0_1 18 Jan 2020 08:45:54 |
gerald |
Backport (part of) r521207 | gerald | 2019-12-28 from lang/gcc9-devel:
Enable GCC plugins support by default.
PR: 242644
Submitted by: tobik
Differential Revision: https://reviews.freebsd.org/D22292 |
9.2.0 29 Nov 2019 13:47:58 |
gerald |
Temporarily apply a patch from upstream that addresses a build failure
on powerpc ("error: integer constant is too large for 'long' type").
This is already part of lang/gcc9-devel after r518494 and the 20191123
snapshot of GCC 9.2.1; it will be part of the GCC 9.3 release at which
point we can remove this local patch again.
PR: 241125 |
9.2.0 19 Nov 2019 17:17:52 |
gerald |
Forward port r517702 | gerald | 2019-11-15 from lang/gcc9-devel:
On versions of FreeBSD that that are new enough and made that switch
already, use ELFv2 ABI on powerpc64.
PR: 239813
Submitted by: pkubaj
Reported by: linimon |
9.2.0 16 Nov 2019 08:12:35 |
gerald |
Backport 517206 | gerald | 2019-11-10 from lang/gcc10-devel, which already
landed in lang/gcc9-devel as r517355 | gerald | 2019-11-13.
Add a new option PLUGINS that enables GCC's plugin framework. This is off
by default for now, but something to possibly make the default after a bit
of settling.
I plan to backport this to lang/gcc9-devel and then lang/gcc9.
Submitted by: David Carlier <devnexen@gmail.com>
Differential Revision: https://reviews.freebsd.org/D22292 |
9.2.0 24 Aug 2019 11:25:12 |
gerald |
Properly push down lang/gcc9/patch-clang-vec_step into the files/
subdirectory. |
9.2.0 24 Aug 2019 11:04:35 |
gerald |
clang on rs6000/powerpc* unfortunately poisons user namespace by default
(without any special options or include files being required).
Until that changes (or GCC changes) we need to avoid using vec_step as a
variable name.
PR: 239266 |
9.2.0 17 Aug 2019 07:16:27 |
gerald |
Update to GCC 9.2 release, the second in the GCC 9 series, which fixes
some 68 bugs.
This is the default version of GCC in the Ports Collection, and it just
got a bit more polish and stability.
Both files/patch-amd64-gcc-multilib-support and
files/patch-powerpc64-no-_GNU_SOURCE [1] have been integrated upstream
(and also been part of lang/gcc9-devel already), so remove them here.
PR: 239648 [1] |
9.1.0_1 12 Aug 2019 07:30:34 |
gerald |
Ensure _GNU_SOURCE is now longer defined on powerpc64 (which was a
regression from the GCC 8 series).
The technical background is that a consolidation in upstream GCC made
non-GNU platforms include gnu-user.h and then undefined some macros
in rs6000/freebsd.h, but missed doing the same in rs6000/freebsd64.h.
The has now been included upstream and the current snapshot that the
lang/gcc9-devel port tracks; carrying files/patch-powerpc64-no-_GNU_SOURCE
in this port should become obsolete with the GCC 9.2 release.
(As this should be a very short-lived measure, bump PORTREVISION only
for powerpc64 to avoid all other users having to rebuild, too.)
PR: 239648 |
9.1.0_1 27 Jul 2019 06:50:25 |
gerald |
Explicitly depend on GCC 8 (instead of USE_GCC=yes) for powerpc64 to
avoid a dependency loop.
PR: 238330
Reported by: pkubaj |
9.1.0_1 26 Jul 2019 20:46:57 |
gerald |
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330 |
9.1.0 24 Jul 2019 21:30:44 |
tobik |
lang/gcc*: Hide pkg-message during upgrades
PR: 239419
Approved by: gerald (maintainer) |
9.1.0 01 Jun 2019 18:06:12 |
gerald |
Welcome GCC 9.1, the first release of the GCC 9 series!
https://gcc.gnu.org/gcc-9/changes.html has a comprehensive overview of
many improvements and changes and https://gcc.gnu.org/gcc-8/porting_to.html
addresses issues you may encounter porting to this new version, though
this release series should have fewer of those than previous ones.
To provide a brief overview of some of the more noticable changes:
GCC's diagnostics now print source code with a left margin showing line
numbers. This is configurable via -fno-diagnostics-show-line-numbers.
Plus there have been lots of further improvements around diagnostic
messages in general as -fopt-info.
As usual a large number of improvements to code generation, including (Only the first 15 lines of the commit message are shown above ) |