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

We also have a status page: https://freshports.wordpress.com/

Port details
gcc Meta-port for the default version of the GNU Compiler Collection
6 lang on this many watch lists=17 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: 25 Sep 2011 22:00:33
Also Listed In: java
License: not specified in port
GCC, the GNU Compiler Collection, supports a number of languages.  This
port pulls in gcc5 (or another version-specific port) and defines symlinks
called gcc, g++, and gfortran.

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 (3 items)
  1. bin/g++
  2. bin/gcc
  3. bin/gfortran
  4. Collapse this list.

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

PKGNAME: gcc

distinfo: There is no distinfo for this port.


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

Runtime dependencies:
  1. gcc6 : lang/gcc6

This port is required by:

for Build
  1. archivers/hs-zlib-conduit*
  2. biology/ncbi-blast*
  3. biology/ortep3*
  4. biology/platon*
  5. cad/NASTRAN*
  6. converters/R-cran-xtable*
  7. databases/mysql-workbench52*
  8. Expand this list (129 items)
  9. devel/R-cran-survival*
  10. devel/cocaine-core*
  11. devel/freeocl*
  12. devel/hs-DeepArrow*
  13. devel/hs-IORefCAS*
  14. devel/hs-MaybeT*
  15. devel/hs-MonadCatchIO-mtl*
  16. devel/hs-MonadCatchIO-transformers*
  17. devel/hs-Tensor*
  18. devel/hs-attempt*
  19. devel/hs-base64-conduit*
  20. devel/hs-blaze-builder-conduit*
  21. devel/hs-directory*
  22. devel/hs-failure*
  23. devel/hs-filesystem-conduit*
  24. devel/hs-geniplate*
  25. devel/hs-glade*
  26. devel/hs-haskeline*
  27. devel/hs-haskell-platform*
  28. devel/hs-pool-conduit*
  29. devel/hs-profunctor-extras*
  30. devel/hs-ranges*
  31. devel/hs-reactive*
  32. devel/hs-syb-with-class-instances-text*
  33. devel/hs-terminfo*
  34. devel/hs-testpack*
  35. devel/hs-transformers*
  36. devel/libXGP*
  37. devel/libYGP*
  38. devel/liblouisxml*
  39. devel/nemiver*
  40. devel/pure-gen*
  41. emulators/bsnes*
  42. emulators/dolphin-emu-devel*
  43. emulators/kqemu-kmod*
  44. emulators/kqemu-kmod-devel*
  45. emulators/xl*
  46. games/fgrun*
  47. graphics/f90gl*
  48. graphics/ffff*
  49. graphics/gdal-grass*
  50. graphics/glfw-devel*
  51. graphics/gplot*
  52. graphics/hs-soegtk*
  53. graphics/k3d*
  54. graphics/ruby-pgplot*
  55. graphics/visionworkbench*
  56. lang/OpenCoarrays*
  57. lang/dragonegg46*
  58. lang/dragonegg47-33*
  59. lang/hiphop-php*
  60. lang/hs-epic*
  61. mail/xfmail*
  62. math/atlas-devel*
  63. math/bihar*
  64. math/elmer-umfpack*
  65. math/freemat-mpi*
  66. math/hs-Agda-executable*
  67. math/hs-comonad-transformers*
  68. math/hs-comonads-fd*
  69. math/hs-groupoids*
  70. math/hs-nats*
  71. math/hs-semigroupoid-extras*
  72. math/libR*
  73. math/octave-devel*
  74. math/octave-forge-ad*
  75. math/octave-forge-dicom*
  76. math/octave-forge-es*
  77. math/octave-forge-image-acquisition*
  78. math/octave-forge-java*
  79. math/octave-forge-octgpr*
  80. math/octave-forge-spline-gcvspl*
  81. math/octave-forge-xraylib*
  82. math/petsc*
  83. math/petsc-mpich*
  84. math/py-graphtool*
  85. math/rkward*
  86. misc/terraform*
  87. multimedia/avidemux26*
  88. multimedia/avidemux26-cli*
  89. multimedia/avidemux26-plugins*
  90. multimedia/avidemux26-qt4*
  91. multimedia/hs-gstreamer*
  92. net/asterisk*
  93. net/hs-network-conduit*
  94. net/openmpi-devel*
  95. net/pvm++*
  96. print/abc2mtex*
  97. science/2dhf*
  98. science/abinit*
  99. science/elmer-eio*
  100. science/elmer-hutiter*
  101. science/elmer-matc*
  102. science/elmerpost*
  103. science/gamess*
  104. science/netcdf-ftn*
  105. science/peekabot*
  106. science/psi3*
  107. science/py-obspy.taup*
  108. science/ruby-dcl*
  109. security/hs-tls-extra*
  110. textproc/hs-attoparsec-conduit*
  111. textproc/hs-citeproc-hs*
  112. textproc/hs-xhtml*
  113. www/hs-hamlet*
  114. www/hs-scgi*
  115. www/hs-shakespeare-css*
  116. www/hs-shakespeare-i18n*
  117. www/hs-shakespeare-js*
  118. www/hs-shakespeare-text*
  119. www/hs-wai-test*
  120. www/hs-yesod-default*
  121. www/hs-yesod-json*
  122. www/hs-yesod-platform*
  123. www/hs-yesod-routes*
  124. www/node-devel*
  125. www/node010*
  126. www/node012*
  127. www/node5*
  128. www/openvrml*
  129. x11-toolkits/gigi*
  130. x11-toolkits/hs-gtkglext*
  131. Collapse this list.
