Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.
/ lanai Public archive

Commit fee15ca

Browse files
committedMar 27, 2020
8241721: Change to GCC 9.2 for building on Linux at Oracle
Reviewed-by: erikj
1 parent ccc6996 commit fee15ca

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed
 

‎doc/building.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ <h2 id="native-compiler-toolchain-requirements">Native Compiler (Toolchain) Requ
283283
<tbody>
284284
<tr class="odd">
285285
<td style="text-align: left;">Linux</td>
286-
<td style="text-align: left;">gcc 8.3.0</td>
286+
<td style="text-align: left;">gcc 9.2.0</td>
287287
</tr>
288288
<tr class="even">
289289
<td style="text-align: left;">macOS</td>
@@ -302,7 +302,7 @@ <h2 id="native-compiler-toolchain-requirements">Native Compiler (Toolchain) Requ
302302
<p>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.</p>
303303
<h3 id="gcc">gcc</h3>
304304
<p>The minimum accepted version of gcc is 5.0. Older versions will generate a warning by <code>configure</code> and are unlikely to work.</p>
305-
<p>The JDK is currently known to be able to compile with at least version 8.3 of gcc.</p>
305+
<p>The JDK is currently known to be able to compile with at least version 9.2 of gcc.</p>
306306
<p>In general, any version between these two should be usable.</p>
307307
<h3 id="clang">clang</h3>
308308
<p>The minimum accepted version of clang is 3.2. Older versions will not be accepted by <code>configure</code>.</p>

‎doc/building.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ issues.
327327

328328
Operating system Toolchain version
329329
------------------ -------------------------------------------------------
330-
Linux gcc 8.3.0
330+
Linux gcc 9.2.0
331331
macOS Apple Xcode 10.1 (using clang 10.0.0)
332332
Solaris Oracle Solaris Studio 12.6 (with compiler version 5.15)
333333
Windows Microsoft Visual Studio 2017 update 15.9.16
@@ -342,7 +342,7 @@ features that it does support.
342342
The minimum accepted version of gcc is 5.0. Older versions will generate a warning
343343
by `configure` and are unlikely to work.
344344

345-
The JDK is currently known to be able to compile with at least version 8.3 of
345+
The JDK is currently known to be able to compile with at least version 9.2 of
346346
gcc.
347347

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

‎make/conf/jib-profiles.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ var getJibProfilesProfiles = function (input, common, data) {
972972
var getJibProfilesDependencies = function (input, common) {
973973

974974
var devkit_platform_revisions = {
975-
linux_x64: "gcc8.3.0-OL6.4+1.0",
975+
linux_x64: "gcc9.2.0-OL6.4+1.0",
976976
macosx_x64: "Xcode10.1-MacOSX10.14+1.0",
977977
solaris_x64: "SS12u4-Solaris11u1+1.0",
978978
solaris_sparcv9: "SS12u6-Solaris11u3+1.0",

‎make/devkit/Tools.gmk

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -87,8 +87,16 @@ endif
8787
# Define external dependencies
8888

8989
# Latest that could be made to work.
90-
GCC_VER := 8.3.0
91-
ifeq ($(GCC_VER), 8.3.0)
90+
GCC_VER := 9.2.0
91+
ifeq ($(GCC_VER), 9.2.0)
92+
gcc_ver := gcc-9.2.0
93+
binutils_ver := binutils-2.34
94+
ccache_ver := 3.7.3
95+
mpfr_ver := mpfr-3.1.5
96+
gmp_ver := gmp-6.1.2
97+
mpc_ver := mpc-1.0.3
98+
gdb_ver := gdb-8.3
99+
else ifeq ($(GCC_VER), 8.3.0)
92100
gcc_ver := gcc-8.3.0
93101
binutils_ver := binutils-2.32
94102
ccache_ver := 3.7.3

0 commit comments

Comments
 (0)