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
gcc7 GNU Compiler Collection 7
7.5.0_4 lang Deleted on this many watch lists=2 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 7.5.0_4Version of this port present on the latest quarterly branch.
Deprecated DEPRECATED: Unsupported by upstream. Use GCC 10 or newer instead.
Expired This port expired on: 2021-09-03
Maintainer: leres@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-08-14 23:20:47
Last Update: 2021-09-05 08:51:47
Commit Hash: 58f1c18
People watching this port, also watch:: bash, git, openjdk8, pkg, asciidoc
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 gcc7, g++7, and gfortran7, respectively. WWW: https://gcc.gnu.org Gerald Pfeifer <gerald@FreeBSD.org>
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (38 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/gcc7-7.5.0_4/catalog.mk
  3. /usr/local/share/licenses/gcc7-7.5.0_4/LICENSE
  4. /usr/local/share/licenses/gcc7-7.5.0_4/GPLv3
  5. /usr/local/share/licenses/gcc7-7.5.0_4/GPLv3RLE
  6. bin/x86_64-portbld-freebsd12.2-c++7
  7. bin/x86_64-portbld-freebsd12.2-g++7
  8. bin/x86_64-portbld-freebsd12.2-gcc7
  9. bin/x86_64-portbld-freebsd12.2-gcc-7.5.0
  10. bin/x86_64-portbld-freebsd12.2-gcc-ar7
  11. bin/x86_64-portbld-freebsd12.2-gcc-nm7
  12. bin/x86_64-portbld-freebsd12.2-gcc-ranlib7
  13. bin/c++7
  14. bin/cpp7
  15. bin/g++7
  16. bin/gcc7
  17. bin/gcc-ar7
  18. bin/gcc-nm7
  19. bin/gcc-ranlib7
  20. bin/gcov7
  21. bin/gcov-dump7
  22. bin/gcov-tool7
  23. man/man1/cpp7.1.gz
  24. man/man1/g++7.1.gz
  25. man/man1/gcc7.1.gz
  26. man/man1/gcov7.1.gz
  27. man/man1/gcov-dump7.1.gz
  28. man/man1/gcov-tool7.1.gz
  29. share/gcc-7.5.0/python/libstdcxx/__init__.py
  30. share/gcc-7.5.0/python/libstdcxx/v6/__init__.py
  31. share/gcc-7.5.0/python/libstdcxx/v6/printers.py
  32. share/gcc-7.5.0/python/libstdcxx/v6/xmethods.py
  33. @postexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
  34. @postunexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
  35. @comment Insert PLIST.lib here
  36. @owner
  37. @group
  38. @mode
Collapse this list.
Dependency lines:
  • gcc7>0:lang/gcc7
No installation instructions:
This port has been deleted.
PKGNAME: gcc7
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: amd64
distinfo:
TIMESTAMP = 1573747413 SHA256 (gcc-7.5.0.tar.xz) = b81946e7f01f90528a1f7352ab08cc602b9ccc05d4e44da4bd501c5a189ee661 SIZE (gcc-7.5.0.tar.xz) = 62783088

No package information for this port in our database
Sometimes this happens. Not all ports have packages.
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.32.r0<5.33 : lang/perl5.32
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
NOTE: dependencies for deleted ports are notoriously suspect
This port is required by:
for Build

Deleted ports which required this port:

Expand this list of 25 deleted ports
  1. audio/firefly*
  2. biology/tinker*
  3. cad/gmsh-occ*
  4. comms/wsjt*
  5. comms/wspr*
  6. devel/bisoncpp*
  7. devel/libbobcat*
  8. devel/linux-kernel*
  9. games/syobon*
  10. graphics/bugle*
  11. lang/cilkplus*
  12. lang/v8-devel*
  13. mail/annoyance-filter*
  14. mail/pop3vscan*
  15. math/arpack*
  16. math/arpack-ng-mpich*
  17. math/hfst*
  18. math/rpy2*
  19. net-p2p/dogecoin*
  20. print/gribouy*
  21. science/fvm*
  22. science/mpqc-mpich*
  23. science/ncs*
  24. sysutils/grub2*
  25. www/mod_security3*
  26. Collapse this list of deleted ports.
for Run

Deleted ports which required this port:

Expand this list of 24 deleted ports
  1. audio/firefly*
  2. biology/tinker*
  3. cad/gmsh-occ*
  4. comms/wsjt*
  5. comms/wspr*
  6. devel/bisoncpp*
  7. devel/libbobcat*
  8. games/syobon*
  9. graphics/bugle*
  10. lang/cilkplus*
  11. lang/v8-devel*
  12. mail/annoyance-filter*
  13. mail/pop3vscan*
  14. math/arpack*
  15. math/arpack-ng-mpich*
  16. math/hfst*
  17. math/rpy2*
  18. net-p2p/dogecoin*
  19. print/gribouy*
  20. science/fvm*
  21. science/mpqc-mpich*
  22. science/ncs*
  23. sysutils/grub2*
  24. www/mod_security3*
  25. 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:
No options to configure
Options name:
lang_gcc7
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/gcc7 For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens transparently.
Master Sites:
Expand this list (18 items)
Collapse this list.
  1. ftp://ftp.funet.fi/pub/mirrors/sourceware.org/pub/gcc/releases/gcc-7.5.0/
  2. ftp://ftp.gwdg.de/pub/misc/gcc/releases/gcc-7.5.0/
  3. ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/releases/gcc-7.5.0/
  4. ftp://ftp.lip6.fr/pub/gcc/releases/gcc-7.5.0/
  5. ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-7.5.0/
  6. ftp://ftp.mpi-sb.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/releases/gcc-7.5.0/
  7. ftp://ftp.nluug.nl/mirror/languages/gcc/releases/gcc-7.5.0/
  8. ftp://ftp.ntua.gr/pub/gnu/gcc/releases/gcc-7.5.0/
  9. ftp://ftp.uvsq.fr/pub/gcc/releases/gcc-7.5.0/
  10. ftp://gcc.gnu.org/pub/gcc/releases/gcc-7.5.0/
  11. http://gcc-uk.internet.bs/releases/gcc-7.5.0/
  12. http://gcc.cybermirror.org/releases/gcc-7.5.0/
  13. http://gcc.fyxm.net/releases/gcc-7.5.0/
  14. http://gcc.parentingamerica.com/releases/gcc-7.5.0/
  15. http://robotlab.itk.ppke.hu/gcc/releases/gcc-7.5.0/
  16. http://www.netgull.com/gcc/releases/gcc-7.5.0/
  17. https://ftp-stud.hs-esslingen.de/pub/Mirrors/sourceware.org/gcc/releases/gcc-7.5.0/
  18. https://mirrors.kernel.org/sourceware/gcc/releases/gcc-7.5.0/
Collapse this list.
Port Moves
  • port moved to lang/gcc10 on 2021-09-05
    REASON: Has expired: Unsupported by upstream. Use GCC 10 or newer instead

Number of commits found: 48

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
7.5.0_4
05 Sep 2021 08:51:47
commit hash: 58f1c18c9424bee87b4a121707b437fd26754ecdcommit hash: 58f1c18c9424bee87b4a121707b437fd26754ecdcommit hash: 58f1c18c9424bee87b4a121707b437fd26754ecdcommit hash: 58f1c18c9424bee87b4a121707b437fd26754ecd files touched by this commit
Rene Ladan (rene) search for other commits by this committer
cleanup: Remove expired ports:

2021-09-03 lang/gcc7: Unsupported by upstream. Use GCC 10 or newer instead.
7.5.0_4
30 Jul 2021 06:38:29
commit hash: b146ef0e108d16f7d523ddc0630f9c91b6d4891ccommit hash: b146ef0e108d16f7d523ddc0630f9c91b6d4891ccommit hash: b146ef0e108d16f7d523ddc0630f9c91b6d4891ccommit hash: b146ef0e108d16f7d523ddc0630f9c91b6d4891c files touched by this commit
Gerald Pfeifer (gerald) search for other commits by this committer
lang/gcc7: Add an expiration date

With lang/J the last dependency of this port, which only has been
enabled on amd64 since last year, is gone. So in addition to the
existing deprecation add an expiration date to initiate de-orbit.

Approved by:	leres (maintainer)
7.5.0_4
05 Jul 2021 04:38:17
commit hash: c360e11054c9570791011c4f4f595c4cefb82e2fcommit hash: c360e11054c9570791011c4f4f595c4cefb82e2fcommit hash: c360e11054c9570791011c4f4f595c4cefb82e2fcommit hash: c360e11054c9570791011c4f4f595c4cefb82e2f files touched by this commit
Gerald Pfeifer (gerald) search for other commits by this committer
lang/gcc7: Recommend GCC 10 instead

Now that GCC 10 is the default in nearly all situations, recommend
that in lieu of this port instead of the older GCC 9.
7.5.0_3
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.
7.5.0_3
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
7.5.0_2
18 Dec 2020 01:51:03
Revision:558343Original commit files touched by this commit
leres search for other commits by this committer
lang/gcc7: Reduce ONLY_FOR_ARCHS to just amd64

devel/xtensa-esp32-elf no longer depends on gcc7 and the last port
dependent on gcc7 is lang/J which only has amd64 in ONLY_FOR_ARCHS.
Remove i386 from gcc7's ONLY_FOR_ARCHS so it matches lang/J.
7.5.0_2
14 Nov 2020 12:04:57
Revision:555109Original commit files touched by this commit
gerald search for other commits by this committer
Pretty exactly 4.5 years after we shipped the first snapshot of GCC 7
hand over maintenance of lang/gcc7 to leres@, who kindly agreed to look
after it while there is still one consumer in the ports tree.

Approved by:	gerald (old maintainer), leres (new maintainer)
7.5.0_1
09 Nov 2020 18:33:57
Revision:554787Original commit files touched by this commit
gerald search for other commits by this committer
Streamline handling of which front ends are built (given that it's
essentially locked to C and C++).

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.
7.5.0_1
28 Oct 2020 19:12:31
Revision:553560Original commit files touched by this commit
gerald search for other commits by this committer
Our only consumer in the tree (devel/xtensa-esp32-elf) does not require
Fortran nor Objective-C, so do not build those front ends and libraries
 any longer.

Also remove the BOOTSTRAP option, which has been the default all along,
and bootstrap unconditionally, further simplifying this port.
7.5.0
15 Oct 2020 07:22:47
Revision:552389Original commit files touched by this commit
gerald search for other commits by this committer
Remove the GRAPHITE options (which we never enabled by default).
Using an experimental feature in a version that's already been
end of life for a year does not make much sense.
7.5.0
22 Aug 2020 09:06:01
Revision:545751Original commit files touched by this commit
gerald search for other commits by this committer
Fix the build with clang 11.

This was fixed upstream as part of a larger commit on May 6th 2017,
and dim@ now encountered the same and fixed the specific issue for
our GCC 7 port.  Newer versions should not exhibit this.

(See the new files/patch-gcc_config_i386_i386.c for more details.)

PR:		248755
Submitted by:	dim
7.5.0
21 Jul 2020 10:40:26
Revision:542732Original commit files touched by this commit
gerald search for other commits by this committer
This port covers an end-of-life version of GCC and is in the tree solely
to support the devel/xtensa-esp32-elf port. Since that one now is limited
to amd64 and i386, follow with our own ONLY_FOR_ARCHS setting.

This simplifies this port a fair bit and avoids building on amd/aarch64
and powerpc* platforms.
7.5.0
24 Jan 2020 12:20:34
Revision:523964Original commit files touched by this commit
gerald search for other commits by this committer
The lang/gcc7-devel port has left the tree two months ago, so remove
the conflict we had with that (since gccN and gccN-devel install the
very same files).
7.5.0
13 Jan 2020 06:06:09
Revision:522857Original commit files touched by this commit
gerald search for other commits by this committer
Deprecate this port since GCC 7 has been end-of-lifed upstream two months
ago whereas GCC 8 (lang/gcc8) and GCC 9 (lang/gcc9) are still active via
official releases.  As we have been doing historically for older GCC ports,
do not mark for actual expiration yet, though.
7.5.0
14 Nov 2019 20:52:53
Revision:517612Original commit files touched by this commit
gerald search for other commits by this committer
Update to the GCC 7.5 release.

This brings more than 215 bug fixes over the GCC 7.4 release and closes
this release branch; that is, no more releases or snapshots.
7.4.0_1
24 Jul 2019 21:30:44
Revision:507302Original commit files touched by this commit
tobik search for other commits by this committer
lang/gcc*: Hide pkg-message during upgrades

PR:		239419
Approved by:	gerald (maintainer)
7.4.0_1
10 Mar 2019 05:22:49
Revision:495227Original commit files touched by this commit
gerald search for other commits by this committer
No longer require a not too old version of GCC to build on powerpc64, but
rely on the system compiler (even if that means we need to be explicitly
conservative when it comes to optimizations). [1]

Simplify the creation of the multilib-related sub-directory tree on
powerpc64 and avoid leaving an empty directory behind on the way. [2]

PR:		235975 [1], 235964 [2], 231804 [2]
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl> [1]
Discussed with:	Piotr Kubaj <pkubaj@anongoth.pl> [2]
7.4.0_1
04 Feb 2019 09:40:33
Revision:492106Original commit files touched by this commit
gerald search for other commits by this committer
On powerpcspe configure GCC --with-cpu=8548 instead of --with-cpu=8540,
which caused the build to fail after the update to binutils 2.31 and was
factually incorrect anyways (since the oldest we support is 8548).

PR:		235393
Reported by:	jhibbits
7.4.0_1
29 Dec 2018 15:38:31
Revision:488673Original commit files touched by this commit
andreast search for other commits by this committer
Fix build of GCC on powerpc64.

While building GCC itself we have to use the built GCC libraries to configure
additional parts of GCC and not the libraires from the host.

Install the built 32-bit libraries. This was not done up to now.

PR:	231804
Approved by:	gerald@
7.4.0_1
12 Dec 2018 01:35:36
Revision:487272Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

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, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
7.4.0
08 Dec 2018 08:35:45
Revision:486920Original commit files touched by this commit
gerald search for other commits by this committer
Update to the GCC 7.4 release.

This fixes more than 190 bugs and includes files/patch-libgfortran
which I had also applied upstream.

On the way create a separate USES block earlier in the Makefile and
moving relevant items there. [1]

Reported by:	portlint [1]
7.3.0_6
10 Nov 2018 18:12:58
Revision:484628Original commit files touched by this commit
bapt search for other commits by this committer
Install texinfo files (GNU info) into ${PREFIX}/share/info

After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
7.3.0_5
20 Oct 2018 10:59:10
Revision:482485Original commit files touched by this commit
gerald search for other commits by this committer
Copy over files/patch-libgfortran from revision r481429 of lang/gcc7-devel:

Add a partial fix for what was reported in PR 231804, the part that's
actually relevant upstream and that I made there, cf.
https://gcc.gnu.org/ml/gcc-patches/2018-10/msg00076.html as a new
local patch files/patch-libgfortran until I have backported this to the
upstream release branch and hence we get it via the weekly snapshots.

PR:		231804
7.3.0_5
10 Sep 2018 13:11:24
Revision:479405Original commit files touched by this commit
mat search for other commits by this committer
After an include, PLIST_SUB must be appended to, not overwritten.

If it is overwritten, many values will be clobbered, and
pain will ensue.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
7.3.0_5
04 Sep 2018 22:26:16
Revision:478993Original commit files touched by this commit
kbowling search for other commits by this committer
lang/gcc7{,-devel}: Fix powerpc64 USE_GCC dependency loop

Approved by:	gerald (maintainer), timur (mentor)
Differential Revision:	https://reviews.freebsd.org/D16784
7.3.0_5
01 Sep 2018 20:17:46
Revision:478722Original commit files touched by this commit
gerald search for other commits by this committer
Disable the build/use of libssp/gets-chk since FreeBSD 12 and later
do not feature gets() any longer.

PR:		222796, 231066
Differential Revision:	https://reviews.freebsd.org/D12298
7.3.0_5
29 Jul 2018 22:18:46
Revision:475857Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
7.3.0_4
28 May 2018 09:04:30
Revision:471032Original commit files touched by this commit
gerald search for other commits by this committer
Forward port r469788 from lang/gcc6:

  Filter the -mretpoline command-line option, which is understood by
  recent versions of clang (and used in the context of the Spectre
  security issues), but not GCC (which uses different options for the
  same) from CFLAGS and CXXFLAGS.

  This avoids the build of this port via bootstrap, which is the default
  and leverages both the system compiler (clang in most cases) plus a just
  built version GCC, to fail due to the latter not knowing -mretpoline.

PR:		228205
Submitted by:	rozhuk.im@gmail.com
7.3.0_4
14 May 2018 19:15:36
Revision:469956Original commit files touched by this commit
tijl search for other commits by this committer
Run "/usr/sbin/service ldconfig restart" for USE_LDCONFIG instead of
"ldconfig -m <path>" so the order of ldconfig search directories after
package installation is the same as after a reboot.  The original command
simply appends the path to the list of directories while the ldconfig rc.d
script uses "sort -u".

Bump lang/gcc* which are known to install libraries with exactly the same
name so the library loaded at runtime depends on the order of the search
directories.

PR:		228046
Approved by:	portmgr (antoine)
7.3.0_3
13 May 2018 00:32:07
Revision:469768Original commit files touched by this commit
gerald search for other commits by this committer
Simplify MASTER_SITES, taking advantage of the default for GCC releases
provided by MASTER_SITES_ABBREVS.

Reported by:	portlint
7.3.0_3
19 Apr 2018 07:08:45
Revision:467751Original commit files touched by this commit
ale search for other commits by this committer
Update mpfr to 4.0.1 release and bump PORTVERSION of dependent ports.
7.3.0_2
08 Apr 2018 19:05:37
Revision:466827Original commit files touched by this commit
danilo search for other commits by this committer
math/cloog
 - Update to 0.19.0
 - Use github
 - Add ac_cv_prog_TEXI2DVI to avoid building docs for now

devel/isl
 - Update to 0.19

- Bump PORTREVISION of all dependencies
7.3.0_1
31 Mar 2018 12:11:36
Revision:466045Original commit files touched by this commit
linimon search for other commits by this committer
Allow gcc compilers to be built on new arch 'powerpcspe'.

Tested for no-harm on amd64.

Submitted by:		jhibbits
Approved by:		portmgr (tier-2 blanket)
Differential Revision:	D13126
7.3.0_1
10 Mar 2018 17:46:06
Revision:464084Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
7.3.0
26 Jan 2018 09:50:19
Revision:459981Original commit files touched by this commit
gerald search for other commits by this committer
Update to the GCC 7.3 release.

This fixes 99+ bugs and includes code generation options to mitigate
Spectre Variant 2 (CVE 2017-5715) for the x86 and powerpc targets
(-mindirect-branch=, -mfunction-return=, and -mindirect-branch-register).

files/patch-armv7-support and files/patch-freebsd-unwind.h, which I
had backported are now included, so remove them.
7.2.0_4
03 Dec 2017 13:33:03
Revision:455404Original commit files touched by this commit
gerald search for other commits by this committer
Remove special code handling armv7 and armv6 (which for GCC 6 and
5-based ports is necessary for aarch64, armv6 and armv7, but that
we do not need for newer ports). [1]

Shorten the distinct .if statements for architecture-specific settings,
to use .elif instead.

Consulted with:	andreast [1]
7.2.0_4
14 Nov 2017 14:05:47
Revision:454177Original commit files touched by this commit
gerald search for other commits by this committer
Make sure what we install is stripped (i.e., debug info is removed).

The straightforward way is setting INSTALL_TARGET to install-strip,
which is supported by the upstream GCC build machinery.

Unfortunately this fails when running as regular user (non-root)
since strip requires write permission to the files in question,
and we install binaries as r-xr-xr-x by default.  To work around
that we need to set BINMODE to allow for write access by the user,
something that's common on GNU/Linux (which is why this probably
has not been noticed there).  This is not necessary when running
as root.