for Libraries for Run
  1. archivers/hs-zlib-conduit*
  2. biology/ncbi-blast*
  3. biology/ortep3*
  4. biology/platon*
  5. cad/NASTRAN*
  6. converters/R-cran-xtable*
  7. databases/mysql-workbench52*
  8. Expand this list (128 items)
  9. devel/R-cran-survival*
  10. devel/cocaine-core*
  11. devel/freeocl*
  12. devel/hs-DeepArrow*
  13. devel/hs-IORefCAS*
  14. devel/hs-MaybeT*
  15. devel/hs-MonadCatchIO-mtl*
  16. devel/hs-MonadCatchIO-transformers*
  17. devel/hs-Tensor*
  18. devel/hs-attempt*
  19. devel/hs-base64-conduit*
  20. devel/hs-blaze-builder-conduit*
  21. devel/hs-directory*
  22. devel/hs-failure*
  23. devel/hs-filesystem-conduit*
  24. devel/hs-geniplate*
  25. devel/hs-glade*
  26. devel/hs-haskeline*
  27. devel/hs-haskell-platform*
  28. devel/hs-pool-conduit*
  29. devel/hs-profunctor-extras*
  30. devel/hs-ranges*
  31. devel/hs-reactive*
  32. devel/hs-syb-with-class-instances-text*
  33. devel/hs-terminfo*
  34. devel/hs-testpack*
  35. devel/hs-transformers*
  36. devel/libXGP*
  37. devel/libYGP*
  38. devel/liblouisxml*
  39. devel/nemiver*
  40. devel/pure-gen*
  41. emulators/bsnes*
  42. emulators/dolphin-emu-devel*
  43. emulators/kqemu-kmod*
  44. emulators/kqemu-kmod-devel*
  45. games/fgrun*
  46. graphics/f90gl*
  47. graphics/ffff*
  48. graphics/gdal-grass*
  49. graphics/glfw-devel*
  50. graphics/gplot*
  51. graphics/hs-soegtk*
  52. graphics/k3d*
  53. graphics/ruby-pgplot*
  54. graphics/visionworkbench*
  55. lang/OpenCoarrays*
  56. lang/dragonegg46*
  57. lang/dragonegg47-33*
  58. lang/hiphop-php*
  59. lang/hs-epic*
  60. mail/xfmail*
  61. math/atlas-devel*
  62. math/bihar*
  63. math/elmer-umfpack*
  64. math/freemat-mpi*
  65. math/hs-Agda-executable*
  66. math/hs-comonad-transformers*
  67. math/hs-comonads-fd*
  68. math/hs-groupoids*
  69. math/hs-nats*
  70. math/hs-semigroupoid-extras*
  71. math/libR*
  72. math/octave-devel*
  73. math/octave-forge-ad*
  74. math/octave-forge-dicom*
  75. math/octave-forge-es*
  76. math/octave-forge-image-acquisition*
  77. math/octave-forge-java*
  78. math/octave-forge-octgpr*
  79. math/octave-forge-spline-gcvspl*
  80. math/octave-forge-xraylib*
  81. math/petsc*
  82. math/petsc-mpich*
  83. math/py-graphtool*
  84. math/rkward*
  85. misc/terraform*
  86. multimedia/avidemux26*
  87. multimedia/avidemux26-cli*
  88. multimedia/avidemux26-plugins*
  89. multimedia/avidemux26-qt4*
  90. multimedia/hs-gstreamer*
  91. net/asterisk*
  92. net/hs-network-conduit*
  93. net/openmpi-devel*
  94. net/pvm++*
  95. print/abc2mtex*
  96. science/2dhf*
  97. science/abinit*
  98. science/elmer-eio*
  99. science/elmer-hutiter*
  100. science/elmer-matc*
  101. science/elmerpost*
  102. science/gamess*
  103. science/netcdf-ftn*
  104. science/peekabot*
  105. science/psi3*
  106. science/py-obspy.taup*
  107. science/ruby-dcl*
  108. security/hs-tls-extra*
  109. textproc/hs-attoparsec-conduit*
  110. textproc/hs-citeproc-hs*
  111. textproc/hs-xhtml*
  112. www/hs-hamlet*
  113. www/hs-scgi*
  114. www/hs-shakespeare-css*
  115. www/hs-shakespeare-i18n*
  116. www/hs-shakespeare-js*
  117. www/hs-shakespeare-text*
  118. www/hs-wai-test*
  119. www/hs-yesod-default*
  120. www/hs-yesod-json*
  121. www/hs-yesod-platform*
  122. www/hs-yesod-routes*
  123. www/node-devel*
  124. www/node010*
  125. www/node012*
  126. www/node5*
  127. www/openvrml*
  128. x11-toolkits/gigi*
  129. x11-toolkits/hs-gtkglext*
  130. Collapse this list.
* - 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

Master Sites:
    There is no master site for this port.
Port Moves
  • port moved here from lang/gcc44 on 2014-02-28
    REASON: Superseded by GCC 4.6 or later

  • port moved here from lang/gcc34 on 2014-02-13
    REASON: Superseded by GCC 4.6 or later

  • port moved here from lang/gcc42 on 2013-11-23
    REASON: Superseded by GCC 4.6 or later

Number of commits found: 90

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
11 Sep 2017 14:54:13
Original commit files touched by this commit  6
Revision:449652
gerald search for other commits by this committer
Replace the hard-coded PORTVERSION by GCC_DEFAULT now that we did dump
the major version (so this does not result in a need for PORTEPOCH).

PR:		219275
Reported by:	jbeich
11 Sep 2017 11:24:44
Original commit files touched by this commit  5.4.0_3
Revision:449625
gerald search for other commits by this committer
Also bump PORTREVISION of lang/gcc which now refers to lang/gcc6 by
default.

