# HG changeset patch # User erikj # Date 1570801132 25200 # Node ID 67daaa6c8d2b17fa0ae84c6f67ccaf2238c0e7fc # Parent cf3205fdb6dcec35948744b3608e29224539c842 8232133: Change to GCC 8.3 for building on Linux at Oracle Reviewed-by: kbarrett, dholmes, ihse diff -r cf3205fdb6dc -r 67daaa6c8d2b doc/building.html --- a/doc/building.html Fri Oct 11 13:07:21 2019 +0000 +++ b/doc/building.html Fri Oct 11 06:38:52 2019 -0700 @@ -281,7 +281,7 @@ Linux -gcc 8.2.0 +gcc 8.3.0 macOS @@ -300,7 +300,7 @@

All compilers are expected to be able to compile to the C99 language standard, as some C99 features are used in the source code. Microsoft Visual Studio doesn't fully support C99 so in practice shared code is limited to using C99 features that it does support.

gcc

The minimum accepted version of gcc is 4.8. Older versions will generate a warning by configure and are unlikely to work.

-

The JDK is currently known to be able to compile with at least version 7.4 of gcc.

+

The JDK is currently known to be able to compile with at least version 8.3 of gcc.

In general, any version between these two should be usable.

clang

The minimum accepted version of clang is 3.2. Older versions will not be accepted by configure.

diff -r cf3205fdb6dc -r 67daaa6c8d2b doc/building.md --- a/doc/building.md Fri Oct 11 13:07:21 2019 +0000 +++ b/doc/building.md Fri Oct 11 06:38:52 2019 -0700 @@ -323,7 +323,7 @@ Operating system Toolchain version ------------------ ------------------------------------------------------- - Linux gcc 8.2.0 + Linux gcc 8.3.0 macOS Apple Xcode 10.1 (using clang 10.0.0) Solaris Oracle Solaris Studio 12.6 (with compiler version 5.15) Windows Microsoft Visual Studio 2017 update 15.9.6 @@ -338,7 +338,7 @@ The minimum accepted version of gcc is 4.8. Older versions will generate a warning by `configure` and are unlikely to work. -The JDK is currently known to be able to compile with at least version 7.4 of +The JDK is currently known to be able to compile with at least version 8.3 of gcc. In general, any version between these two should be usable. diff -r cf3205fdb6dc -r 67daaa6c8d2b make/conf/jib-profiles.js --- a/make/conf/jib-profiles.js Fri Oct 11 13:07:21 2019 +0000 +++ b/make/conf/jib-profiles.js Fri Oct 11 06:38:52 2019 -0700 @@ -944,7 +944,7 @@ var getJibProfilesDependencies = function (input, common) { var devkit_platform_revisions = { - linux_x64: "gcc8.2.0-OL6.4+1.0", + linux_x64: "gcc8.3.0-OL6.4+1.0", macosx_x64: "Xcode10.1-MacOSX10.14+1.0", solaris_x64: "SS12u4-Solaris11u1+1.0", solaris_sparcv9: "SS12u6-Solaris11u3+1.0", diff -r cf3205fdb6dc -r 67daaa6c8d2b make/devkit/Tools.gmk --- a/make/devkit/Tools.gmk Fri Oct 11 13:07:21 2019 +0000 +++ b/make/devkit/Tools.gmk Fri Oct 11 06:38:52 2019 -0700 @@ -79,20 +79,19 @@ # Define external dependencies # Latest that could be made to work. -GCC_VER := 8.2.0 -ifeq ($(GCC_VER), 8.2.0) - gcc_ver := gcc-8.2.0 - binutils_ver := binutils-2.30 - ccache_ver := ccache-3.5.1a - CCACHE_DIRNAME := ccache-3.5.1 +GCC_VER := 8.3.0 +ifeq ($(GCC_VER), 8.3.0) + gcc_ver := gcc-8.3.0 + binutils_ver := binutils-2.32 + ccache_ver := 3.7.3 mpfr_ver := mpfr-3.1.5 gmp_ver := gmp-6.1.2 mpc_ver := mpc-1.0.3 - gdb_ver := gdb-8.2.1 + gdb_ver := gdb-8.3 else ifeq ($(GCC_VER), 7.3.0) gcc_ver := gcc-7.3.0 binutils_ver := binutils-2.30 - ccache_ver := ccache-3.3.6 + ccache_ver := 3.3.6 mpfr_ver := mpfr-3.1.5 gmp_ver := gmp-6.1.2 mpc_ver := mpc-1.0.3 @@ -100,7 +99,7 @@ else ifeq ($(GCC_VER), 4.9.2) gcc_ver := gcc-4.9.2 binutils_ver := binutils-2.25 - ccache_ver := ccache-3.2.1 + ccache_ver := 3.2.1 mpfr_ver := mpfr-3.0.1 gmp_ver := gmp-4.3.2 mpc_ver := mpc-1.0.1 @@ -111,7 +110,7 @@ GCC := http://ftp.gnu.org/pub/gnu/gcc/$(gcc_ver)/$(gcc_ver).tar.xz BINUTILS := http://ftp.gnu.org/pub/gnu/binutils/$(binutils_ver).tar.xz -CCACHE := https://samba.org/ftp/ccache/$(ccache_ver).tar.xz +CCACHE := https://github.com/ccache/ccache/releases/download/v$(ccache_ver)/ccache-$(ccache_ver).tar.xz MPFR := https://www.mpfr.org/${mpfr_ver}/${mpfr_ver}.tar.bz2 GMP := http://ftp.gnu.org/pub/gnu/gmp/${gmp_ver}.tar.bz2 MPC := http://ftp.gnu.org/pub/gnu/mpc/${mpc_ver}.tar.gz