On Wed, 17 Jan 2024 12:39:43 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:

> For me, there is a huge question on portable JDK builds, which are usually 
> built with the lowest GCC toolchain possible to avoid GLIBC 
> incompatibilities. I am pretty sure currently built portable builds are _not_ 
> riding as high as GCC 10.

I'm not sure if you are referring to something else, but Oracle's builds of the 
JDK are intended to be portable and we are currently on GCC 13.2.0. There is no 
need to keep the GCC version low for portable builds, just the libs in the 
sysroot (which is where the GLIBC dependency is decided). We statically link 
libstdc++ and libgcc to avoid incompatibilities from GCC. This is why we use 
"devkits", to be able to combine a modern GCC with the lowest denominator 
sysroot that we need for our support matrix.

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

PR Comment: https://git.openjdk.org/jdk/pull/14988#issuecomment-1895844654

Reply via email to