Skip to content
Permalink
Browse files
8244653: Suppress gcc 9.1 ABI change notes on aarch64
Reviewed-by: kbarrett
  • Loading branch information
magicus committed May 8, 2020
1 parent 3f50575 commit d5b5059af555cac229405dcbf28db225e7338b9c
Showing with 4 additions and 1 deletion.
  1. +4 −1 make/autoconf/flags-cflags.m4
@@ -782,7 +782,10 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
fi
if test "x$TOOLCHAIN_TYPE" = xgcc; then
if test "x$FLAGS_CPU" = xarm; then
if test "x$FLAGS_CPU" = xaarch64; then
# -Wno-psabi to get rid of annoying "note: parameter passing for argument of type '<type> changed in GCC 9.1"
$1_CFLAGS_CPU="-Wno-psabi"
elif test "x$FLAGS_CPU" = xarm; then
# -Wno-psabi to get rid of annoying "note: the mangling of 'va_list' has changed in GCC 4.4"
$1_CFLAGS_CPU="-fsigned-char -Wno-psabi $ARM_ARCH_TYPE_FLAGS $ARM_FLOAT_TYPE_FLAGS -DJDK_ARCH_ABI_PROP_NAME='\"\$(JDK_ARCH_ABI_PROP_NAME)\"'"
$1_CFLAGS_CPU_JVM="-DARM"

0 comments on commit d5b5059

Please sign in to comment.