RFR: JDK-8265373: Change to GCC 10.3 for building on Linux at Oracle

Mikael Vidstedt mikael at openjdk.java.net
Fri Apr 16 19:39:36 UTC 2021


On Fri, 16 Apr 2021 19:21:11 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

> Oracle is updating the version of GCC for building the JDK to 10.3.
> 
> In addition to the version bump, I'm also enabling cross compilation OOTB using jib from a linux-aarch64 to linux-x64 binaries, which was the last missing combination. (Native x64, native aarch64, cross from x64 to aarch64 all worked already and will continue to do so.)

make/conf/jib-profiles.js line 426:

> 424:                 (input.build_cpu == "x64" ? common.configure_args_64bit : "--openjdk-target=x86_64-linux-gnu"),
> 425:                 "--with-zlib=system", "--disable-dtrace",
> 426:                 (input.build_cpu != "x64" ? "--openjdk-target=x86_64-linux-gnu" : null),

Doesn't this add `--openjdk-target=x86_64-linux-gnu` twice when build_cpu is not "x64"?

-------------

PR: https://git.openjdk.java.net/jdk/pull/3551



More information about the build-dev mailing list