PR:		219275
Reported by:	rakuco
08 Jul 2017 07:30:19
Original commit files touched by this commit  5.4.0_2
Revision:445304
gerald search for other commits by this committer
Switch web reference (WWW) from http to https.
28 May 2017 08:28:36
Original commit files touched by this commit  5.4.0_2
Revision:441901
gerald search for other commits by this committer
Fix RUN_DEPENDS.

Reported by:	pkg-fallout, Matthew D. Fuller <fullermd@over-yonder.net>
27 May 2017 23:27:21
Original commit files touched by this commit  5.4.0_2
Revision:441883
gerald search for other commits by this committer
Essentially replace (or rather reinvent) the lang/gcc port, which more
or less ended up identical to lang/gcc5 now that we differentiate between
lang/gccX-devel and lang/gccX ports, by (or as) a meta-port that pulls in
the respective lang/gccX port (based on the setting of $GCC_DEFAULT) and
defines gcc, g++, and gfortran as symlinks to the respective versioned
binaries.

This is the end of a long journey establishing this infrastructure
which is now similar to the one of the python ports, for example,
and makes upgrading the default as well as adjusting the default
locally a lot easier.

(PORTVERSION remains at 5.4.0 for now to avoid PORTEPOCH, but
PORTREVISION gets a bump.)

Suggested by:	tijl (a while ago)
14 Apr 2017 20:50:33
Original commit files touched by this commit  5.4.0_1
Revision:438545
miwi search for other commits by this committer
- Fix shebang

Approved by:	gerald (maintainer via mail)
08 Apr 2017 18:55:35
Original commit files touched by this commit  5.4.0
Revision:438061
andreast search for other commits by this committer
Define WCHAR_T for aarch64 on all active gcc (gcc/gcc5 and gcc6) releases.
This define is already in upstream.
The gcc*-devel ports will pickup the commit from upstream.

Submitted by:	kan@
Approved by:	gerald@ (maintainer)
08 Apr 2017 06:27:14
Original commit files touched by this commit  5.4.0
Revision:437982
gerald search for other commits by this committer
Copy over files/patch-disable-armvhf-config.gcc from lang/gcc5 to
fix the armv6 bootstrap.

Reported by:	andreast, jbeich
07 Apr 2017 21:50:19
Original commit files touched by this commit  5.4.0
Revision:437960
gerald search for other commits by this committer
By default bootstrap on powerpc64 (option BOOTSTRAP), which avoids an
ICE on this architecture.

Reported by:	andreast
01 Apr 2017 20:36:09
Original commit files touched by this commit  5.4.0
Revision:437475
gerald search for other commits by this committer
Add support for aarch64.

Submitted by:	andreast
01 Apr 2017 15:03:21
Original commit files touched by this commit  5.4.0
Revision:437437
gerald search for other commits by this committer
Update lang/gcc and hence the default version of GCC in the Ports
Collection (requested by USE_GCC=yes and various USES=compiler
invocations) from GCC 4.9.4 to GCC 5.4.

files/patch-arm-support and files/patch-gcc_system.h have become
obsolete.  New patches files/patch-arm-unwind-cxx-support and
files/patch-libc++ help support arm targets and new libc++ in base.

ONLY_FOR_ARCHS now also includes arm.

A new option GRAPHITE_DESC, off by default for now, adds support for
Graphite loop optimizations.

Finally, conflicts with other lang/gcc* ports are adjusted suitably.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
01 Apr 2017 13:19:20
Original commit files touched by this commit  4.9.4_1
Revision:437435
gerald search for other commits by this committer
Remove files/patch-armv6-hf-support since armv6hf no longer exists as
an arch.

Reported by:	andreast
26 Mar 2017 20:01:07
Original commit files touched by this commit  4.9.4_1
Revision:436983
gerald search for other commits by this committer
Use relative links for the generic g++, gcc, and gfortran.

Replace a shell for-loop with a bmake .for-loop on the way.

Reported by:	danfe
Reviewed by:	danfe
03 Feb 2017 16:00:56
Original commit files touched by this commit  4.9.4
Revision:433249
gerald search for other commits by this committer
Remove traces of armv6hf which no longer exists as an arch. [1]

Remove an extraneous definition of DISTVERSION (which in general we
only need for ports tracking weekly GCC snapshots) and simplify the
definition of GCC_VERSION.

Reported by:	andreast [1]
18 Jan 2017 13:20:32
Original commit files touched by this commit  4.9.4
Revision:431796  Sanity Test Failure
tijl search for other commits by this committer
The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user.  Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables.  LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well.  The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.

Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).

PR:		215882
Exp-run by:	antoine
Approved by:	portmgr (antoine)
05 Dec 2016 01:04:08
Original commit files touched by this commit  4.9.4
Revision:427827
gerald search for other commits by this committer
Remove gcc/files/patch-libcpp which has not been present on lang/gcc49
and lang/gcc48, but is something we have in lang/gcc47 and that lang/gcc
carried over from the days it was about GCC 4.7 (so surviving both the
transitions to GCC 4.8 and recently GCC 4.9).

The underlying issue was addressed upstream 2014-10-24 with r216679,
and in FreeBSD head 2013-09-06 by theraven@ who fixed fixed our
iconv.h to not include stdbool.h.

PR:		161417
25 Nov 2016 12:54:01
Original commit files touched by this commit  4.9.4
Revision:427110
dim search for other commits by this committer
Fix build of lang/gcc with libc++ 3.9.0, similar to r421625:

