Commit graph

130 commits

Author SHA1 Message Date
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
Gerald Pfeifer
9a2267fc14 Update to the 20180125 snapshot of GCC 8.2.1. 2019-01-30 09:03:01 +00:00
Gerald Pfeifer
f240810683 Update to the 20180118 snapshot of GCC 8.2.1.
Forward port r490785 | gerald | 2019-01-20 from lang/gcc8: [1]

  Update files/patch-spe-config (and with that our local adjustments to
  config.gcc) to the changed directory structure under gcc/config brought
  by GCC 8 when powerpcspe was cloned and broken out from the regular
  powerpc port.

PR:		234419 [1]
Submitted by:	jhibbits [1]
MFH:		2019Q1 (build fix on powerpcspe) [1]
2019-01-24 16:53:37 +00:00
Gerald Pfeifer
560a335ec7 Update to the 20180111 snapshot of GCC 8.2.1. 2019-01-16 01:08:38 +00:00
Gerald Pfeifer
d9f155bd7e Update to the 20180104 snapshot of GCC 8.2.1.
Forward port r469788 from lang/gcc6 = backport r475105 from lang/gcc8:

  Filter the -mretpoline command-line option, which is understood by
  recent versions of clang (and used in the context of the Spectre
  security issues), but not GCC (which uses different options for the
  same) from CFLAGS and CXXFLAGS.

  This avoids the build of this port via bootstrap, which is the default
  and leverages both the system compiler (clang in most cases) plus a just
  built version GCC, to fail due to the latter not knowing -mretpoline.

PR:		228205
Submitted by:	rozhuk.im@gmail.com
2019-01-11 19:26:42 +00:00
Gerald Pfeifer
56f91ff48e Update to the 20181228 snapshot of GCC 8.2.1. 2018-12-29 21:45:51 +00:00
Andreas Tobler
3ef2bed0e9 Install 32-bit libraries for powerpc64 if built.
Approved by:	gerald@
2018-12-29 15:41:15 +00:00
Gerald Pfeifer
44e61e9c60 Update to the 20181221 snapshot of GCC 8.2.1. 2018-12-24 02:28:56 +00:00
Gerald Pfeifer
e4c3dd2dc1 Update to the 20181214 snapshot of GCC 8.2.1. 2018-12-15 16:56:25 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 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, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Gerald Pfeifer
5062a28ab2 Update to the 20181207 snapshot of GCC 8.2.1. 2018-12-09 15:53:33 +00:00
Gerald Pfeifer
db82ea3cd9 Update to the 20181130 snapshot of GCC 8.2.1. 2018-12-02 10:52:37 +00:00
Gerald Pfeifer
9e6f63e20f Update to the 20181123 snapshot of GCC 8.2.1.
Move items belonging into the USES block earlier in the Makefile,
and into a separate block. [1]

Reported by:	portlint [1]
2018-11-28 04:17:56 +00:00
Gerald Pfeifer
fcef8933e4 Update to the 20181116 snapshot of GCC 8.2.1. 2018-11-18 04:25:17 +00:00
Gerald Pfeifer
56fbd23758 Update to the 20181109 snapshot of GCC 8.2.1. 2018-11-12 14:34:26 +00:00
Baptiste Daroussin
7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00
Gerald Pfeifer
b577894eaf Update to the 20181102 snapshot of GCC 8.2.1.
Remove an empty line to have a conditional dependency of dejagnu for
the testsuite directly in the dependency block.
2018-11-03 16:42:52 +00:00
Gerald Pfeifer
a41bba2a3a Update to the 20181026 snapshot of GCC 8.2.1. 2018-10-28 20:29:36 +00:00
Gerald Pfeifer
7a72178a39 Update to the 20181019 snapshot of GCC 8.2.1. 2018-10-20 11:00:20 +00:00