Commit graph

148 commits

Author SHA1 Message Date
Gerald Pfeifer
bf66a4317e Update to the 20200103 snapshot of GCC 8.3.1 which brings one fix for
the Fortran front end (and some for Darwin and PA-RISC).

(The 20191227 snapshot did not bring any changes.)
2020-01-09 10:42:27 +00:00
Gerald Pfeifer
5ef1bfdbb9 Update to the 20191220 snapshot of GCC 8.3.1.
Among others this improves modulo scheduling and adresses a C++ namespace
issue.
2020-01-01 07:40:49 +00:00
Gerald Pfeifer
0cdf36eda0 Update to the 20191206 snapshot of GCC 8.3.1.
This only brings tuning options ares, cortex-a75, and neoverse-n1 for
aarch64.
2019-12-24 04:40:19 +00:00
Gerald Pfeifer
8f5cdd784a Update to the 20191129 snapshot of GCC 8.3.1.
This mostly brings a handful of fixes on the Fortran side.
2019-12-03 08:30:46 +00:00
Gerald Pfeifer
e30028fc11 Update to the 20191122 snapshot of GCC 8.3.1.
This brings a large number of backports (triggered by a Linux vendor's
release), including a dozen of fixes for tree optimizers and other middle
end issues, and nearly as many for the C and C++ front ends, plus some
for i386 and powerpc.
2019-11-25 06:07:58 +00:00
Gerald Pfeifer
41973f34a3 Forward port r509607 | gerald | 2019-08-22 from lang/gcc8 since this has
not been addressed upstream yet:

  clang on rs6000/powerpc* unfortunately poisons user namespace by default
  (without any special options or include files being required).

  Until that changes (or GCC changes) we need to avoid using vec_step as a
  variable name.

PR:		239266
2019-11-22 00:54:35 +00:00
Gerald Pfeifer
2bfae19479 Update to the 20191115 snapshot of GCC 8.3.1.
This brings a fix on the Fortran side and addresses two corner cases
for i386.

On versions of FreeBSD that that are new enough and made that switch
already, use ELFv2 ABI on powerpc64. [1]

