Port details |
- gcc10 GNU Compiler Collection 10
- 10.5.0_1 lang
=8 10.5.0_1Version of this port present on the latest quarterly branch.
- DEPRECATED: Unsupported by upstream. Use GCC 12 or newer instead.
This port expired on: 2024-10-20
- Maintainer: salvadore@FreeBSD.org
- Port Added: 2020-06-01 21:59:38
- Last Update: 2024-10-20 12:32:48
- Commit Hash: 4522469
- People watching this port, also watch:: glib, binutils, pkg, python38, xorg-server
- 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 gcc10, g++10,
and gfortran10, 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: gcc10
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le
- distinfo:
- TIMESTAMP = 1698764863
SHA256 (gcc-10.5.0.tar.xz) = 25109543fdf46f397c347b5d8b7a2c7e5694a5a51cce4b9c6e1ea8a71ca307c1
SIZE (gcc-10.5.0.tar.xz) = 77846412
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
- 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 gcc10-10.5.0_1:
BOOTSTRAP=on: Build using a full bootstrap
GRAPHITE=off: Support for Graphite loop optimizations
MULTILIB=on: Build support for 32-bit and 64-bit targets
===> Use 'make config' to modify these settings
- Options name:
- lang_gcc10
- USES:
- compiler 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/gcc10
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 |
10.5.0_1 20 Oct 2024 12:32:48 |
Rene Ladan (rene) |
lang/gcc10: Remove expired port
2024-10-20 lang/gcc10: Unsupported by upstream. Use GCC 12 or newer instead. |
10.5.0_1 20 Jul 2024 21:30:09 |
Gerald Pfeifer (gerald) |
lang/gcc10: Deprecate port
Upstream has end-of-lifed GCC 10 more than a year ago, so it is time to
do the same here. (Only a single port still has USE_GCC=10.)
Approved by: salvadore (maintainer) |
10.5.0_1 27 Jan 2024 23:07:02 |
Muhammad Moinur Rahman (bofh) |
lang/gcc10: Moved man to share/man
Approved by: portmgr (blanket) |
10.5.0 05 Jan 2024 21:03:52 |
Piotr Kubaj (pkubaj) |
lang/gcc10: remove ELFv1 support |
10.5.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 |
10.5.0 16 Dec 2023 12:16:38 |
Dimitry Andric (dim) |
lang/gcc10: recommit "fix build with clang 17"
When building lang/gcc10 with recent clang versions, which default to
C++17, the following errors are produced:
cfns.gperf:35:18: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
35 | libc_name::hash (register const char *str, register unsigned int len)
| ^~~~~~~~
cfns.gperf:35:44: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
35 | libc_name::hash (register const char *str, register unsigned int len)
| ^~~~~~~~
...many more of these...
Upstream fixed this in
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=642dc602f89b2c11d5d833a52f37b04427a27cab,
so apply it. |
10.5.0 16 Dec 2023 12:16:37 |
Dimitry Andric (dim) |
lang/gcc10: Revert "fix build with clang 17"
This reverts commit eb5e0517d2a6e25d43fd03786f526e9043543b47:
lang/gcc10: fix build with clang 17
When building lang/gcc10 with recent clang versions, which default to
C++17, the following errors are produced:
cfns.gperf:35:18: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
35 | libc_name::hash (register const char *str, register unsigned int
len)
| ^~~~~~~~
cfns.gperf:35:44: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
35 | libc_name::hash (register const char *str, register unsigned int
len)
| ^~~~~~~~
...many more of these...
Upstream fixed this in
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=642dc602f89b2c11d5d833a52f37b04427a27cab,
so apply it.
I accidentally included a patch for devel/electron25 in this commit.
That one will be split off and committed separately.
Reported by: Gunther Nikl <gnikl@justmail.de> |
10.5.0 15 Dec 2023 20:37:00 |
Dimitry Andric (dim) |
lang/gcc10: fix build with clang 17
When building lang/gcc10 with recent clang versions, which default to
C++17, the following errors are produced:
cfns.gperf:35:18: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
35 | libc_name::hash (register const char *str, register unsigned int len)
| ^~~~~~~~
cfns.gperf:35:44: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
35 | libc_name::hash (register const char *str, register unsigned int len)
| ^~~~~~~~
...many more of these...
Upstream fixed this in
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=642dc602f89b2c11d5d833a52f37b04427a27cab,
so apply it. |
10.5.0 01 Nov 2023 11:55:09 |
Lorenzo Salvadore (salvadore) |
lang/gcc10: Update to 10.5.0
Changes: https://gcc.gnu.org/gcc-10/changes.html#GCC10.5 |
10.4.0_1 06 Oct 2023 17:48:53 |
Dimitry Andric (dim) |
lang/gcc10 lang/gcc11 lang/gcc11-devel lang/gcc12 lang/gcc12-devel lang/gcc13
lang/gcc13-devel lang/gcc14-devel: 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 ) |
10.4.0_1 10 Aug 2023 20:02:24 |
Piotr Kubaj (pkubaj) |
lang/gcc10: remove noop CONFIGURE_ENV for powerpc64 |
10.4.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. |
10.4.0_1 23 Apr 2023 09:09:58 |
Gerald Pfeifer (gerald) |
*: Bump PORTREVISIONs for math/mpc update to 1.3.1 |
10.4.0 04 Feb 2023 09:10:55 |
Lorenzo Salvadore (salvadore) |
lang/gcc10: Mark PIE_UNSAFE
Building the port with WITH_PIE fails if the BOOTSTRAP option is
enabled. Mark PIE_UNSAFE when this option is enabled until a better
solution is found.
PR: 268901
Reported by: netchild |
10.4.0 08 Sep 2022 15:46:38 |
Stefan Eßer (se) |
Remove WWW lines that have been moved into Makefiles
Approved by: portmgr (implicit) |
10.4.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) |
10.4.0 20 Aug 2022 22:48:33 |
Lorenzo Salvadore (salvadore) |
lang/gcc10,11: Take maintainership
I already maintain all other GCC supported releases ports: I adopt the
missing ones. This will allow me to deal more efficiently with changes
that affect all GCC supported releases at once. |
10.4.0 24 Jul 2022 14:23:41 |
Piotr Kubaj (pkubaj) |
lang/gcc10: fix build on powerpc64
Same issue as with lang/gcc12. |
10.4.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 ) |
10.4.0 28 Jun 2022 17:24:23 |
Piotr Kubaj (pkubaj) |
lang/gcc10: update to 10.4.0 |
10.3.0 24 Apr 2022 21:29:40 |
Gerald Pfeifer (gerald) |
lang/gcc10: Relinquish maintainership
After working on (and largely maintaining) our GCC ports for some twenty
years, time has come to hand over the baton.
Sadly despite multiple requests nobody stepped up (even having waited
more than half a year after relinquishing maintainership of gcc10-devel
which has been removed since then), so pass maintainership to toolchain@. |
10.3.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 ) |
10.3.0 29 Apr 2021 11:33:40 |
Piotr Kubaj (pkubaj) |
lang/gcc10: fix runtime on powerpc64le
It looks like this part was omitted during upstreaming.
Its lack causes gcc to be compiled successfully, but fail at building simple
programs:
/usr/local/bin/ld: /usr/local/lib/gcc10/libgcc_s.so: undefined reference to
`.__udivmodti4'
/usr/local/bin/ld: /usr/local/lib/gcc10/libgcc_s.so: undefined reference to
`.__ctzdi2'
/usr/local/bin/ld: /usr/local/lib/gcc10/libgcc_s.so: undefined reference to
`.__parityti2'
/usr/local/bin/ld: /usr/local/lib/gcc10/libgcc_s.so: undefined reference to
`.__enable_execute_stack' |
10.3.0 29 Apr 2021 07:07:38 |
Gerald Pfeifer (gerald) |
lang/gcc10: Update to the GCC 10.3 release
This is the third release in the GCC 10 series. It fixes some 94 bugs
and already includes three patches we've been carrying locally which
we thus can remove:
- files/patch-aarch64-c++98-fix
- files/patch-libcpp_lex.c
- files/patch-powerpc64le |
10.2.0_1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
10.2.0_1 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 |
10.2.0 21 Feb 2021 09:19:55 |
gerald |
Back port part of r565994 | gerald | 2021-02-18 from lang/gcc10-devel:
Back port 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]
PR: 253286 [1] |
10.2.0 07 Jan 2021 19:49:12 |
gerald |
Back port part of r560506 | gerald | 2021-01-06 from lang/gcc10-devel by
extracting the upstream patch into files/patch-aarch64-c++98-fix:
This also should fix the build on aarch64 when clang is the bootstrap
compiler. [2]
PR: 250932 [2] |
10.2.0 30 Dec 2020 03:11:15 |
pkubaj |
lang/gcc10: add support for powerpc64le
PR: 251670
Approved by: gerald@ (maintainer) |
10.2.0 26 Dec 2020 12:38:48 |
gerald |
Back port part of r554055 | gerald | 2020-11-04 from lang/gcc10-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. |
10.2.0 12 Dec 2020 22:06:43 |
gerald |
Add a bit of meta data so that everyone possibly touching this has
sufficient background. |
10.2.0 12 Dec 2020 16:11:28 |
pkubaj |
lang/gcc10: fix build on powerpc64 with CPUTYPE=power8 or power9, also a partial
fix for powerpc64le
Backport of
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=d00b1b023ecfc3ddc3fe952c0063dab7529d5f7a
PR: 251670
Approved by: gerald (maintainer) |
10.2.0 28 Nov 2020 10:45:21 |
gerald |
Back port part of r555665 | gerald | 2020-11-18 from lang/gcc10-devel:
Forward 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 |
10.2.0 01 Aug 2020 05:52:17 |
gerald |
Update to GCC 10.2 release, which is the second in the GCC 10 series and
fixes some 94 bugs.
PR: 246700 |
10.1.0 01 Jun 2020 21:59:33 |
gerald |
Welcome GCC 10.1, the first release of the GCC 10 series!
https://gcc.gnu.org/gcc-10/changes.html has a comprehensive overview of
many improvements and changes and https://gcc.gnu.org/gcc-10/porting_to.html
highlights issues you may encounter porting to this version, though this
release series should not bring too many, -fno-common now being the default
probably is the one with the largest impact.
To give a brief overview of some of the more noticable changes:
Several new features from the upcoming C2X revision of the ISO C standard
are supported with -std=c2x and -std=gnu2x. Some of these are also supported
as extensions when compiling for older language versions.
Several C++20 features have been implemented and the libstdc++ runtime (Only the first 15 lines of the commit message are shown above ) |