FreshPorts -- The Place For Ports notbugIf you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
gcc7 GNU Compiler Collection 7
7.3.0_4 lang on this many watch lists=1 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.3.0_4/catalog.mk
  2. /usr/local/share/licenses/gcc7-7.3.0_4/LICENSE
  3. /usr/local/share/licenses/gcc7-7.3.0_4/GPLv3
  4. /usr/local/share/licenses/gcc7-7.3.0_4/GPLv3RLE
  5. bin/x86_64-portbld-freebsd11.1-c++7
  6. bin/x86_64-portbld-freebsd11.1-g++7
  7. bin/x86_64-portbld-freebsd11.1-gcc7
  8. bin/x86_64-portbld-freebsd11.1-gcc-7.3.0
  9. bin/x86_64-portbld-freebsd11.1-gcc-ar7
  10. bin/x86_64-portbld-freebsd11.1-gcc-nm7
  11. bin/x86_64-portbld-freebsd11.1-gcc-ranlib7
  12. bin/x86_64-portbld-freebsd11.1-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.3.0/python/libstdcxx/__init__.py
  32. share/gcc-7.3.0/python/libstdcxx/v6/__init__.py
  33. share/gcc-7.3.0/python/libstdcxx/v6/printers.py
  34. share/gcc-7.3.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 = 1516953569
SHA256 (gcc-7.3.0.tar.xz) = 832ca6ae04636adbb430e865a1451adf6979ab44ca1c8374f61fba65645ce15c
SIZE (gcc-7.3.0.tar.xz) = 62462388


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
There are no ports dependent upon this port

Configuration Options
===> The following configuration options are available for gcc7-7.3.0_4:
     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

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

Number of commits found: 21

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
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: 21

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
slurm-wlmJun 16
nodeJun 15
node6Jun 15
node8Jun 15
libgcrypt*Jun 14
password-storeJun 14
asterisk13*Jun 12
libresslJun 12
libressl-develJun 12
opensslJun 12
openssl-develJun 12
asterisk13Jun 11
asterisk15Jun 11
asterisk15Jun 11
chromiumJun 10

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

* - modified, not new

All vulnerabilities

Last updated:
2018-06-16 15:43:50


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 34425
Broken 82
Deprecated 102
Ignore 334
Forbidden 2
Restricted 160
No CDROM 76
Vulnerable 32
Expired 12
Set to expire 89
Interactive 0
new 24 hours 12
new 48 hours20
new 7 days43
new fortnight88
new month15986

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