From f3bc6e89b76bb608e9bdd610704cc0e65d9bca7d Mon Sep 17 00:00:00 2001 From: Babneet Singh Date: Fri, 9 Nov 2018 16:38:44 -0500 Subject: [PATCH] Change MACOSX_VERSION_MIN to 10.9.0 for OpenJ9 JDK8 For OpenJ9 JDK8 on OSX, the JIT can't be built with MACOSX_VERSION_MIN <= 10.8.0 using Xcode7 + clang. JIT needs libc++ which is only available when MACOSX_VERSION_MIN is set to 10.9.0 or greater. With MACOSX_VERSION_MIN <= 10.8.0, the Xcode7 build tools only provide an old version of stdlibc++, which can't be used to build the JIT. Thus, changing MACOSX_VERSION_MIN from 10.7.0 to 10.9.0 in order to support the JIT when building OpenJ9 JDK8 on OSX using Xcode7 + clang. Signed-off-by: Babneet Singh --- common/autoconf/flags.m4 | 8 +++++++- common/autoconf/generated-configure.sh | 4 ++-- jdk/make/closed/autoconf/generated-configure.sh | 4 ++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/common/autoconf/flags.m4 b/common/autoconf/flags.m4 index c586b7fcdde..d1bde760ceb 100644 --- a/common/autoconf/flags.m4 +++ b/common/autoconf/flags.m4 @@ -23,6 +23,12 @@ # questions. # +# +# =========================================================================== +# (c) Copyright IBM Corp. 2018, 2018 All Rights Reserved +# =========================================================================== +# + AC_DEFUN_ONCE([FLAGS_SETUP_INIT_FLAGS], [ # Option used to tell the compiler whether to create 32- or 64-bit executables @@ -574,7 +580,7 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK], # newer than the given OS version and makes the linked binaries compatible # even if built on a newer version of the OS. # The expected format is X.Y.Z - MACOSX_VERSION_MIN=10.7.0 + MACOSX_VERSION_MIN=10.9.0 AC_SUBST(MACOSX_VERSION_MIN) # The macro takes the version with no dots, ex: 1070 diff --git a/common/autoconf/generated-configure.sh b/common/autoconf/generated-configure.sh index 7b1837f2dd3..c8a3745a4a8 100644 --- a/common/autoconf/generated-configure.sh +++ b/common/autoconf/generated-configure.sh @@ -4336,7 +4336,7 @@ VS_SDK_PLATFORM_NAME_2017= #CUSTOM_AUTOCONF_INCLUDE # Do not change or remove the following line, it is needed for consistency checks: -DATE_WHEN_GENERATED=1541112610 +DATE_WHEN_GENERATED=1541800347 ############################################################################### # @@ -41771,7 +41771,7 @@ $as_echo "$supports" >&6; } # newer than the given OS version and makes the linked binaries compatible # even if built on a newer version of the OS. # The expected format is X.Y.Z - MACOSX_VERSION_MIN=10.7.0 + MACOSX_VERSION_MIN=10.9.0 # The macro takes the version with no dots, ex: 1070 diff --git a/jdk/make/closed/autoconf/generated-configure.sh b/jdk/make/closed/autoconf/generated-configure.sh index 24c20ac1fc4..500f94ba3bd 100644 --- a/jdk/make/closed/autoconf/generated-configure.sh +++ b/jdk/make/closed/autoconf/generated-configure.sh @@ -4447,7 +4447,7 @@ VS_SDK_PLATFORM_NAME_2017= # Do not change or remove the following line, it is needed for consistency checks: -DATE_WHEN_GENERATED=1541112610 +DATE_WHEN_GENERATED=1541800347 ############################################################################### # @@ -43915,7 +43915,7 @@ $as_echo "$supports" >&6; } # newer than the given OS version and makes the linked binaries compatible # even if built on a newer version of the OS. # The expected format is X.Y.Z - MACOSX_VERSION_MIN=10.7.0 + MACOSX_VERSION_MIN=10.9.0 # The macro takes the version with no dots, ex: 1070