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 @@ -41312,6 +41312,19 @@ $as_echo "$as_me: Rewriting BUILD_LD to \"$new_complete\"" >&6;}
4131241312 # This is later checked when setting flags.
4131341313 fi
4131441314
41315+ if test "x$TOOLCHAIN_TYPE" = xgcc; then
41316+ if test "x$OPENJDK_TARGET_CPU_ARCH" = "xaarch64" ; then
41317+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken aarch64 gcc 4.x" >&5
41318+ $as_echo_n "checking for broken aarch64 gcc 4.x... " >&6; }
41319+ COMPILER_VERSION_NUMBER_MAJOR=`$ECHO "$COMPILER_VERSION_NUMBER" | $SED "s/[^0-9].*//"`
41320+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $COMPILER_VERSION_NUMBER_MAJOR.x" >&5
41321+ $as_echo "found $COMPILER_VERSION_NUMBER_MAJOR.x" >&6; }
41322+ if test $COMPILER_VERSION_NUMBER_MAJOR -lt 5; then
41323+ as_fn_error $? "GCC < 5 may incorrectly compile HotSpot on aarch64. See JDK-8360869." "$LINENO" 5
41324+ fi
41325+ fi
41326+ fi
41327+
4131541328 # Check for broken SuSE 'ld' for which 'Only anonymous version tag is allowed
4131641329 # in executable.'
4131741330 USING_BROKEN_SUSE_LD=no
You can’t perform that action at this time.
0 commit comments