File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -41333,6 +41333,19 @@ $as_echo "$as_me: Rewriting BUILD_LD to \"$new_complete\"" >&6;}
4133341333 # This is later checked when setting flags.
4133441334 fi
4133541335
41336+ if test "x$TOOLCHAIN_TYPE" = xgcc; then
41337+ if test "x$OPENJDK_TARGET_CPU_ARCH" = "xaarch64" ; then
41338+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken aarch64 gcc 4.x" >&5
41339+ $as_echo_n "checking for broken aarch64 gcc 4.x... " >&6; }
41340+ COMPILER_VERSION_NUMBER_MAJOR=`$ECHO "$COMPILER_VERSION_NUMBER" | $SED "s/[^0-9].*//"`
41341+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $COMPILER_VERSION_NUMBER_MAJOR.x" >&5
41342+ $as_echo "found $COMPILER_VERSION_NUMBER_MAJOR.x" >&6; }
41343+ if test $COMPILER_VERSION_NUMBER_MAJOR -lt 5; then
41344+ as_fn_error $? "GCC < 5 may incorrectly compile HotSpot on aarch64. See JDK-8360869." "$LINENO" 5
41345+ fi
41346+ fi
41347+ fi
41348+
4133641349 # Check for broken SuSE 'ld' for which 'Only anonymous version tag is allowed
4133741350 # in executable.'
4133841351 USING_BROKEN_SUSE_LD=no
You can’t perform that action at this time.
0 commit comments