While testing the clang390-import branch, I ran into the following
errors building lang/gcc49:

In file included from
/wrkdirs/usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/c/c-objc-common.c:33:
In file included from /usr/include/c++/v1/new:70:
/usr/include/c++/v1/exception:267:5: error: no member named 'fancy_abort' in
namespace 'std::__1'; did you mean simply 'fancy_abort'?
    _VSTD::abort();
    ^~~~~~~
/usr/include/c++/v1/__config:451:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
              ^
/wrkdirs/usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/system.h:685:13: note:
'fancy_abort' declared here
extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
(Only the first 15 lines of the commit message are shown above View all of this commit message)
23 Nov 2016 22:43:56
Original commit files touched by this commit  4.9.4
Revision:426982
gerald search for other commits by this committer
Pet portlint re patch format.
20 Nov 2016 09:15:19
Original commit files touched by this commit  4.9.4
Revision:426565
gerald search for other commits by this committer
Long awaited, finally update the default version of GCC in the Ports
Collection as well as the lang/gcc port from GCC 4.8.5 to GCC 4.9.4!

See http://gcc.gnu.org/gcc-4.9/changes.html for an extensive list of
changes and http://gcc.gnu.org/gcc-4.9/porting_to.html for information
on how to port to that new version (if necessary).

files/java-patch-hier required adjustments, gcc/files/patch-arm-libcpp
is not needed any longer (merged upstream), and we're also loosing the
local Stack Protector patches/backports.

PR:		196712
Tested by:	antoine (-exp runs)
Supported by:	antoine, kwm, and others
21 Oct 2016 12:51:41
Original commit files touched by this commit  4.8.5_2
Revision:424411  Sanity Test Failure
mat search for other commits by this committer
${RM} already has -f.

PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
24 Aug 2016 20:10:11
Original commit files touched by this commit  4.8.5_2
Revision:420822
gerald search for other commits by this committer
Revert previous commit (which should have gone into lang/gcc48),
restoring OPTIONS_DEFAULT_powerpc64=BOOTSTRAP.
24 Aug 2016 20:08:09
Original commit files touched by this commit  4.8.5_2
Revision:420821
gerald search for other commits by this committer
Remove OPTIONS_DEFAULT_powerpc64=BOOTSTRAP which is redundant with
OPTIONS_DEFAULT.
24 Aug 2016 20:05:40
Original commit files touched by this commit  4.8.5_2
Revision:420820
gerald search for other commits by this committer
Default powerpc64 to bootstrapping (option BOOTSTRAP) since otherwise
GCC can be mis-built, leading to an internal compiler error building
libgcc/libgcov.c, at least on FreeBSD 11.

Adjust OPTIONS_DEFINE_powerpc64 and OPTIONS_DEFAULT_powerpc64
incrementally (with +=) to avoid overwriting settings defined
at the top of the Makefile (or child ports). [1]

Submitted by:	swills [1]
Reported by:	swills
14 Aug 2016 07:28:13
Original commit files touched by this commit  4.8.5_2
Revision:420178
gerald search for other commits by this committer
GCC uses an AWK script to generate source code that helps process
command-line options.  According to POSIX, string comparisons (and
hence sorting) are to be performed based on the locale's collating
order.  Alas GNU AWK only does so in POSIX mode, whereas starting
with FreeBSD 11 we do so by default, running into a bug (or false
assumption) with that script used by GCC.

Setting MAKE_ARGS such that AWK is always invoked in the C locale
works around this bug.

PR:		210122, 211742
Submitted by:	jkim
03 Jun 2016 21:24:42
Original commit files touched by this commit  4.8.5_2
Revision:416337
andreast search for other commits by this committer
Skip armv6hf support and move it into armv6.

Discussed with: gerald@
06 May 2016 23:00:27
Original commit files touched by this commit  4.8.5_2
Revision:414734
gerald search for other commits by this committer
Apply the following to all common GCC ports based on end-of-life versions
of GCC including lang/gcc:

Only override CONFIGURE_TARGET for amd64 which is x86-64/x86_64 for the
rest of the world including GNU and GCC.  For all other architectures
it already defaults to the value we were setting.
03 May 2016 20:17:47
Original commit files touched by this commit  4.8.5_2
Revision:414552
gerald search for other commits by this committer
Make MULTILIB_DESC consistent and more logical also for the lang/gcc
and lang/gcc48 ports, now in line across all lang/gcc* ports.
13 Apr 2016 10:40:58
Original commit files touched by this commit  4.8.5_2
Revision:413188
jbeich search for other commits by this committer
lang/gcc*: convert to CONFIGURE_OUTSOURCE

PR:		208294, 208309
Exp-run by:	antoine
Approved by:	gerald (maintainer)
Differential Revision:	https://reviews.freebsd.org/D4157
01 Apr 2016 14:08:38
Original commit files touched by this commit  4.8.5_2
Revision:412347
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.

With hat:	portmgr
Sponsored by:	Absolight
24 Nov 2015 10:19:22
Original commit files touched by this commit  4.8.5_2
Revision:402352
gerald search for other commits by this committer
This being the generic GCC port, add gfortran, gcc, and g++ as links
to the versioned executable (gfortran48, gcc48, and g++48).

These standard names are going to remain in place in case of version
upgrades and constitute the default, and expected by users, names.

Suggested by:	db
Reviewed by:	db
22 Nov 2015 21:06:54
Original commit files touched by this commit  4.8.5_1
Revision:402245
jmmv search for other commits by this committer
Add a MULTILIB option to gcc{,48,49,5} for powerpc64

