# HG changeset patch # User erikj # Date 1465319136 -7200 # Node ID e63e7447b9a8b8ed0708f9431455721836717810 # Parent a6b5b18fd06c71b67dd3b850d9d57a7265b84ac6# Parent 08671ca5c778867cdd51b8c2126e77a97af240b1 Merge diff -r a6b5b18fd06c -r e63e7447b9a8 common/autoconf/build-performance.m4 --- a/common/autoconf/build-performance.m4 Tue Jun 07 12:55:09 2016 +0300 +++ b/common/autoconf/build-performance.m4 Tue Jun 07 19:05:36 2016 +0200 @@ -367,6 +367,9 @@ elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then AC_MSG_RESULT([no, does not work with Solaris Studio]) USE_PRECOMPILED_HEADER=0 + elif test "x$TOOLCHAIN_TYPE" = xxlc; then + AC_MSG_RESULT([no, does not work with xlc]) + USE_PRECOMPILED_HEADER=0 else AC_MSG_RESULT([yes]) fi diff -r a6b5b18fd06c -r e63e7447b9a8 common/autoconf/flags.m4 --- a/common/autoconf/flags.m4 Tue Jun 07 12:55:09 2016 +0300 +++ b/common/autoconf/flags.m4 Tue Jun 07 19:05:36 2016 +0200 @@ -593,9 +593,9 @@ fi C_O_FLAG_NONE="-O0" elif test "x$TOOLCHAIN_TYPE" = xxlc; then - C_O_FLAG_HIGHEST_JVM="-O3" - C_O_FLAG_HIGHEST="-O3" - C_O_FLAG_HI="-O3 -qstrict" + C_O_FLAG_HIGHEST_JVM="-O3 -qhot=level=1 -qinline -qinlglue" + C_O_FLAG_HIGHEST="-O3 -qhot=level=1 -qinline -qinlglue" + C_O_FLAG_HI="-O3 -qinline -qinlglue" C_O_FLAG_NORM="-O2" C_O_FLAG_DEBUG="-qnoopt" # FIXME: Value below not verified. @@ -911,8 +911,8 @@ elif test "x$OPENJDK_$1_OS" = xaix; then $2JVM_CFLAGS="[$]$2JVM_CFLAGS -DAIX" # We may need '-qminimaltoc' or '-qpic=large -bbigtoc' if the TOC overflows. - $2JVM_CFLAGS="[$]$2JVM_CFLAGS -qtune=balanced -qhot=level=1 -qinline \ - -qinlglue -qalias=noansi -qstrict -qtls=default -qlanglvl=c99vla \ + $2JVM_CFLAGS="[$]$2JVM_CFLAGS -qtune=balanced \ + -qalias=noansi -qstrict -qtls=default -qlanglvl=c99vla \ -qlanglvl=noredefmac -qnortti -qnoeh -qignerrno" elif test "x$OPENJDK_$1_OS" = xbsd; then $2COMMON_CCXXFLAGS_JDK="[$]$2COMMON_CCXXFLAGS_JDK -D_ALLBSD_SOURCE" diff -r a6b5b18fd06c -r e63e7447b9a8 common/autoconf/generated-configure.sh --- a/common/autoconf/generated-configure.sh Tue Jun 07 12:55:09 2016 +0300 +++ b/common/autoconf/generated-configure.sh Tue Jun 07 19:05:36 2016 +0200 @@ -5092,7 +5092,7 @@ #CUSTOM_AUTOCONF_INCLUDE # Do not change or remove the following line, it is needed for consistency checks: -DATE_WHEN_GENERATED=1464173584 +DATE_WHEN_GENERATED=1465316678 ############################################################################### # @@ -49613,9 +49613,9 @@ fi C_O_FLAG_NONE="-O0" elif test "x$TOOLCHAIN_TYPE" = xxlc; then - C_O_FLAG_HIGHEST_JVM="-O3" - C_O_FLAG_HIGHEST="-O3" - C_O_FLAG_HI="-O3 -qstrict" + C_O_FLAG_HIGHEST_JVM="-O3 -qhot=level=1 -qinline -qinlglue" + C_O_FLAG_HIGHEST="-O3 -qhot=level=1 -qinline -qinlglue" + C_O_FLAG_HI="-O3 -qinline -qinlglue" C_O_FLAG_NORM="-O2" C_O_FLAG_DEBUG="-qnoopt" # FIXME: Value below not verified. @@ -50622,8 +50622,8 @@ elif test "x$OPENJDK_TARGET_OS" = xaix; then JVM_CFLAGS="$JVM_CFLAGS -DAIX" # We may need '-qminimaltoc' or '-qpic=large -bbigtoc' if the TOC overflows. - JVM_CFLAGS="$JVM_CFLAGS -qtune=balanced -qhot=level=1 -qinline \ - -qinlglue -qalias=noansi -qstrict -qtls=default -qlanglvl=c99vla \ + JVM_CFLAGS="$JVM_CFLAGS -qtune=balanced \ + -qalias=noansi -qstrict -qtls=default -qlanglvl=c99vla \ -qlanglvl=noredefmac -qnortti -qnoeh -qignerrno" elif test "x$OPENJDK_TARGET_OS" = xbsd; then COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK -D_ALLBSD_SOURCE" @@ -51427,8 +51427,8 @@ elif test "x$OPENJDK_BUILD_OS" = xaix; then OPENJDK_BUILD_JVM_CFLAGS="$OPENJDK_BUILD_JVM_CFLAGS -DAIX" # We may need '-qminimaltoc' or '-qpic=large -bbigtoc' if the TOC overflows. - OPENJDK_BUILD_JVM_CFLAGS="$OPENJDK_BUILD_JVM_CFLAGS -qtune=balanced -qhot=level=1 -qinline \ - -qinlglue -qalias=noansi -qstrict -qtls=default -qlanglvl=c99vla \ + OPENJDK_BUILD_JVM_CFLAGS="$OPENJDK_BUILD_JVM_CFLAGS -qtune=balanced \ + -qalias=noansi -qstrict -qtls=default -qlanglvl=c99vla \ -qlanglvl=noredefmac -qnortti -qnoeh -qignerrno" elif test "x$OPENJDK_BUILD_OS" = xbsd; then OPENJDK_BUILD_COMMON_CCXXFLAGS_JDK="$OPENJDK_BUILD_COMMON_CCXXFLAGS_JDK -D_ALLBSD_SOURCE" @@ -53456,7 +53456,7 @@ $as_echo "no, forced" >&6; } BUILD_GTEST="false" elif test "x$enable_hotspot_gtest" = "x"; then - if test "x$GTEST_DIR_EXISTS" = "xtrue"; then + if test "x$GTEST_DIR_EXISTS" = "xtrue" && test "x$OPENJDK_TARGET_OS" != "xaix"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } BUILD_GTEST="true" @@ -66120,6 +66120,10 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, does not work with Solaris Studio" >&5 $as_echo "no, does not work with Solaris Studio" >&6; } USE_PRECOMPILED_HEADER=0 + elif test "x$TOOLCHAIN_TYPE" = xxlc; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, does not work with xlc" >&5 +$as_echo "no, does not work with xlc" >&6; } + USE_PRECOMPILED_HEADER=0 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } diff -r a6b5b18fd06c -r e63e7447b9a8 common/autoconf/hotspot.m4 --- a/common/autoconf/hotspot.m4 Tue Jun 07 12:55:09 2016 +0300 +++ b/common/autoconf/hotspot.m4 Tue Jun 07 19:05:36 2016 +0200 @@ -333,7 +333,7 @@ AC_MSG_RESULT([no, forced]) BUILD_GTEST="false" elif test "x$enable_hotspot_gtest" = "x"; then - if test "x$GTEST_DIR_EXISTS" = "xtrue"; then + if test "x$GTEST_DIR_EXISTS" = "xtrue" && test "x$OPENJDK_TARGET_OS" != "xaix"; then AC_MSG_RESULT([yes]) BUILD_GTEST="true" else