Commit graph

34 commits

Author SHA1 Message Date
Gerald Pfeifer
c470b9ec79 Update to the 20171224 snapshot of GCC 8 (after the snapshot the week
before failed to build).
2017-12-27 05:03:43 +00:00
Gerald Pfeifer
2ee94fc150 Update to the 20171210 snapshot of GCC 8.
The issue that triggered my workaround in files/patch-gcc_tree-cfg.c
has been addressed upstream based on my report, so this local patch
can be removed.  (It would conflict anyway.)
2017-12-12 11:28:43 +00:00
Gerald Pfeifer
b9d90c53c5 Update to the 20171203 snapshot of GCC 8.
I pushed files/patch-clang3.4.1-fixes upstream, so remove it here.
2017-12-05 12:37:06 +00:00
Gerald Pfeifer
781b800d3f Update to the 20171126 snapshot of GCC 8.
This requires two temporary patches to allow for building with
clang 3.4.1 (on FreeBSD 10.4) and trimming down an overeager check
that breaks Wine, for example.

Forward port revision 454177 from lang/gcc7: [1]

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.)

Reported by:	Ports QA Framework, miwi, sobomax [1]
Discussed with:	tijl, miwi [1]
Differential Revision:	https://reviews.freebsd.org/D10357 [1]
2017-11-29 18:51:00 +00:00
Gerald Pfeifer
7ec577846e Update to the 20171119 snapshot of GCC 8.
Remove the setting of CXXFLAGS / STAGE1_CXXFLAGS to -fbracket-depth=512
for armv6 which should not be required here (and is not for armv7 and
aarch64 according to tests done by andreast@).

Use .elif instead of distinct .if sequences for architecture-specific
settings, something I plan on rolling out throughout all lang/gcc* ports.
2017-11-19 23:39:05 +00:00
Gerald Pfeifer
8cd16d57a7 Update to the 20171112 snapshot of GCC 8. 2017-11-14 13:54:14 +00:00
Gerald Pfeifer
41824db9a4 Update to the 20171105 snapshot of GCC 8. This addresses a real-world
issue around threading and unwinding that andreast@ has fixed upstream
(cf. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635 ).
2017-11-11 21:53:53 +00:00
Gerald Pfeifer
a2aea5f1bb Update to the 20171029 snapshot of GCC 8. This should fix potential
build failures on some newer versions of FreeBSD.
2017-11-01 10:52:19 +00:00
Gerald Pfeifer
f1b3112c26 Update to the 20171022 snapshot of GCC 8. 2017-10-28 18:40:53 +00:00
Gerald Pfeifer
9c8d7fb302 Update to the 20171008 snapshot of GCC 8.
Enable this on armv7 as well, courtesy of andreast@ pushing support
upstream. [1]

PR:		221905 [1]
2017-10-17 15:51:07 +00:00
Gerald Pfeifer
6bd959b2cc Update to the 20171008 snapshot of GCC 8. 2017-10-11 11:55:44 +00:00
Gerald Pfeifer
92d8b4dcc4 Update to the 20171001 snapshot of GCC 8. 2017-10-02 21:20:17 +00:00
Gerald Pfeifer
cc507d5d5b Update to the 20170924 snapshot of GCC 8. 2017-09-25 21:51:16 +00:00
Gerald Pfeifer
6044bff03d Update to the 20170917 snapshot of GCC 8.
On the way remove quotes around constant strings compared with ${ARCH}. [1]

PR:		221905 [1]
Submitted by:	linimon [1]
2017-09-21 20:24:00 +00:00
Gerald Pfeifer
d855411f6c Update to the 20170910 snapshot of GCC 8 skipping last week's snapshot
which failed to build for us.
2017-09-11 14:55:29 +00:00
Gerald Pfeifer
e59c88cece 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
2017-09-10 20:55:38 +00:00
Gerald Pfeifer
105ed526af Update to the 20170827 snapshot of GCC 8. 2017-09-02 11:08:57 +00:00
Gerald Pfeifer
bd4d84fef5 Update to the 20170820 snapshot of GCC 8.
Move ONLY_FOR_ARCHS according to portlint.
2017-08-21 21:39:36 +00:00
Gerald Pfeifer
10e6271058 Update to the 20170813 snapshot of GCC 8. 2017-08-15 12:40:48 +00:00
Gerald Pfeifer
59f1f6d0e8 Update to the 20170806 snapshot of GCC 8. 2017-08-09 18:23:39 +00:00
Gerald Pfeifer
8a05abe9b3 Update to the 20170730 snapshot of GCC 8. 2017-08-01 11:26:38 +00:00
Gerald Pfeifer
4ea14550a6 Update to the 20170723 snapshot of GCC 8.
Remove workaround for PR 219274 that bapt@ had put in place in 2014
from pkg-plist. [1]

PR:		219274 [1]
2017-07-24 11:53:47 +00:00
Gerald Pfeifer
cc139f43c0 Update to the 20170716 snapshot of GCC 8. 2017-07-19 21:30:04 +00:00
Gerald Pfeifer
dc56313fb7 Update to the 20170709 snapshot of GCC 8. 2017-07-13 07:48:02 +00:00
Gerald Pfeifer
6a54af5f8b Update to the 20170702 snapshot of GCC 8.
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 adjustments that GCC performs.
2017-07-08 01:02:12 +00:00
Gerald Pfeifer
99337cac7f Update to the 20170625 snapshot of GCC 8. 2017-07-07 15:27:45 +00:00
Mark Linimon
b174cda302 Alphabetize ARCH definitions.
No need to bump PORTREVISION because package does not change.

Reviewed by:	gerald
Approved by:	portmgr (tier-2 blanket)
2017-06-26 22:50:12 +00:00
Gerald Pfeifer
c36fabcc4c Update to the 20170611 snapshot of GCC 8. 2017-06-14 21:30:03 +00:00
Gerald Pfeifer
a6c1ebc570 Update to the 20170604 snapshot of GCC 8.
Adjust WWW reference in pkg-descr to https and avoid a trailing slash.
2017-06-05 05:25:38 +00:00
Gerald Pfeifer
a343bb2525 Update to the 20170528 snapshot of GCC 8. Upstream now ships sources
as .tar.xz over .tar.bzip2 for the last few years, so adjust USES.
2017-05-30 00:21:43 +00:00
Gerald Pfeifer
ec3420ee9a Update to the 20170521 snapshot of GCC 8. 2017-05-24 20:28:10 +00:00
Gerald Pfeifer
19b18932ac Update to the 20170507 snapshot of GCC 8. 2017-05-14 13:08:54 +00:00
Gerald Pfeifer
882d2313d4 Update to the 20170430 snapshot of GCC 8. 2017-05-01 09:46:40 +00:00
Gerald Pfeifer
ffe9e27678 Welcome GCC 8! GCC 7 (provided via lang/gcc7-devel) has been branched
for the release and this first GCC 8 snapshot is still very close to that,
whereas the coming months are going to provide a rougher ride through
the development stages of GCC 8.
2017-04-24 18:37:37 +00:00