8319570: Change to GCC 13.2.0 for building on Linux at Oracle

Reviewed-by: ihse, dholmes
This commit is contained in:
Mikael Vidstedt 2023-11-13 22:44:28 +00:00
parent d992033439
commit 1802cb566e
4 changed files with 24 additions and 11 deletions

View File

@ -540,7 +540,7 @@ to compile successfully without issues.</p>
<tbody> <tbody>
<tr class="odd"> <tr class="odd">
<td>Linux</td> <td>Linux</td>
<td>gcc 11.2.0</td> <td>gcc 13.2.0</td>
</tr> </tr>
<tr class="even"> <tr class="even">
<td>macOS</td> <td>macOS</td>
@ -561,7 +561,7 @@ limited to using C99 features that it does support.</p>
generate a warning by <code>configure</code> and are unlikely to generate a warning by <code>configure</code> and are unlikely to
work.</p> work.</p>
<p>The JDK is currently known to be able to compile with at least <p>The JDK is currently known to be able to compile with at least
version 11.2 of gcc.</p> version 13.2 of gcc.</p>
<p>In general, any version between these two should be usable.</p> <p>In general, any version between these two should be usable.</p>
<h3 id="clang">clang</h3> <h3 id="clang">clang</h3>
<p>The minimum accepted version of clang is 3.5. Older versions will not <p>The minimum accepted version of clang is 3.5. Older versions will not

View File

@ -336,7 +336,7 @@ issues.
| Operating system | Toolchain version | | Operating system | Toolchain version |
| ------------------ | ------------------------------------------- | | ------------------ | ------------------------------------------- |
| Linux | gcc 11.2.0 | | Linux | gcc 13.2.0 |
| macOS | Apple Xcode 14.3.1 (using clang 14.0.3) | | macOS | Apple Xcode 14.3.1 (using clang 14.0.3) |
| Windows | Microsoft Visual Studio 2022 version 17.6.5 | | Windows | Microsoft Visual Studio 2022 version 17.6.5 |
@ -350,7 +350,7 @@ features that it does support.
The minimum accepted version of gcc is 5.0. Older versions will generate a warning The minimum accepted version of gcc is 5.0. Older versions will generate a warning
by `configure` and are unlikely to work. by `configure` and are unlikely to work.
The JDK is currently known to be able to compile with at least version 11.2 of The JDK is currently known to be able to compile with at least version 13.2 of
gcc. gcc.
In general, any version between these two should be usable. In general, any version between these two should be usable.

View File

@ -1085,10 +1085,10 @@ var getJibProfilesProfiles = function (input, common, data) {
var getJibProfilesDependencies = function (input, common) { var getJibProfilesDependencies = function (input, common) {
var devkit_platform_revisions = { var devkit_platform_revisions = {
linux_x64: "gcc11.2.0-OL6.4+1.0", linux_x64: "gcc13.2.0-OL6.4+1.0",
macosx: "Xcode14.3.1+1.0", macosx: "Xcode14.3.1+1.0",
windows_x64: "VS2022-17.6.5+1.0", windows_x64: "VS2022-17.6.5+1.0",
linux_aarch64: input.build_cpu == "x64" ? "gcc11.2.0-OL7.6+1.1" : "gcc11.2.0-OL7.6+1.0", linux_aarch64: "gcc13.2.0-OL7.6+1.0",
linux_arm: "gcc8.2.0-Fedora27+1.0", linux_arm: "gcc8.2.0-Fedora27+1.0",
linux_ppc64le: "gcc8.2.0-Fedora27+1.0", linux_ppc64le: "gcc8.2.0-Fedora27+1.0",
linux_s390x: "gcc8.2.0-Fedora27+1.0", linux_s390x: "gcc8.2.0-Fedora27+1.0",

View File

@ -55,11 +55,11 @@ KERNEL_HEADERS_RPM := kernel-headers
ifeq ($(BASE_OS), OL) ifeq ($(BASE_OS), OL)
ifeq ($(ARCH), aarch64) ifeq ($(ARCH), aarch64)
BASE_URL := http://yum.oracle.com/repo/OracleLinux/OL7/6/base/$(ARCH)/ BASE_URL := https://yum.oracle.com/repo/OracleLinux/OL7/6/base/$(ARCH)/
LINUX_VERSION := OL7.6 LINUX_VERSION := OL7.6
KERNEL_HEADERS_RPM := kernel-uek-headers KERNEL_HEADERS_RPM := kernel-uek-headers
else else
BASE_URL := http://yum.oracle.com/repo/OracleLinux/OL6/4/base/$(ARCH)/ BASE_URL := https://yum.oracle.com/repo/OracleLinux/OL6/4/base/$(ARCH)/
LINUX_VERSION := OL6.4 LINUX_VERSION := OL6.4
endif endif
else ifeq ($(BASE_OS), Fedora) else ifeq ($(BASE_OS), Fedora)
@ -96,8 +96,17 @@ endif
# Define external dependencies # Define external dependencies
# Latest that could be made to work. # Latest that could be made to work.
GCC_VER := 11.3.0 GCC_VER := 13.2.0
ifeq ($(GCC_VER), 11.3.0) ifeq ($(GCC_VER), 13.2.0)
gcc_ver := gcc-13.2.0
binutils_ver := binutils-2.41
ccache_ver := ccache-3.7.12
mpfr_ver := mpfr-4.2.0
gmp_ver := gmp-6.3.0
mpc_ver := mpc-1.3.1
gdb_ver := gdb-13.2
REQUIRED_MIN_MAKE_MAJOR_VERSION := 4
else ifeq ($(GCC_VER), 11.3.0)
gcc_ver := gcc-11.3.0 gcc_ver := gcc-11.3.0
binutils_ver := binutils-2.39 binutils_ver := binutils-2.39
ccache_ver := ccache-3.7.12 ccache_ver := ccache-3.7.12
@ -670,7 +679,11 @@ $(PREFIX)/Tools.gmk: ./Tools.gmk
rm -rf $@ rm -rf $@
cp $< $@ cp $< $@
THESE_MAKEFILES := $(PREFIX)/Makefile $(PREFIX)/Tools.gmk $(PREFIX)/Tars.gmk: ./Tars.gmk
rm -rf $@
cp $< $@
THESE_MAKEFILES := $(PREFIX)/Makefile $(PREFIX)/Tools.gmk $(PREFIX)/Tars.gmk
########################################################################################## ##########################################################################################