notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
Port details
gcc10 GNU Compiler Collection 10
10.4.0_1 lang on this many watch lists=6 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 10.4.0_1Version of this port present on the latest quarterly branch.
Maintainer: salvadore@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2020-06-01 21:59:38
Last Update: 2023-08-10 20:02:24
Commit Hash: e85a675
People watching this port, also watch:: binutils, glib, gmake, pkg, sqlite3
License: GPLv3 GPLv3RLE
Description:
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
pkg-plist: as obtained via: make generate-plist
Expand this list (43 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/gcc10-10.4.0_1/catalog.mk
  3. /usr/local/share/licenses/gcc10-10.4.0_1/LICENSE
  4. /usr/local/share/licenses/gcc10-10.4.0_1/GPLv3
  5. /usr/local/share/licenses/gcc10-10.4.0_1/GPLv3RLE
  6. bin/x86_64-portbld-freebsd13.2-c++10
  7. bin/x86_64-portbld-freebsd13.2-g++10
  8. bin/x86_64-portbld-freebsd13.2-gcc10
  9. bin/x86_64-portbld-freebsd13.2-gcc-10.4.0
  10. bin/x86_64-portbld-freebsd13.2-gcc-ar10
  11. bin/x86_64-portbld-freebsd13.2-gcc-nm10
  12. bin/x86_64-portbld-freebsd13.2-gcc-ranlib10
  13. bin/x86_64-portbld-freebsd13.2-gfortran10
  14. bin/c++10
  15. bin/cpp10
  16. bin/g++10
  17. bin/gcc10
  18. bin/gcc-ar10
  19. bin/gcc-nm10
  20. bin/gcc-ranlib10
  21. bin/gcov10
  22. bin/gcov-dump10
  23. bin/gcov-tool10
  24. bin/gfortran10
  25. bin/lto-dump10
  26. man/man1/cpp10.1.gz
  27. man/man1/g++10.1.gz
  28. man/man1/gcc10.1.gz
  29. man/man1/gcov10.1.gz
  30. man/man1/gcov-dump10.1.gz
  31. man/man1/gcov-tool10.1.gz
  32. man/man1/gfortran10.1.gz
  33. man/man1/lto-dump10.1.gz
  34. share/gcc-10.4.0/python/libstdcxx/__init__.py
  35. share/gcc-10.4.0/python/libstdcxx/v6/__init__.py
  36. share/gcc-10.4.0/python/libstdcxx/v6/printers.py
  37. share/gcc-10.4.0/python/libstdcxx/v6/xmethods.py
  38. @postexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
  39. @postunexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
  40. @comment Insert PLIST.lib here
  41. @owner
  42. @group
  43. @mode
Collapse this list.
Dependency lines:
  • gcc10>0:lang/gcc10
Conflicts:
CONFLICTS:
  • gcc10-devel
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
To install the port:
cd /usr/ports/lang/gcc10/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/gcc10
  • pkg install gcc10
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: gcc10
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 powerpc64le
distinfo:

Packages (timestamps in pop-ups are UTC):
gcc10
ABIlatestquarterly
FreeBSD:12:aarch64-10.4.0_1
FreeBSD:12:amd6410.4.0_110.4.0_1
FreeBSD:12:armv6--
FreeBSD:12:armv7-10.2.0
FreeBSD:12:i38610.4.0_110.4.0_1
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-10.2.0_1
FreeBSD:13:aarch6410.4.0_110.4.0_1
FreeBSD:13:amd6410.4.0_110.4.0_1
FreeBSD:13:armv610.2.010.4.0_1
FreeBSD:13:armv710.4.0_110.4.0_1
FreeBSD:13:i38610.4.0_110.4.0_1
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc6410.2.010.4.0_1
FreeBSD:13:riscv64--
FreeBSD:14:aarch6410.4.0_1-
FreeBSD:14:amd6410.4.0_1-
FreeBSD:14:armv610.4.0-
FreeBSD:14:armv710.4.0_1-
FreeBSD:14:i38610.4.0_1-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc6410.4.0_1-
FreeBSD:14:riscv64--
FreeBSD:15:amd6410.4.0_1-
FreeBSD:15:armv6--
FreeBSD:15:armv710.4.0_1-
FreeBSD:15:i38610.4.0_1-
FreeBSD:15:mips64--
FreeBSD:15:powerpc64--
FreeBSD:15:riscv64--
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. as : devel/binutils
  2. gmake>=4.3 : devel/gmake
  3. makeinfo : print/texinfo
  4. as : devel/binutils
  5. perl5>=5.34<5.35 : lang/perl5.34
Runtime dependencies:
  1. as : devel/binutils
  2. indexinfo : print/indexinfo
Library dependencies:
  1. libgmp.so : math/gmp
  2. libmpfr.so : math/mpfr
  3. libmpc.so : math/mpc
This port is required by:
for Build
  1. devel/xtensa-esp32-elf

Deleted ports which required this port:

Expand this list of 24 deleted ports
  1. biology/mopac*
  2. databases/R-cran-RSQLite.extfuns*
  3. devel/ipython5*
  4. emulators/yuzu-qt5*
  5. games/critterding*
  6. graphics/photoflow*
  7. java/openjdk12*
  8. java/openjdk13*
  9. java/openjdk14*
  10. java/openjdk15*
  11. java/openjdk16*
  12. math/coinmumps*
  13. math/gotoblas*
  14. math/py-symcxx*
  15. math/rkward-kde*
  16. net/mpich2*
  17. science/openkim*
  18. security/hashcat-legacy*
  19. security/modsecurity3-apache*
  20. sysutils/pesign*
  21. sysutils/uefi-edk2-bhyve*
  22. sysutils/uefi-edk2-bhyve-devel*
  23. sysutils/uefi-edk2-qemu*
  24. www/mod_authnz_crowd*
  25. Collapse this list of deleted ports.
for Run
  1. devel/xtensa-esp32-elf

Deleted ports which required this port:

Expand this list of 21 deleted ports
  1. biology/mopac*
  2. databases/R-cran-RSQLite.extfuns*
  3. devel/ipython5*
  4. games/critterding*
  5. graphics/photoflow*
  6. java/openjdk12*
  7. java/openjdk13*
  8. java/openjdk14*
  9. java/openjdk15*
  10. java/openjdk16*
  11. math/coinmumps*
  12. math/gotoblas*
  13. math/hipmcl*
  14. math/py-symcxx*
  15. math/rkward-kde*
  16. net/mpich2*
  17. science/openkim*
  18. security/hashcat-legacy*
  19. security/modsecurity3-apache*
  20. sysutils/pesign*
  21. www/mod_authnz_crowd*
  22. Collapse this list of deleted ports.
* - 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:
Options name:
USES:
pkg-message:
For install:
WWW: https://gcc.gnu.org
Master Sites:
Expand this list (8 items)
Collapse this list.
  1. http://ftp.ntua.gr/pub/gnu/gcc/releases/gcc-10.4.0/
  2. http://gcc.gnu.org/pub/gcc/releases/gcc-10.4.0/
  3. http://mirror.koddos.net/gcc/releases/gcc-10.4.0/
  4. https://ftp-stud.hs-esslingen.de/pub/Mirrors/sourceware.org/gcc/releases/gcc-10.4.0/
  5. https://ftp.funet.fi/pub/mirrors/sourceware.org/pub/gcc/releases/gcc-10.4.0/
  6. https://ftp.mpi-inf.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/releases/gcc-10.4.0/
  7. https://mirrors.kernel.org/sourceware/gcc/releases/gcc-10.4.0/
  8. https://mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-10.4.0/
Collapse this list.
Port Moves
  • port moved here from lang/gcc7 on 2021-09-05
    REASON: Has expired: Unsupported by upstream. Use GCC 10 or newer instead

Number of commits found: 25

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
10.4.0_1
10 Aug 2023 20:02:24
commit hash:e85a6755795f33dca9b68cba73b40af13e390cbecommit hash:e85a6755795f33dca9b68cba73b40af13e390cbecommit hash:e85a6755795f33dca9b68cba73b40af13e390cbecommit hash:e85a6755795f33dca9b68cba73b40af13e390cbe files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/gcc10: remove noop CONFIGURE_ENV for powerpc64
10.4.0_1
19 Jun 2023 15:19:22
commit hash:91117ec83f966fad5e943737928abe956cd49720commit hash:91117ec83f966fad5e943737928abe956cd49720commit hash:91117ec83f966fad5e943737928abe956cd49720commit hash:91117ec83f966fad5e943737928abe956cd49720 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
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
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
10.4.0
04 Feb 2023 09:10:55
commit hash:b6a5871a0cf40dfc194217704e2dc03e2e91fb62commit hash:b6a5871a0cf40dfc194217704e2dc03e2e91fb62commit hash:b6a5871a0cf40dfc194217704e2dc03e2e91fb62commit hash:b6a5871a0cf40dfc194217704e2dc03e2e91fb62 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
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
commit hash:ade2a047e0eb835f7f42682496614cfd259757eacommit hash:ade2a047e0eb835f7f42682496614cfd259757eacommit hash:ade2a047e0eb835f7f42682496614cfd259757eacommit hash:ade2a047e0eb835f7f42682496614cfd259757ea files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW lines that have been moved into Makefiles

Approved by:	portmgr (implicit)
10.4.0
08 Sep 2022 15:43:21
commit hash:986beaaabc71b9e7e29e7e89e0f36405b687216fcommit hash:986beaaabc71b9e7e29e7e89e0f36405b687216fcommit hash:986beaaabc71b9e7e29e7e89e0f36405b687216fcommit hash:986beaaabc71b9e7e29e7e89e0f36405b687216f files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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
commit hash:cda7daf7a2ecec8af04ff00628c0d1311c973885commit hash:cda7daf7a2ecec8af04ff00628c0d1311c973885commit hash:cda7daf7a2ecec8af04ff00628c0d1311c973885commit hash:cda7daf7a2ecec8af04ff00628c0d1311c973885 files touched by this commit
Lorenzo Salvadore (salvadore) search for other commits by this committer
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
commit hash:d5adeddbde5c5c6c26b336b126df057602790f1bcommit hash:d5adeddbde5c5c6c26b336b126df057602790f1bcommit hash:d5adeddbde5c5c6c26b336b126df057602790f1bcommit hash:d5adeddbde5c5c6c26b336b126df057602790f1b files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/gcc10: fix build on powerpc64

Same issue as with lang/gcc12.
10.4.0
20 Jul 2022 14:22:15
commit hash:f98ae56653d5255e3519da4e97d6edbaa7e6df91commit hash:f98ae56653d5255e3519da4e97d6edbaa7e6df91commit hash:f98ae56653d5255e3519da4e97d6edbaa7e6df91commit hash:f98ae56653d5255e3519da4e97d6edbaa7e6df91 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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 View all of this commit message)
10.4.0
28 Jun 2022 17:24:23
commit hash:05ec3ef06b57fe5067220539d92f74828913bb7fcommit hash:05ec3ef06b57fe5067220539d92f74828913bb7fcommit hash:05ec3ef06b57fe5067220539d92f74828913bb7fcommit hash:05ec3ef06b57fe5067220539d92f74828913bb7f files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/gcc10: update to 10.4.0
10.3.0
24 Apr 2022 21:29:40
commit hash:c52302386df7a2d67368144568a7be2e872adaaccommit hash:c52302386df7a2d67368144568a7be2e872adaaccommit hash:c52302386df7a2d67368144568a7be2e872adaaccommit hash:c52302386df7a2d67368144568a7be2e872adaac files touched by this commit
Gerald Pfeifer (gerald) search for other commits by this committer
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
commit hash:bcaf25a8c8046b094f6b5ab5bc258333bc326ee1commit hash:bcaf25a8c8046b094f6b5ab5bc258333bc326ee1commit hash:bcaf25a8c8046b094f6b5ab5bc258333bc326ee1commit hash:bcaf25a8c8046b094f6b5ab5bc258333bc326ee1 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
10.3.0
29 Apr 2021 11:33:40
commit hash:074d1888974ae64e1bdaf4e46a8e7f967f2c2618commit hash:074d1888974ae64e1bdaf4e46a8e7f967f2c2618commit hash:074d1888974ae64e1bdaf4e46a8e7f967f2c2618commit hash:074d1888974ae64e1bdaf4e46a8e7f967f2c2618 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
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
commit hash:d574ff43f5f161403e925c5a99564329bb50d246commit hash:d574ff43f5f161403e925c5a99564329bb50d246commit hash:d574ff43f5f161403e925c5a99564329bb50d246commit hash:d574ff43f5f161403e925c5a99564329bb50d246 files touched by this commit
Gerald Pfeifer (gerald) search for other commits by this committer
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
commit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
10.2.0_1
21 Mar 2021 09:57:05
Revision:568912Original commit files touched by this commit
gerald search for other commits by this committer
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
Revision:566211Original commit files touched by this commit
gerald search for other commits by this committer
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
Revision:560731Original commit files touched by this commit
gerald search for other commits by this committer
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
Revision:559636Original commit files touched by this commit
pkubaj search for other commits by this committer
lang/gcc10: add support for powerpc64le

PR:		251670
Approved by:	gerald@ (maintainer)
10.2.0
26 Dec 2020 12:38:48
Revision:559289Original commit files touched by this commit
gerald search for other commits by this committer
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
Revision:557866Original commit files touched by this commit
gerald search for other commits by this committer
Add a bit of meta data so that everyone possibly touching this has
sufficient background.
10.2.0
12 Dec 2020 16:11:28
Revision:557833Original commit files touched by this commit
pkubaj search for other commits by this committer
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
Revision:556486Original commit files touched by this commit
gerald search for other commits by this committer
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
Revision:543890Original commit files touched by this commit
gerald search for other commits by this committer
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
Revision:537509Original commit files touched by this commit
gerald search for other commits by this committer
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 View all of this commit message)

Number of commits found: 25