PR:		239813 [1]
Submitted by:	pkubaj [1]
Reported by:	linimon [1]
2019-11-18 04:53:27 +00:00
Gerald Pfeifer
3f3699abe2 Update to the 20191108 snapshot of GCC 8.3.1.
Backports of a change or two re rs6000 (aka powerpc) and the register
allocator in addition to ones related to PA and SPARC (which we do not
support here).
2019-11-09 20:48:26 +00:00
Gerald Pfeifer
9ba6542d0e Update to the 20191101 snapshot of GCC 8.3.1.
This addresses a Fortran bug, two for rs6000 aka powerpc, and loads and
loads of Darwin-specific changes which should not be relevant for us.
2019-11-02 22:13:56 +00:00
Gerald Pfeifer
2b4c13d540 Update to the 20191025 snapshot of GCC 8.3.1.
Fixes for Arm, debug information (DWARF2), and some for tree optimizers,
C++ and libstdc++.
2019-10-26 12:12:42 +00:00
Gerald Pfeifer
dae61c344e Update to the 20191018 snapshot of GCC 8.3.1.
This brings a fix for register allocation and some changes for powerpc.
2019-10-20 06:10:30 +00:00
Gerald Pfeifer
ea807357d1 Update to the 20191011 snapshot of GCC 8.3.1.
This brings one backport on the Fortran side and one for powerpc
(in addition to alpha and SH changes).
2019-10-13 07:00:17 +00:00
Gerald Pfeifer
c299343c2a Update to the 20191004 snapshot of GCC 8.3.1.
This brings one fix for Fortran and one for Aarch64 (plus several for
SH which is not relevant for us).
2019-10-07 04:42:39 +00:00
Gerald Pfeifer
ec6c74228f Update to the 201900927 snapshot of GCC 8.3.1.
This brings minor changes in a few areas, for us one around Arm may be
relevant.
2019-09-29 14:44:18 +00:00
Gerald Pfeifer
af93b958b8 Update to the 201900920 snapshot of GCC 8.3.1.
This brings few fixes on the Fortran side and a register allocation fix
(which may not affect our architectures, though).
2019-09-21 22:44:26 +00:00
Gerald Pfeifer
47d5104eb4 Update to the 201900913 snapshot of GCC 8.3.1.
Just two bug fixes this time, one for the middle end, and one around AVX.
2019-09-15 03:54:12 +00:00
Gerald Pfeifer
0612fcdcd1 Update to the 201900906 snapshot of GCC 8.3.1.
Loads and loads of backports of testcases and some some pre-compiled
header fixes, plus a few others.
2019-09-08 03:43:12 +00:00
Gerald Pfeifer
953674256f Update to the 20190830 snapshot of GCC 8.3.1.
This brings loads of backports of tree optimization bug fixes,
improvements for rs6000 (aka powerpc), some for libstdc++, and
assorted others.
2019-09-04 10:47:54 +00:00
Gerald Pfeifer
9bd8a77cfe Update to the 20190823 snapshot of GCC 8.3.1.
The only change relevant for FreeBSD is one bug fix in the RTL optimizer.
2019-08-28 05:32:22 +00:00
Gerald Pfeifer
7cb94a169e Update to the 20190816 snapshot of GCC 8.3.1.
This brings some fixes for Fortran, C++, and rs6000 (aka powerpc*).
2019-08-19 06:27:29 +00:00
Gerald Pfeifer
3009621942 Update to the 20190809 snapshot of GCC 8.3.1.
This brings minor fixes for rs6000 (aka powerpc*) and riscv.
2019-08-16 05:59:26 +00:00
Gerald Pfeifer
0933a83d0a Update to the 20180802 snapshot of GCC 8.3.1.
This brings two fixes for Fortran and one for C++.
2019-08-05 09:19:40 +00:00
Gerald Pfeifer
5b3a2f85e3 Update to the 20180726 snapshot of GCC 8.3.1.
This brings a couple of minor bug fixes across the board.
2019-07-29 06:38:30 +00:00
Tobias Kortkamp
e73279ea10 lang/gcc*: Hide pkg-message during upgrades
PR:		239419
Approved by:	gerald (maintainer)
2019-07-24 21:30:44 +00:00
Gerald Pfeifer
2ca93a243f Update to the 20180719 snapshot of GCC 8.3.1.
This fixes a bug around tail call optimization breaking noexcept and
a few Arm-specific code generation issues.
2019-07-23 04:09:01 +00:00
Gerald Pfeifer
fc20284628 Update to the 20180712 snapshot of GCC 8.3.1.
This brings bugfixes in the Fortran frontend and optimization.
2019-07-17 03:29:33 +00:00
Gerald Pfeifer
ce0550b574 Update to the 20180705 snapshot of GCC 8.3.1. 2019-07-07 11:16:25 +00:00
Gerald Pfeifer
5a18b25d14 Update to the 20180628 snapshot of GCC 8.3.1. 2019-06-30 09:59:14 +00:00
Gerald Pfeifer
ffaca7360d Update to the 20180621 snapshot of GCC 8.3.1. 2019-06-22 07:33:34 +00:00
Gerald Pfeifer
e4cdaf2eb7 Update to the 20180614 snapshot of GCC 8.3.1. 2019-06-16 07:33:50 +00:00
Gerald Pfeifer
442f8af9ef Update to the 20180607 snapshot of GCC 8.3.1. 2019-06-09 14:45:46 +00:00
Gerald Pfeifer
5f5d05f85f Update to the 20180531 snapshot of GCC 8.3.1. 2019-06-05 05:09:26 +00:00
Gerald Pfeifer
29fae0c6de Update to the 20180524 snapshot of GCC 8.3.1. 2019-05-27 22:23:21 +00:00
Gerald Pfeifer
c08bf0efff Update to the 20180517 snapshot of GCC 8.3.1.
andreast@ has pushed files/patch-amd64-gcc-multilib-support upstream
into the GCC 8 release branch, so remove this from this port.
2019-05-19 22:25:25 +00:00
Gerald Pfeifer
8460032695 Update to the 20180510 snapshot of GCC 8.3.1. 2019-05-11 06:00:49 +00:00
Gerald Pfeifer
c25267b6da Update to the 20180503 snapshot of GCC 8.3.1.
On the way forward port r499061 | gerald | 2019-04-15 from lang/gcc8 [1]:

  GCC has two runtime libraries:  The static library libgcc.a (-lgcc) and
  the shared library libgcc_s.so (-lgcc_s).  Both implement many of the
  same functions but they also each have their unique functions.  When
  GCC links programs and libraries there are three possibilities:

  1. gcc -static-libgcc or gcc -static: -lgcc
     => Just use libgcc.a.

  2. gcc -shared-libgcc: -lgcc_s -lgcc
     => Link with libgcc_s first, so libgcc.a is only used for its unique
        functions.

  3. gcc: -lgcc -Wl,--as-needed -lgcc_s -Wl,--no-as-needed
     => Link with libgcc.a first so libgcc_s is only used for its unique
        functions (_Unwind_* functions).

  Approach 3 is the default for gcc and it's also what clang and clang++ use;
  approach 2 is the default for gfortran, g++ and probably other front ends.

  This patch makes 3 the default for gfortran.  It significantly reduces
  the use of libgcc_s.  The _Unwind_* functions are also available in the
  old base system libgcc_s which means this reduces the need for
  -rpath /usr/local/lib/gccN in ports that depend on libraries built with
  gfortran.  Consider a dependency tree like this:

    prog -> libA -> libgcc_s (old base system libgcc_s is fine)
         -> libB -> libgcc_s (libB built with gfortran, needs new libgcc_s)

  Here prog needs to be linked with -rpath /usr/local/lib/gccN even if it's
  a normal C program compiled with clang.  Without -rpath it will fail to
  start because it loads old libgcc_s first as a dependency of libA and then
  it fails to load libB.  With this patch libB works with old base system
  libgcc_s or may not need libgcc_s at all, so prog does not need to be
  linked with -rpath.

