Skip to content

Commit dc7efed

Browse files
committed
Moved compiler version result to earlier stage
1 parent 1a23a45 commit dc7efed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/autoconf/toolchain.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -850,10 +850,10 @@ AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
850850
if test "x$OPENJDK_TARGET_CPU_ARCH" = "xaarch64" ; then
851851
AC_MSG_CHECKING([for broken aarch64 gcc 4.x])
852852
COMPILER_VERSION_NUMBER_MAJOR=`$ECHO "$COMPILER_VERSION_NUMBER" | $SED "s/@<:@^0-9@:>@.*//"`
853+
AC_MSG_RESULT([found $COMPILER_VERSION_NUMBER_MAJOR.x])
853854
if test $COMPILER_VERSION_NUMBER_MAJOR -lt 5; then
854-
AC_MSG_ERROR([GCC < 5 is known to be compiling incorrectly on aarch64. See JDK-8360869. Gcc $COMPILER_VERSION_NUMBER_MAJOR.x detected])
855+
AC_MSG_ERROR([GCC < 5 is known to lead to incorrect compilation on aarch64. See JDK-8360869.])
855856
fi
856-
AC_MSG_RESULT([ok ($COMPILER_VERSION_NUMBER_MAJOR.x)])
857857
fi
858858
fi
859859

0 commit comments

Comments
 (0)