notbugIf you buy from Amazon USA, please support us by using this link.
Port details
gcc7 GNU Compiler Collection 7
7.4.0_1 lang on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: gerald@FreeBSD.org search for ports maintained by this maintainer
Port Added: 14 Aug 2017 23:20:47
License: GPLv3 GPLv3RLE
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>
SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (39 items)
  1. /usr/local/share/licenses/gcc7-7.4.0_1/catalog.mk
  2. /usr/local/share/licenses/gcc7-7.4.0_1/LICENSE
  3. /usr/local/share/licenses/gcc7-7.4.0_1/GPLv3
  4. /usr/local/share/licenses/gcc7-7.4.0_1/GPLv3RLE
  5. bin/x86_64-portbld-freebsd11.2-c++7
  6. bin/x86_64-portbld-freebsd11.2-g++7
  7. bin/x86_64-portbld-freebsd11.2-gcc7
  8. bin/x86_64-portbld-freebsd11.2-gcc-7.4.0
  9. bin/x86_64-portbld-freebsd11.2-gcc-ar7
  10. bin/x86_64-portbld-freebsd11.2-gcc-nm7
  11. bin/x86_64-portbld-freebsd11.2-gcc-ranlib7
  12. bin/x86_64-portbld-freebsd11.2-gfortran7
  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. bin/gfortran7
  24. man/man1/cpp7.1.gz
  25. man/man1/g++7.1.gz
  26. man/man1/gcc7.1.gz
  27. man/man1/gcov7.1.gz
  28. man/man1/gcov-dump7.1.gz
  29. man/man1/gcov-tool7.1.gz
  30. man/man1/gfortran7.1.gz
  31. share/gcc-7.4.0/python/libstdcxx/__init__.py
  32. share/gcc-7.4.0/python/libstdcxx/v6/__init__.py
  33. share/gcc-7.4.0/python/libstdcxx/v6/printers.py
  34. share/gcc-7.4.0/python/libstdcxx/v6/xmethods.py
  35. @postexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
  36. @postunexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
  37. @comment Insert PLIST.lib here
  38. @postexec /usr/sbin/service ldconfig restart > /dev/null
  39. @postunexec /usr/sbin/service ldconfig restart > /dev/null
  40. Collapse this list.

To install the port: cd /usr/ports/lang/gcc7/ && make install clean
To add the package: pkg install gcc7

PKGNAME: gcc7

ONLY_FOR_ARCHS: aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 powerpcspe sparc64

distinfo:

TIMESTAMP = 1544223514
SHA256 (gcc-7.4.0.tar.xz) = eddde28d04f334aec1604456e536416549e9b1aa137fc69204e65eb0c009fe51
SIZE (gcc-7.4.0.tar.xz) = 62601888


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. as : devel/binutils
  2. gmake : devel/gmake
  3. makeinfo : print/texinfo
  4. as : devel/binutils
  5. perl5>=5.26<5.27 : lang/perl5.26
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
  4. libiconv.so : converters/libiconv

This port is required by:

for Build for Run * - 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 gcc7-7.4.0_1:
     BOOTSTRAP=on: Build using a full bootstrap
     GRAPHITE=off: Support for Graphite loop optimizations
===> Use 'make config' to modify these settings

USES:
compiler cpe gmake iconv libtool makeinfo perl5 tar:xz

Conflicts:
  • CONFLICTS:
    • gcc7-devel-7.*
Master Sites:
  1. ftp://ftp.funet.fi/pub/mirrors/sourceware.org/pub/gcc/releases/gcc-7.4.0/
  2. ftp://ftp.gwdg.de/pub/misc/gcc/releases/gcc-7.4.0/
  3. ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/releases/gcc-7.4.0/
  4. ftp://ftp.lip6.fr/pub/gcc/releases/gcc-7.4.0/
  5. ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-7.4.0/
  6. ftp://ftp.mpi-sb.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/releases/gcc-7.4.0/
  7. ftp://ftp.nluug.nl/mirror/languages/gcc/releases/gcc-7.4.0/
  8. ftp://ftp.ntua.gr/pub/gnu/gcc/releases/gcc-7.4.0/
  9. ftp://ftp.uvsq.fr/pub/gcc/releases/gcc-7.4.0/
  10. ftp://gcc.gnu.org/pub/gcc/releases/gcc-7.4.0/
  11. http://gcc-uk.internet.bs/releases/gcc-7.4.0/
  12. http://gcc.cybermirror.org/releases/gcc-7.4.0/
  13. http://gcc.fyxm.net/releases/gcc-7.4.0/
  14. http://gcc.parentingamerica.com/releases/gcc-7.4.0/
  15. http://robotlab.itk.ppke.hu/gcc/releases/gcc-7.4.0/
  16. http://www.netgull.com/gcc/releases/gcc-7.4.0/
  17. https://ftp-stud.hs-esslingen.de/pub/Mirrors/sourceware.org/gcc/releases/gcc-7.4.0/
  18. https://mirrors.kernel.org/sourceware/gcc/releases/gcc-7.4.0/