This change is the same as r400632, which updated gcc[56]-devel, but now
for gcc{,48,49,5}.  This change is the second attempt at doing this: the
first attempt went in r401072 and was reverted in r401074 because the diff
was bogus and enabled the new MULTILIB option under all platforms instead
of just powerpc64.

This fixes the build of gcc{,48,49,5} under powerpc64 when the system
is built without the lib32 libraries.

More in detail:

If the system is built with lib32 support (WITH_LIB32, which is the default),
building gcc from ports results in a compiler that can target both 64-bit and
(Only the first 15 lines of the commit message are shown above View all of this commit message)
09 Nov 2015 08:27:41
Original commit files touched by this commit  4.8.5
Revision:401086
gerald search for other commits by this committer
"Backport" the  -fstack-protector-strong patchset from lang/gcc48 to
lang/gcc.

PR:		203751, 186852 [1]
Submitted by:	software-freebsd@interfasys.ch [1]
08 Nov 2015 20:31:51
Original commit files touched by this commit  4.8.5
Revision:401074
jmmv search for other commits by this committer
Revert r401072.

I'm not sure what happened exactly but I think I committed the change from
the wrong client.  The applied change enabled the MULTILIB option for all
architectures and not only powerpc64.  Let's just revert the commit and do
it properly from scratch; other things might be wrong so I wanna take a
closer look, and it's best to just revert quickly.
08 Nov 2015 20:10:00
Original commit files touched by this commit  4.8.5_1
Revision:401072
jmmv search for other commits by this committer
Add a MULTILIB option to gcc{,48,49,5} for powerpc64

This change is the same as r400632, which updated gcc[56]-devel, but now
for gcc{,48,49,5}.  Waited a week to ensure the change caused nothing to go
horribly wrong but this change is very low risk because it only affects
powerpc64.

This fixes the build of gcc{,48,49,5} under powerpc64 when the system
is built without the lib32 libraries.

More in detail:

If the system is built with lib32 support (WITH_LIB32, which is the default),
building gcc from ports results in a compiler that can target both 64-bit and
32-bit binaries on powerpc64.  However, when lib32 support is disabled
(WITHOUT_LIB32), gcc should only be built with 64-bit support or otherwise
the build fails.

To fix this, explicitly disable 32-bit support when /usr/lib32 is not present
and add a MULTILIB option (which is only defined for powerpc64 when 32-bit
support is possible and defaults to yes to preserve the current behavior) to
allow the user to explicitly control this feature.

Approved by:    gerald (maintainer), bdrewery (mentor), andreast
Differential Revision:  https://reviews.freebsd.org/D3952
05 Oct 2015 16:59:51
Original commit files touched by this commit  4.8.5
Revision:398656
antoine search for other commits by this committer
Add missing USES=compiler, needed for ${COMPILER_TYPE} checks

PR:		203540
26 Sep 2015 11:03:19
Original commit files touched by this commit  4.8.5
Revision:397956
antoine search for other commits by this committer
Remove deprecated @exec/@unexec from ports using ccache-update-links
17 Jul 2015 08:45:46
Original commit files touched by this commit  4.8.5
Revision:392340
gerald search for other commits by this committer
Update to GCC 4.8.5.  Mostly bug fixes, a very conservative update.
01 May 2015 18:54:47
Original commit files touched by this commit  4.8.4_3
Revision:385140
gerald search for other commits by this committer
Merge MASTER_SITES and MASTER_SITE_SUBDIR into just the former.

Suggested by:	mat
27 Apr 2015 14:15:25
Original commit files touched by this commit  4.8.4_3
Revision:384836
bapt search for other commits by this committer
Bump portrevision after revert as some people did managed to build the _2
version
27 Apr 2015 14:03:52
Original commit files touched by this commit  4.8.4_1
Revision:384834
bapt search for other commits by this committer
Reverting temporary r384814

While the feature has a great value, it is right now breaking the build of
lang/gcc. Given the importance of lang/gcc it is better to revert now and
reapply the patch once it has been fixed and passes an exp-run on all supported
version

With hat:	portmgr
27 Apr 2015 04:08:01
Original commit files touched by this commit  4.8.4_2
Revision:384814
adrian search for other commits by this committer
Implement the FreeBSD specific pieces for thread affinity for OpenMP.

Upstream gcc 4.8 doesn't have support for this - it'll create threads,
but it won't do any of the thread affinity stuff for FreeBSD.

This allows for OMP_PROC_BIND=true to bind threads to their initial
CPUs, leading to some pretty drastic improvements in performance
for certain NUMA workloads.

Approved by:	gerald
06 Apr 2015 15:36:44
Original commit files touched by this commit  4.8.4_1
Revision:383445
gerald search for other commits by this committer
Remove unnecesssary UNIQUENAME.
26 Mar 2015 20:43:09
Original commit files touched by this commit  4.8.4_1
Revision:382342
marino search for other commits by this committer
lang/gcc: Use OPTIONS_EXCLUDE_DragonFly to block JAVA

Adjust lang/gcc as was done for gcc46+

Approved by:	DragonFly blanket
23 Mar 2015 18:56:11
Original commit files touched by this commit  4.8.4_1
Revision:382022
bdrewery search for other commits by this committer
Fix UNIQUENAME not being unique after recent PORTNAME shuffle.

This was causing the gcc packages to be generated with a
/usr/local/libdata/ldconfig/gcc file. All were conflicting. Bump
PORTREVISION to fix packages built during this time.

With hat:	portmgr
Reported by:	sunpoet
22 Mar 2015 01:44:20
Original commit files touched by this commit  4.8.4
Revision:381885
gerald search for other commits by this committer
Add CPE information.