(A different approach suggested was to set STRIP=true, alas that
leads to many files actually not being stripped.  This is due to
GCC using its own script install-sh that in turn uses cp, chmod,
strip,...  instead of our own install-* tools in many cases.)

According to tests by sobomax@ and me installs of lang/gcc6 went
down by about a fourth.

Reported by:	Ports QA Framework, miwi, sobomax
Discussed with:	tijl, miwi
Tested by:	sobomax
Differential Revision:	https://reviews.freebsd.org/D10357
7.2.0_3
14 Nov 2017 05:38:55
Revision:454162Original commit files touched by this commit
gerald search for other commits by this committer
Fix up the format of files/patch-armv7-support .

Reported by:	portlint
7.2.0_3
11 Nov 2017 22:04:15
Revision:454006Original commit files touched by this commit
gerald search for other commits by this committer
Add a patch that we just pulled into gcc7-devel via upstream that
addresses a real-world issue around threading and unwinding as
files/patch-freebsd-unwind.h .

This will become obsolete with the next release of GCC 7, GCC 7.3.

Bump PORTREVISION since this is a functional change.
7.2.0_2
10 Oct 2017 19:20:31
Revision:451719Original commit files touched by this commit
andreast search for other commits by this committer
Add support for armv7-*-freebsd*.
This patch is already upstreamed, it can be dropped when a new GCC 7.x is
available.