PR:		208120 [1]
Submitted by:	tijl [1]
2019-05-08 07:13:48 +00:00
Gerald Pfeifer
14e283358f Update to the 20180426 snapshot of GCC 8.3.1. 2019-05-03 05:13:29 +00:00
Gerald Pfeifer
310e7dd5f9 Update to the 20180419 snapshot of GCC 8.3.1. 2019-04-25 15:49:58 +00:00
Gerald Pfeifer
4b1e129f30 Update to the 20180412 snapshot of GCC 8.3.1. 2019-04-22 14:11:28 +00:00
Gerald Pfeifer
919ed7c795 Update to the 20180405 snapshot of GCC 8.3.1. 2019-04-08 05:00:59 +00:00
Gerald Pfeifer
c511f66574 Update to the 20180329 snapshot of GCC 8.3.1. 2019-04-02 16:10:40 +00:00
Gerald Pfeifer
d026d13faf Update to the 20180322 snapshot of GCC 8.3.1. 2019-03-23 11:24:33 +00:00
Andreas Tobler
ddf9ce8434 This commit brings multilib support for gcc on amd64. This means you can
compile and execute 32-bit binaries with gcc.
The gcc part will be upstreamed as soon as gcc trunk opens for new commits.
On the release front, gcc8, we will merge this commit after a week or so.

Approved by:	gerald@
2019-03-19 22:03:17 +00:00
Gerald Pfeifer
73571ab0ca Update to the 20180315 snapshot of GCC 8.3.1. 2019-03-17 11:41:22 +00:00
Gerald Pfeifer
247a452a76 Update to the 20180308 snapshot of GCC 8.3.1.
No longer require a not too old version of GCC to build on powerpc64, but
rely on the system compiler (even if that means we need to be explicitly
conservative when it comes to optimizations). [1]

Sync pkg-descr with lang/gcc7-devel, in particular after r442530 there.

PR:		235975 [1]
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl> [1]
2019-03-09 15:20:29 +00:00
Gerald Pfeifer
ba31110231 Update to the 20180301 snapshot of GCC 8.3.1.
Simplify the creation of the multilib-related sub-directory tree on
powerpc64 and avoid leaving an empty directory behind on the way. [1]

Sync pkg-descr with lang/gcc7-devel, in particular after r442530 there.

PR:		235964, 231804 [1]
Discussed with:	Piotr Kubaj <pkubaj@anongoth.pl> [1]
2019-03-04 03:01:58 +00:00
Gerald Pfeifer
7b61fc85fd Update to the 20180222 snapshot of GCC 8.3.1, the first after the release
of GCC 8.3 (hence the increased version number).
2019-02-25 09:46:43 +00:00
Gerald Pfeifer
9427b654e7 Update to the 20180215 snapshot of GCC 8.2.1. 2019-02-18 06:17:05 +00:00
Gerald Pfeifer
92aee934cf Update to the 20180208 snapshot of GCC 8.2.1. 2019-02-10 06:50:36 +00:00
Gerald Pfeifer
f7153202f4 On powerpcspe configure GCC --with-cpu=8548 instead of --with-cpu=8540,
which caused the build to fail after the update to binutils 2.31 and was
factually incorrect anyways (the oldest we support being 8548). [1]

On the way update to the 20180201 snapshot of GCC 8.2.1.

PR:		235393 [1]
Reported by:	jhibbits [1]
Tested by:	jhibbits [1]
2019-02-03 07:04:20 +00:00