PR:		198249
Submitted by:	shun.fbsd.pr@dropcut.net
12 Jan 2015 04:16:24
Original commit files touched by this commit  4.8.4
Revision:376814
gerald search for other commits by this committer
Tweak a comment and fix whitespace in the new ARM support.
04 Jan 2015 19:09:33
Original commit files touched by this commit  4.8.4
Revision:376266
andreast search for other commits by this committer
Add support for armv6*-*-freebsd*.
The larger part of the patch is a backport from gcc trunk which is sent
upstream for approval.

Thanks to Sean Bruno for testing, Andrew Turner for explaining me fine details
and Gerald for approving.

Approved by:	gerald (maintainer)
04 Jan 2015 08:38:23
Original commit files touched by this commit  4.8.4
Revision:376180
gerald search for other commits by this committer
Update from the GCC 4.8.3 release to the GCC 4.8.4 release.

This fixes (at least) 87 bugs reported, cf.
https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.8.4
for the full list.  No new features.
30 Dec 2014 19:19:44
Original commit files touched by this commit  4.8.3_2
Revision:375846
dim search for other commits by this committer
When building the gcc ports using a full bootstrap, tell the configure
script to assume the BUILD_CONFIG is set to bootstrap-debug, instead of
letting it auto-detect.

With clang 3.5.0 this auto-detection can fail, due to a discrepancy [1]
[2] in its debug information, when objects are produced with and without
-g.  When the auto-detection fails, gcc will compare objects with full
debug information during the stage comparisons, and this sometimes
causes those stage comparisons to fail unexpectedly.

[1]
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20141222/250134.html
[2] http://llvm.org/PR22046

Approved by:	gerald (maintainer)
20 Oct 2014 22:53:59
Original commit files touched by this commit  4.8.3_2
Revision:371305
gerald search for other commits by this committer
Remove all traces of @dirrm, both in pkg-plist directly and those that
are added dynamically via the Makefile.
06 Oct 2014 18:13:16
Original commit files touched by this commit  4.8.3_2
Revision:370199
bapt search for other commits by this committer
Comment out info/dir files
indexinfo is taking care of generating it at package installation time

Reported by:	peter
11 Sep 2014 14:39:39
Original commit files touched by this commit  4.8.3_1
Revision:367942
tijl search for other commits by this committer
Add USES=libtool
10 Sep 2014 19:09:58
Original commit files touched by this commit  4.8.3
Revision:367883
gerald search for other commits by this committer
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

This entails updating the lang/gcc port as well as changing the default
in Mk/bsd.default-versions.mk, and it replaces the CONFLICT between the
lang/gcc and lang/gcc47 ports by lang/gcc48.

GCC now uses C++ as its implementation language and performs more
aggressive loop analysis which can be disabled via the
-fno-aggressive-loop-optimizations command-line option.

Compilation of extremely large functions has been signficantly improved,
as have interprocedural optimizations.

A new optimization level -Og has been introduced.  It addresses the need
(Only the first 15 lines of the commit message are shown above View all of this commit message)
19 Jul 2014 12:47:42
Original commit files touched by this commit  4.7.4
Revision:362259
gerald search for other commits by this committer
Update to GCC 4.7.4, the latest (and final) release in the GCC 4.7
series that closes this branch.

Extend full-regression-test by running contrib/test_summary.

Also clean *.la files in LIBEXEC, and recursively so, there and for
TARGLIB.
25 Jun 2014 08:58:09
Original commit files touched by this commit  4.7.3_1
Revision:359209
bapt search for other commits by this committer
Fix build on system built WITHOUT_INFO

With hat:	portmgr
25 Jun 2014 05:35:32
Original commit files touched by this commit  4.7.3_1
Revision:359185
bapt search for other commits by this committer
Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
05 May 2014 09:45:37
Original commit files touched by this commit  4.7.3_1
Revision:352986
bapt search for other commits by this committer
Convert all :U to :tu and :L to :tl

Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
29 Apr 2014 23:53:07
Original commit files touched by this commit  4.7.3_1
Revision:352664
gerald search for other commits by this committer
Merge updates from lang/gcc47 (and similarly lang/gcc48):

 - Add pkg-message that references the need to use -Wl,-rpath=... . [1]

 - Replace USE_BZIP2 by USES=tar:bzip2.

 - No longer install rebuild-gcj-db47 (which requires bash among others)
   and its man page.

Bump PORTREVISION.

PR:		185902 [1]
10 Mar 2014 20:41:10
Original commit files touched by this commit  4.7.3
Revision:347808
gerald search for other commits by this committer
Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

This adds powerpc64 as a supported architecture (and removes ia64,
though it can be supported by manually installing lang/gcc48).

New binaries %%GNU_HOST%%-gcc-ar47, %%GNU_HOST%%-gcc-nm47, and
%%GNU_HOST%%-gcc-ranlib47 are provided to support link-time
optimization (LTO) which scales significantly better.

And it adds support for indirect functions (IFUNCS), experimental
support for transactional memory in the compiler as well as a supporting
run-time library called libitm, a new string length optimization pass,
and support for atomic operations specifying the C++11/C11 memory model.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
22 Feb 2014 12:27:21
Original commit files touched by this commit  4.6.4
Revision:345628
gerald search for other commits by this committer
Set the license to a combination of GPLv3 (for the compiler itself) and
GPLv3 with GCC Runtime Library Exception (for the runtime).
17 Feb 2014 14:43:10
Original commit files touched by this commit  4.6.4
Revision:344760
gerald search for other commits by this committer
Remove the man7 pages, which we are not packaging, from the staging
area to silence some warnings some are concerned about. [1]