PR:	221905
Approved by:	gerald@ (maintainer)
7.2.0_2
02 Oct 2017 22:45:01
Revision:451102Original commit files touched by this commit
gerald search for other commits by this committer
Add a conflict with the lang/gcc7-devel port as we've had it in lang/gcc5
(for lang/gcc5-devel) for a fair while.

Bump PORTREVISION.
7.2.0_1
17 Sep 2017 17:51:24
Revision:450008Original commit files touched by this commit
gerald search for other commits by this committer
Do not quote constant strings compared with ${ARCH}. [1]  Remove
some commented (and thus disabled) logic around this on the way.

This brings the active lang/gcc* release-based ports in sync with
their respective lang/gcc*-devel twins.

PR:		221905 [1]
Submitted by:	linimon [1]
7.2.0_1
10 Sep 2017 20:55:39
Revision:449591Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

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, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
7.2.0
09 Sep 2017 07:02:36
Revision:449474Original commit files touched by this commit
gerald search for other commits by this committer
Move ONLY_FOR_ARCHS to its proper place in Makefile.
7.2.0
16 Aug 2017 22:18:53
Revision:448067Original commit files touched by this commit
gerald search for other commits by this committer
Fix PR 221571 more thoroughly and aligned with lang/gcc6 and lang/gcc5:
release tarballs, unlike snapshots, always contain prebuilt .info files.

PR:		221571
7.2.0
16 Aug 2017 20:45:06
Revision:448065Original commit files touched by this commit
gerald search for other commits by this committer
Also package libitm.info and libquadmath.info on aarch64.

PR:		221571
7.2.0
15 Aug 2017 22:30:05
Revision:448016Original commit files touched by this commit
gerald search for other commits by this committer
Update to the GCC 7.2 release which mostly fixes some hundred bugs.

Also, this now comes as a .tar.xz archive instead of .tar.bz2.
7.1.0
14 Aug 2017 23:20:34
Revision:447971Original commit files touched by this commit
gerald search for other commits by this committer
Welcome GCC 7.1, the first release of the GCC 7 series!

In terms of optimizations, GCC now uses a new local register allocator
(LRA) for most targets (now also including PowerPC and SPARC), a new
store merging pass, is able to determine the return value or range of
return values of some calls to the sprintf family of functions as
input for futher passes, features improved code hoisting, new
interprocedural bitwise constant propagation, interprocedural value
range propagation, new loop splitting, improved shrink-wrapping that
separates portions of prologues and epilogues, and many more.

DWARF 5 is supported through the -gdwarf-5, while DWARF 4 remains the
default for the time being.

The C and C++ frontends have gained a large number of additional
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 48