Commit graph

108 commits

Author SHA1 Message Date
Martin Wilke
0af18a4496 - Fix shebang
Approved by:	gerald (maintainer via mail)
2017-04-14 20:50:32 +00:00
Gerald Pfeifer
561831c5d2 Update to the 20170411 snapshot of GCC 5.4.1. 2017-04-14 08:09:36 +00:00
Mathieu Arnold
6d588589c2 Make defining both PORTVERSION and DISTVERSION a DEV_ERROR.
There are two cases:

- The upstream versionning is compatible with our versionning, or using
  DISTVERSION's magic leads to a compatible PORTVERSION, use
  DISTVERSION.  If it is possible to use DISTVERSIONPREFIX and
  DISTVERSIONSUFFIX to make it compatible, use them.
- The upstream versionning is not compatible with our versionning, and
  DISTVERSION's magic does not lead to a correct PORTVERSION, then set
  PORTVERSION to the equivalent of our versionning, and set DISTNAME.
  It is possible to use a third variable where you store upstream's
  version and use it to compute PORTVERSION and/or DISTNAME, like the
  dns/bind9* ports do.

Sponsored by:	Absolight
2017-04-11 15:21:23 +00:00
Gerald Pfeifer
87100719d4 Update to the 20170404 snapshot of GCC 5.4.1.
Sort ONLY_FOR_ARCHS alphabetically.
2017-04-05 19:04:41 +00:00
Gerald Pfeifer
d39ad836d1 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.

In terms of changes for users, this upgrade brings the following:

The default mode for C is now -std=gnu11 instead of -std=gnu89.
New warning options -Wc90-c99-compat and -Wc99-c11-compat may
prove useful on that front.

The C++ front end now has full C++14 language support including
C++14 variable templates, C++14 aggregates with non-static data
member initializers, C++14 extended constexpr, and more.
The Standard C++ Library (libstdc++) has full C++11 support and
experimental full C++14 support.  It uses a new ABI by default.

There have been significant improvements to inter-procedural optimizations
and link-time optimization such as One Definition Rule based merging of C++
types as well as register allocation.

OpenMP 4.0 specification offloading features are now supported by the C,
C++, and Fortran compilers.  Cilk Plus, an extension to the C and C++
languages to support data and task parallelism, has been added as well.

New warning options -Wswitch-bool, -Wlogical-not-parentheses,
-Wbool-compare and -Wsizeof-array-argument may prove useful as
may new preprocessor directives __has_include, __has_include_next,
and __has_attribute.

GCC can now be built as a shared library for embedding in other processes
(such as interpreters), suitable for Just-In-Time compilation to machine
code.  This provides a C API and a C++ wrapper API.

Many code generation improvements for AArch64, ARM, support for
AVX-512{BW,DQ,VL,IFMA,VBMI} and Intel MPX on x86-64, and generally
improvements on many targets.

The Local Register Allocator (LRA) now contains a rematerialization
subpass and is able to reuse the PIC hard register on x86/x86-64 to
improve performance of position independent code.

https://gcc.gnu.org/gcc-5/changes.html has a more extensive set of
changes and https://gcc.gnu.org/gcc-5/porting_to.html has a solid
overview of issue you may encountering porting to this new version.