No longer run ccache-update-links as part of post-install which, in
the world of staging, no longer is what it used to be.  Rely on the
existing @exec and @unexec in pkg-plist instead. [2]

Submitted by:	miwi [1]
Discussed with:	antoine [1][2]
15 Feb 2014 19:18:02
Original commit files touched by this commit  4.6.4
Revision:344478
gerald search for other commits by this committer
No longer add -I${LOCALBASE}/include to CFLAGS.

Since we now configure with --with-gmp=${LOCALBASE} this is no longer
necessary, and due to bugs in binutils (which should not install ansidecl.h
into ${PREFIX}/include, fixed with revision 336642 [1]) and GCC (which
should search its own include directories with higher priority) could
lead to build failures.

PR:		184327 [1]
21 Jan 2014 23:40:23
Original commit files touched by this commit  4.6.4
Revision:340674
bapt search for other commits by this committer
Fix properties on pkg-plist
07 Dec 2013 10:05:49
Original commit files touched by this commit  4.6.4
Revision:335820
gerald search for other commits by this committer
Revert revision 334627 from 2013-11-23 that worked around a problem with
the staging infrastructure and had us remove info/gcc46 ourselves. [1]

This has now been addressed in the general infrastructure and actually
causes warnings in some cases. [2]

PR:		184178 [1]
Reported by:	amdmi3 [2]
26 Nov 2013 14:13:16
Original commit files touched by this commit  4.6.4
Revision:334934
gerald search for other commits by this committer
Change PORTNAME for lang/gcc46 from gcc to gcc46 to match the actual
name of this port and avoid a package name collision with other GCC
ports.  This also allows us to remove LATEST_LINK.

And it finally allows for a simple and proper CONFLICTS between
lang/gcc and lang/gcc46.
23 Nov 2013 00:24:00
Original commit files touched by this commit  4.6.4
Revision:334627
gerald search for other commits by this committer
Work around ports infrastructure breakage introduced with staging and
remove info/gcc46 ourselves.

Reported by:	QAT, amdmi3, mandree, bf, dbn
PR:		184178
02 Nov 2013 23:20:14
Original commit files touched by this commit  4.6.4
Revision:332557
gerald search for other commits by this committer
Update to GCC 4.6.4 which, among others, addresses document building
with new versions of texinfo. [1]

Adopt the new LIB_DEPENDS standard and replace USE_GMAKE by USES=gmake.

Remove an obsolete dependency on bison. [2]

STAGEify.

PR:		183342 [1]
Reported by:	Christoph Moench-Tegeder <cmt@burggraben.net> [1], marino [2]
26 Oct 2013 00:52:36
Original commit files touched by this commit  4.6.3_1
Revision:331644
gerald search for other commits by this committer
Update to libmpc version 1.0.1 which brings the following fixes:

 - Switched to automake 1.11.6, see CVE-2012-3386.
 - #14669: Fixed extraction of CC from gmp.h.
 - Fixed case of intermediate zero real or imaginary part in mpc_fma,
   found by hydra with GMP_CHECK_RANDOMIZE=1346362345.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . mpc_mul_2exp to mpc_mul_2ui
   . mpc_div_2exp to mpc_div_2ui
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20 Sep 2013 19:53:10
Original commit files touched by this commit  4.6.3
Revision:327741
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
lang)
20 Sep 2013 12:54:55
Original commit files touched by this commit  4.6.3
Revision:327697
bdrewery search for other commits by this committer
SSP support has been added to ports with WITH_SSP for i386 and amd64
on FreeBSD 10, and amd64 on earlier versions.

SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.

On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].

On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
(Only the first 15 lines of the commit message are shown above View all of this commit message)
17 Sep 2013 06:51:04
Original commit files touched by this commit  4.6.3
Revision:327454
bapt search for other commits by this committer
Convert to new perl framework
Convert from USE_GMAKE to USES=gmake
12 Sep 2013 10:20:45
Original commit files touched by this commit  4.6.3
Revision:327052
marino search for other commits by this committer
lang/gcc*: define CONFIGURE_TARGET genericly (8 ports)

Instead of hardcoding the compiler target as FreeBSD, use the OPSYS
variable to it.  This makes no practical difference for FreeBSD, but
it helps DragonFly get properly configured.

Approved by:	gerald
05 Sep 2013 22:26:42
Original commit files touched by this commit  4.6.3
Revision:326453
gerald search for other commits by this committer
Work around a bug in libcpp that pulls in the optional system iconv
if present instead of relying on the port we actually depend on.

The issue is that /usr/include/iconv.h has #include <stdbool.h> which
in turn, since both are included very late in the game, conflicts with
similar definintions by libcpp itself.

libstdc++ does not seem to require adjustments, so PR 161417 may not
be relevant in full.

PR:		161417
04 Sep 2013 20:01:06
Original commit files touched by this commit  4.6.3
Revision:326316
bsam search for other commits by this committer
Introduce ICONV_CONFIGURE_ARG variable defined at Uses/iconv.mk.
It's value is "--with-libiconv-prefix=/usr/local" for systems
before 100043 with ports libiconv and to use at systems post
100043 with base iconv it's value is "" (NULL).

Co-authors:	bapt, madpilot and bsam (me)
25 Aug 2013 12:30:09
Original commit files touched by this commit  4.6.3
Revision:325341
gerald search for other commits by this committer
Replace VERSIONSTRING by DISTVERSION.

Replace USE_GMAKE by USES=gmake.
14 Aug 2013 22:35:54
Original commit files touched by this commit  4.6.3
Revision:324744  Sanity Test Failure
ak search for other commits by this committer
- Remove MAKE_JOBS_SAFE variable

