From 4b80d87c28a6dd1c11f1403de1707832af1f7c6b 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. 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 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. Closes: https://github.com/eclipse/openj9/issues/3496 Signed-off-by: Babneet Singh --- common/autoconf/flags.m4 | 2 +- common/autoconf/generated-configure.sh | 4 ++-- jdk/make/closed/autoconf/generated-configure.sh | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/autoconf/flags.m4 b/common/autoconf/flags.m4 index c586b7fcdde..662defbcaa8 100644 --- a/common/autoconf/flags.m4 +++ b/common/autoconf/flags.m4 @@ -574,7 +574,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