Number of commits found: 29

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
12 Dec 2018 01:35:36
Original commit files touched by this commit  7.4.0_1
Revision:487272
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
08 Dec 2018 08:35:45
Original commit files touched by this commit  7.4.0
Revision:486920
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]
10 Nov 2018 18:12:58
Original commit files touched by this commit  7.3.0_6
Revision:484628
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
20 Oct 2018 10:59:10
Original commit files touched by this commit  7.3.0_5
Revision:482485
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
10 Sep 2018 13:11:24
Original commit files touched by this commit  7.3.0_5
Revision:479405
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
04 Sep 2018 22:26:16
Original commit files touched by this commit  7.3.0_5
Revision:478993
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
01 Sep 2018 20:17:46
Original commit files touched by this commit  7.3.0_5
Revision:478722
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
29 Jul 2018 22:18:46
Original commit files touched by this commit  7.3.0_5
Revision:475857
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
28 May 2018 09:04:30
Original commit files touched by this commit  7.3.0_4
Revision:471032
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
14 May 2018 19:15:36
Original commit files touched by this commit  7.3.0_4
Revision:469956
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)
13 May 2018 00:32:07
Original commit files touched by this commit  7.3.0_3
Revision:469768
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
19 Apr 2018 07:08:45
Original commit files touched by this commit  7.3.0_3
Revision:467751
ale search for other commits by this committer
Update mpfr to 4.0.1 release and bump PORTVERSION of dependent ports.
08 Apr 2018 19:05:37
Original commit files touched by this commit  7.3.0_2
Revision:466827
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
31 Mar 2018 12:11:36
Original commit files touched by this commit  7.3.0_1
Revision:466045
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
10 Mar 2018 17:46:06
Original commit files touched by this commit  7.3.0_1
Revision:464084
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).
26 Jan 2018 09:50:19
Original commit files touched by this commit  7.3.0
Revision:459981
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.
03 Dec 2017 13:33:03
Original commit files touched by this commit  7.2.0_4
Revision:455404
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]
14 Nov 2017 14:05:47
Original commit files touched by this commit  7.2.0_4
Revision:454177
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
14 Nov 2017 05:38:55
Original commit files touched by this commit  7.2.0_3
Revision:454162
gerald search for other commits by this committer
Fix up the format of files/patch-armv7-support .

Reported by:	portlint
11 Nov 2017 22:04:15
Original commit files touched by this commit  7.2.0_3
Revision:454006
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.
10 Oct 2017 19:20:31
Original commit files touched by this commit  7.2.0_2
Revision:451719
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)
02 Oct 2017 22:45:01
Original commit files touched by this commit  7.2.0_2
Revision:451102
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.
17 Sep 2017 17:51:24
Original commit files touched by this commit  7.2.0_1
Revision:450008
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]
10 Sep 2017 20:55:39
Original commit files touched by this commit  7.2.0_1
Revision:449591
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
09 Sep 2017 07:02:36
Original commit files touched by this commit  7.2.0
Revision:449474
gerald search for other commits by this committer
Move ONLY_FOR_ARCHS to its proper place in Makefile.
16 Aug 2017 22:18:53
Original commit files touched by this commit  7.2.0
Revision:448067
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
16 Aug 2017 20:45:06
Original commit files touched by this commit  7.2.0
Revision:448065
gerald search for other commits by this committer
Also package libitm.info and libquadmath.info on aarch64.

PR:		221571
15 Aug 2017 22:30:05
Original commit files touched by this commit  7.2.0
Revision:448016
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.
14 Aug 2017 23:20:34
Original commit files touched by this commit  7.1.0
Revision:447971
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: 29

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
wordpressDec 15
wordpressDec 15
wordpressDec 15
wordpressDec 15
wordpressDec 15
gitlab-ceDec 14
mbedtlsDec 14
typo3-8Dec 14
phpmyadminDec 12
firefoxDec 11
firefox-esrDec 11
libxulDec 11
linux-firefoxDec 11
linux-seamonkeyDec 11
linux-thunderbirdDec 11

14 vulnerabilities affecting 198 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2018-12-15 15:04:36


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 36156
Broken 121
Deprecated 1116
Ignore 379
Forbidden 3
Restricted 162
No CDROM 74
Vulnerable 36
Expired 4
Set to expire 1089
Interactive 0
new 24 hours 6
new 48 hours13
new 7 days46
new fortnight96
new month163

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2018 Dan Langille. All rights reserved.