Commit graph

134 commits

Author SHA1 Message Date
Gerald Pfeifer
6b35973335 Update to the 20171003 snapshot of GCC 5.4.1.
Sort two conditions with serveral references to ${ARCH} alphabetically.
2017-10-04 20:37:34 +00:00
Gerald Pfeifer
b476ac99fb Update to the 20170926 snapshot of GCC 5.4.1.
The patches to gcc/auto-profile.c and gcc/graphite-isl-ast-to-gimple.c
that were part of files/patch-libc++ have now been backported upstream
into this snapshot (in similar form) and thus can (and need to) be
removed.
2017-09-27 21:07:48 +00:00
Gerald Pfeifer
432d9fe60d Graphite loop optimizations are an experimental feature of GCC, disabled
by default (and guarded by the GRAPHITE option).

Now that we have both GCC 6 and GCC 7 in the tree and GCC 5 is going end
of live upstream soon, remove Graphite support from the GCC 5-related
ports.  Anyone using Graphite is better served by the newer versions of
GCC.
2017-09-23 21:14:18 +00:00
Gerald Pfeifer
30aa6bcba3 Update to the 20170919 snapshot of GCC 5.4.1.
Like with lang/gcc5, now that the default version of GCC in the tree is
GCC 6, remove Java support (incl. the JAVA option) from this port after
we disabled this by default with r442910 three months ago already.
2017-09-22 05:47:29 +00:00
Gerald Pfeifer
5618017431 Update to the 20170912 snapshot of GCC 5.4.1.
Don't quote constant strings compared with ${ARCH}. [1]

Submitted by:	linimon [1]
2017-09-15 11:06:07 +00:00
Gerald Pfeifer
88e3c85e4a Update to the 20170905 snapshot of GCC 5.4.1. 2017-09-09 07:03:24 +00:00
Gerald Pfeifer
f250c60585 Update to the 20170829 snapshot of GCC 5.4.1. 2017-09-02 12:19:06 +00:00
Gerald Pfeifer
26d36b6ce4 Update to the 20170822 snapshot of GCC 5.4.1.
Move ONLY_FOR_ARCHS up in Makefile per recommendation by portlint.
2017-08-23 21:51:39 +00:00
Gerald Pfeifer
ea035ac1e5 Update to the 20170815 snapshot of GCC 5.4.1. 2017-08-16 22:20:08 +00:00
Gerald Pfeifer
f3ae280999 Update to the 20170808 snapshot of GCC 5.4.1. 2017-08-09 18:24:11 +00:00
Gerald Pfeifer
4161d4a07f Update to the 20170801 snapshot of GCC 5.4.1. 2017-08-06 04:52:30 +00:00
Gerald Pfeifer
ed119e0f02 Update to the 20170725 snapshot of GCC 5.4.1. 2017-07-26 07:15:26 +00:00
Gerald Pfeifer
1fdaf72045 Update to the 20170718 snapshot of GCC 5.4.1, as we are nearing end-of-life
of this GCC branch.
2017-07-19 22:05:32 +00:00
Gerald Pfeifer
17a151fb47 Update to the 20170711 snapshot of GCC 5.4.1. 2017-07-12 04:45:08 +00:00
Gerald Pfeifer
a7083e099a Update to the 20170704 snapshot of GCC 5.4.1. 2017-07-08 07:00:35 +00:00
Gerald Pfeifer
99e0e5fc1a Update to the 20170627 snapshot of GCC 5.4.1.
Adjust JAVA_USES to require python (also at run time), not just
python:build.

And, most importantly, remove headers being created by GCC's
fixincludes machinery from the installation / packaging to avoid
breakage when FreeBSD's headers are changing afterwards.  Several
fellow committers have strongly indicated that our headers do not
need the kind of fixing (or "fixing") that GCC performs.
2017-06-28 10:34:02 +00:00
Gerald Pfeifer
0e82af05ae Update to the 20170613 snapshot of GCC 5.4.1.
When we set STAGE1_CXXFLAGS / CXXFLAGS in MAKE_FLAGS for arm platforms,
do so incrementally (with += instead of =). [1]

Discussed with:	andreast [1]
2017-06-14 22:21:22 +00:00
Gerald Pfeifer
66160cb84e Update to the 20170606 snapshot of GCC 5.4.1.
No longer default to building GCJ/libgcj on any platform, that is,
option JAVA no longer is the default anywhere.  lang/gcc5 retains
this for the time beingand until the default version of GCC has
switched to GCC 6, at which point lang/gcc6 (and lang/gcc6-devel)
shall remain be the last port providing that.

Adjust WWW reference in pkg-descr to https and avoid a trailing slash.
2017-06-08 09:37:38 +00:00
Gerald Pfeifer
0be05243cc Update to the 20170530 snapshot of GCC 5.4.1. 2017-06-01 14:49:03 +00:00
Gerald Pfeifer
df84a690e2 Remove CONFLICT with lang/gcc (which now pulls in lang/gcc5 by default).
Instead add mutual CONFLICTS between lang/gcc5 and lang/gcc5-devel which
we actually missed.
2017-05-28 09:31:40 +00:00
Gerald Pfeifer
d9aac7f2fb Update to the 20170523 snapshot of GCC 5.4.1. This is now compressed
using xz instead of bzip2.
2017-05-24 20:29:04 +00:00
Gerald Pfeifer
dc96304cd6 Update to the 20170516 snapshot of GCC 5.4.1. 2017-05-20 17:26:32 +00:00
Gerald Pfeifer
3a0846a281 Update to the 20170509 snapshot of GCC 5.4.1. 2017-05-14 12:34:23 +00:00
Gerald Pfeifer
c9b075b714 Update to the 20170502 snapshot of GCC 5.4.1. 2017-05-03 20:53:47 +00:00
Gerald Pfeifer
96c67b4b72 Update to the 20170425 snapshot of GCC 5.4.1. 2017-04-27 18:43:25 +00:00
Gerald Pfeifer
834d0971d0 Update to the 20170418 snapshot of GCC 5.4.1.
Properly sort PKGNAMESUFFIX and DISTNAME.

Remove info/gcc%%SUFFIX%%/dir from pkg-plist after it has been
commented out for 30 months.
2017-04-23 09:55:22 +00:00
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