PR:             216707, 218125
Tested by:      antoine (-exp runs)
Supported by:   jbeich, tcberner, and others
2017-04-01 15:03:21 +00:00
Gerald Pfeifer
c3c2575585 Update to the 20170328 snapshot of GCC 5.4.1.
This adds a man page for gcov-dump5 (introduced recently) and also
one for gcov-tool5 (which we have had for a while).
2017-03-30 11:21:28 +00:00
Gerald Pfeifer
8e33698ab9 Update to the 20170321 snapshot of GCC 5.4.1.
This brings a new little utility program gcov-dump6 to dump code
coverage data (unfortunately without a man page or documentation).
2017-03-25 15:31:44 +00:00
Gerald Pfeifer
88047f586d Update to the 20170314 snapshot of GCC 5.4.1. 2017-03-17 08:28:40 +00:00
Gerald Pfeifer
e56eb669c9 Update to the 20170307 snapshot of GCC 5.4.1. 2017-03-10 21:30:10 +00:00
Gerald Pfeifer
38f8d037a4 Update to the 20170228 snapshot of GCC 5.4.1. 2017-03-01 17:37:01 +00:00
Gerald Pfeifer
e66c4bfc32 Update to the 20170221 snapshot of GCC 5.4.1. 2017-02-24 20:13:53 +00:00
Gerald Pfeifer
7f41bc060e Update to the 20170214 snapshot of GCC 5.4.1. 2017-02-15 19:31:33 +00:00
Gerald Pfeifer
4555ea943a Update to the 20170207 snapshot of GCC 5.4.1.
Remove files/patch-unwind-ia64.h: we have not been supporting ia64
with this release series, i.e., ONLY_FOR_ARCHS does not include ia64.
2017-02-08 07:00:12 +00:00
Gerald Pfeifer
d7be5fe1f7 Copy over files/patch-libc++ from lang/gcc5 to lang/gcc5-devel as well.
PR:		216266
Submitted by:	dim
2017-02-01 20:54:52 +00:00
Gerald Pfeifer
f75cacf738 Update to the 20170131 snapshot of GCC 5.4.1. 2017-02-01 16:28:12 +00:00
Gerald Pfeifer
3618403cd3 Update to the 20170124 snapshot of GCC 5.4.1. 2017-01-25 16:33:44 +00:00
Gerald Pfeifer
74830a752b Update to the 20170117 snapshot of GCC 5.4.1. 2017-01-20 20:35:10 +00:00
Tijl Coosemans
02f27a83b4 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)
2017-01-18 13:20:31 +00:00
Andreas Tobler
77659f3c42 Enable aarch64 build. Obsolete armv6hf builds.
Approved by:	gerald (maintainer)
2017-01-11 21:48:15 +00:00
Gerald Pfeifer
5059d28bfd Update to the 20170110 snapshot of GCC 5.4.1. 2017-01-11 01:37:08 +00:00
Gerald Pfeifer
5018a5f757 Update to the 20170103 snapshot of GCC 5.4.1. 2017-01-04 18:06:30 +00:00
Gerald Pfeifer
2eca2247b1 Update to the 20161227 snapshot of GCC 5.4.1. 2016-12-28 21:10:53 +00:00
Gerald Pfeifer
0c14a7f453 Update to the 20161220 snapshot of GCC 5.4.1. 2016-12-23 14:05:29 +00:00
Gerald Pfeifer
43df70bc8d Update to the 20161213 snapshot of GCC 5.4.1. 2016-12-14 17:20:04 +00:00
Gerald Pfeifer
b03ef706b3 Update to the 20161206 snapshot of GCC 5.4.1. 2016-12-07 12:42:42 +00:00
Gerald Pfeifer
50b38811f4 Update to the 20161129 snapshot of GCC 5.4.1. 2016-12-03 20:07:57 +00:00
Gerald Pfeifer
b59c6c6e32 Update to the 20161122 snapshot of GCC 5.4.1. 2016-11-25 19:24:49 +00:00
Gerald Pfeifer
ebf4d864d4 Update to the 20161115 snapshot of GCC 5.4.1. 2016-11-16 10:26:00 +00:00
Gerald Pfeifer
c5d8015711 Update to the 20161108 snapshot of GCC 5.4.1. 2016-11-11 11:53:56 +00:00
Gerald Pfeifer
9201343d79 Update to the 20161101 snapshot of GCC 5.4.1. 2016-11-03 23:58:33 +00:00
Mathieu Arnold
eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +00:00
Gerald Pfeifer
7215a0a338 Update to the 20161018 snapshot of GCC 5.4.1. 2016-10-20 10:09:47 +00:00
Gerald Pfeifer
bfa3a532c3 Update to the 20161011 snapshot of GCC 5.4.1. 2016-10-14 14:12:44 +00:00
Gerald Pfeifer
55c120eb40 Update to the 20161004 snapshot of GCC 5.4.1. 2016-10-08 07:46:48 +00:00
Gerald Pfeifer
d9473cf9b2 Update to the 20160927 snapshot of GCC 5.4.1. 2016-09-29 19:32:53 +00:00
Gerald Pfeifer
d93e4849bc Update to the 20160920 snapshot of GCC 5.4.1. 2016-09-21 21:23:59 +00:00
Gerald Pfeifer
8614790126 Update to the 20160913 snapshot of GCC 5.4.1. 2016-09-15 10:14:36 +00:00
Gerald Pfeifer
f58e0fd3de Update to the 20160906 snapshot of GCC 5.4.1. 2016-09-07 20:39:42 +00:00
Gerald Pfeifer
ee053af7e5 Update to the 20160830 snapshot of GCC 5.4.1. 2016-08-31 08:15:04 +00:00
Gerald Pfeifer
85f4e584bd Update to the 20160823 snapshot of GCC 5.4.1. 2016-08-24 08:07:47 +00:00
Gerald Pfeifer
50c0c98418 Update to the 20160816 snapshot of GCC 5.4.1.
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. [1]

PR:		210122 [1], 211742 [1]
Submitted by:	jkim [1]
2016-08-17 09:02:53 +00:00
Gerald Pfeifer
0737ae8acc Update to the 20160809 snapshot of GCC 5.4.1. 2016-08-10 09:37:21 +00:00
Gerald Pfeifer
f93fdab363 Update to the 20160802 snapshot of GCC 5.4.1. 2016-08-03 07:18:55 +00:00
Gerald Pfeifer
0c723327e4 Update to the 20160726 snapshot of GCC 5.4.1. 2016-07-31 13:34:09 +00:00
Gerald Pfeifer
8fec22c94c Update to the 20160719 snapshot of GCC 5.4.1. 2016-07-25 08:42:15 +00:00
Gerald Pfeifer
38b6169b83 Update to the 20160712 snapshot of GCC 5.4.1. 2016-07-16 13:52:51 +00:00
Gerald Pfeifer
862888492d Update to the 20160621 snapshot of GCC 5.4.1. 2016-06-27 09:33:01 +00:00
Gerald Pfeifer
9ce1d5ff6d Update to the 20160614 snapshot of GCC 5.4.1.
This also covers following (and hence fixing) armv6hf* -> armv6* on
FreeBSD 11 and later.
2016-06-16 11:46:55 +00:00
Gerald Pfeifer
5f5680f08f Update to the 20160608 snapshot of GCC 5.4.1, that is, this is now based
on the GCC 5.4 release.
2016-06-09 23:12:55 +00:00
Gerald Pfeifer
07d30f486e Update to the 20160524 snapshot of GCC 5.3.1. 2016-05-29 22:46:50 +00:00