Approved by:	portmgr (bdrewery)
16 Jun 2013 14:13:25
Original commit files touched by this commit  4.6.3
Revision:321051
gerald search for other commits by this committer
Introduce a new option BOOTSTRAP that allows for doing a full
bootstrap of GCC, as opposed to just running a simple build.
Bootstrapping is actually the default upstream, we disable it
by default for the stable flavors of GCC since that is a huge
win in terms of build time of the port.  No change in default
behavior for this port.

(When bootstrapping, use bootstrap-lean instead of default/vanilla
bootstrap to save on disk space.)

Remove redundant setting of DISTNAME.
27 Apr 2013 11:59:29
Original commit files touched by this commit  4.6.3
Revision:316662
mva search for other commits by this committer
- Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
08 Mar 2013 11:32:12
Original commit files touched by this commit  4.6.3
Revision:313635
bapt search for other commits by this committer
Convert USE_BISON to USES= bison

It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the
following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
03 Mar 2013 15:22:19
Original commit files touched by this commit  4.6.3
Revision:313359
gerald search for other commits by this committer
Use the new lang/gcc-ecj45 port when building the Java frontend
instead of including a pre-built version of the Eclipse Java Compiler
(ECJ) ourselves. [1]

Replace the use of DISTFILES by DISTNAME, since we are now down to
one in all cases.

Make binutils a build dependency as well (not just a run-time dependency).

PR:		175072 [1]
12 Oct 2012 15:18:02
Original commit files touched by this commit  4.6.3
Revision:305783
gerald search for other commits by this committer
For releases, libquadmath.info is always installed, even on
architectures where the library is not supported. [1]

Revamp the handling of different languages (frontends, run-times)
by GCC to allow for orthogonal setting them in the future. [2]

Print the list of languages being built as part of pre-everything
and shorten the output of operating system and version there.

Reported by:	linimon [1]
Inspired by:	jkim [2]
Feature safe:	yes
01 Sep 2012 20:46:58
Original commit files touched by this commit  4.6.3
Revision:303522
gerald search for other commits by this committer
Convert to the new options framework.

Remove now deprecated comments at the top of Makefile.
05 Aug 2012 01:56:59
Original commit files touched by this commit  4.6.3
gerald search for other commits by this committer
Just build, do not bootstrap, this stable, default version of GCC
in our ports tree.  This speeds up a full port/package test cycle
by 31% on a 4-core system; a simple build/install will benefit even
more.

(This may impact compile time by this compiler a bit, depending on
how well the system compiler optimizes this codebase.  And we only
should do this for stable, established versions of GCC.)

Remove ABI version numbers for all library dependencies.
10 Mar 2012 22:48:35
Original commit files touched by this commit  4.6.3
gerald search for other commits by this committer
Update to the release of GCC 4.6.3.  This now supports FreeBSD 10
and later out of the box, no more extra patches necessary.

Feature safe:   yes
20 Dec 2011 12:34:20
Original commit files touched by this commit  4.6.2_1
gerald search for other commits by this committer
Fix the build on FreeBSD 10 and later.

Tested by:      avg, kargl
13 Dec 2011 10:53:44
Original commit files touched by this commit  4.6.2_1
gerald search for other commits by this committer
Enable the Objective-C front end and accordingly also the run-time.

Feature safe:   yes
12 Nov 2011 13:39:15
Original commit files touched by this commit  4.6.2
gerald search for other commits by this committer
Update to the GCC 4.6.2 release with a fair amount of bug fixes all
across the board, cf.
http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.6.
for details.

Feature safe:   yes
27 Sep 2011 21:26:13
Original commit files touched by this commit  4.6.1
gerald search for other commits by this committer
Omit LATEST_LINK to disambiguate this port from the original lang/gcc46.

Discussed with: erwin
26 Sep 2011 00:54:38
Original commit files touched by this commit  4.6.1
gerald search for other commits by this committer
Welcome the new lang/gcc port!  This shall track our preferred version
of GCC (usually an upstream release).  It starts out as GCC 4.6.1 and
is thus in conflict with lang/gcc46 and will move towards later minor
versions of GCC 4.6 and then on to GCC 4.7.

lang/gcc will provide gcc46, g++46, gfortran46 etc. exactly like
lang/gcc46 with which it is interchangible.

This is also planned to be in sync with our existing USE_FORTRAN knob
so that users have the option of using this port, rarely updated, or
the corresponding lang/gcc46 which follows weekly upstream snapshots.

On the way rename %%GCC_VER%% in pkg-plist to %%GCC_VERSION%% and
make the Makefile machinery a bit more generic to minimize differences
between lang/gcc ports based on releases and those based on snapshots.

PR:             156857
25 Sep 2011 21:59:27
Original commit files touched by this commit  4.6.2.20110916
gerald search for other commits by this committer
Forced commit to document the repocopy of lang/gcc46 to lang/gcc.

Number of commits found: 90

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
opensslNov 02
openssl-develNov 02
wordpressNov 01
php56Oct 30
php70Oct 30
php71Oct 30
wiresharkOct 30
chromiumOct 28
wgetOct 27
wgetOct 27
openoffice-4*Oct 26
openoffice-devel*Oct 26
gitlabOct 25
nodeOct 25
node4Oct 25

No vulnerabilities have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 31876
Broken 126
Deprecated 55
Ignore 364
Forbidden 0
Restricted 175
No CDROM 78
Vulnerable 50
Expired 11
Set to expire 47
Interactive 0
new 24 hours 3
new 48 hours11
new 7 days3210
new fortnight3397
new month3446

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