--- a/make/autoconf/toolchain.m4 Sat Jul 3 15:56:43 2021 +++ b/make/autoconf/toolchain.m4 Sat Jul 3 16:11:51 2021 @@ -225,7 +225,11 @@ # Linux x86_64 needs higher binutils after 8265783 # (this really is a dependency on as version, but we take ld as a check for a general binutils version) if test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then - TOOLCHAIN_MINIMUM_LD_VERSION_gcc="2.25" + if test "x$OPENJDK_TARGET_OS" = xsolaris; then + TOOLCHAIN_MINIMUM_LD_VERSION_gcc="" + else + TOOLCHAIN_MINIMUM_LD_VERSION_gcc="2.25" + fi fi # Use indirect variable referencing