From 56f1e4ef0524515c7f1ad65bc3f08a0e8dd0a29a Mon Sep 17 00:00:00 2001
From: Aleksey Shipilev
Even for 32-bit builds, it is recommended to use a 64-bit build
machine, and instead create a 32-bit target using
--with-target-bits=32.
Note: The Windows 32-bit x86 port is deprecated and may be removed in -a future release.
+Note: The 32-bit x86 port is deprecated and may be removed in a +future release.
At a minimum, a machine with 8 cores is advisable, as well as 8 GB of RAM. (The more cores to use, the more memory you need.) At least 6 GB of @@ -393,8 +393,7 @@ Build Platforms. From time to time, this is updated by contributors to list successes or failures of building on different platforms.
Windows XP is not a supported platform, but all newer Windows should -be able to build the JDK. (Note: The Windows 32-bit x86 port is -deprecated and may be removed in a future release.)
+be able to build the JDK.On Windows, it is important that you pay attention to the instructions in the Special Considerations.
diff --git a/doc/building.md b/doc/building.md index 466e8d7edf8..99bc509dc70 100644 --- a/doc/building.md +++ b/doc/building.md @@ -134,8 +134,7 @@ space is required. Even for 32-bit builds, it is recommended to use a 64-bit build machine, and instead create a 32-bit target using `--with-target-bits=32`. -Note: The Windows 32-bit x86 port is deprecated and may be removed in a future -release. +Note: The 32-bit x86 port is deprecated and may be removed in a future release. ### Building on aarch64 @@ -191,8 +190,7 @@ on different platforms. ### Windows Windows XP is not a supported platform, but all newer Windows should be able to -build the JDK. (Note: The Windows 32-bit x86 port is deprecated and may be -removed in a future release.) +build the JDK. On Windows, it is important that you pay attention to the instructions in the [Special Considerations](#special-considerations). diff --git a/make/autoconf/platform.m4 b/make/autoconf/platform.m4 index 3f977058a51..5b363e0704a 100644 --- a/make/autoconf/platform.m4 +++ b/make/autoconf/platform.m4 @@ -666,14 +666,14 @@ AC_DEFUN([PLATFORM_CHECK_DEPRECATION], [ AC_ARG_ENABLE(deprecated-ports, [AS_HELP_STRING([--enable-deprecated-ports@<:@=yes/no@:>@], [Suppress the error when configuring for a deprecated port @<:@no@:>@])]) - # if test "x$OPENJDK_TARGET_CPU" = xx86; then - # if test "x$enable_deprecated_ports" = "xyes"; then - # AC_MSG_WARN([The x86 port is deprecated and may be removed in a future release.]) - # else - # AC_MSG_ERROR(m4_normalize([The 32-bit x86 port is deprecated and may be removed in a future release. - # Use --enable-deprecated-ports=yes to suppress this error.])) - # fi - # fi + if test "x$OPENJDK_TARGET_CPU" = xx86; then + if test "x$enable_deprecated_ports" = "xyes"; then + AC_MSG_WARN([The 32-bit x86 port is deprecated and may be removed in a future release.]) + else + AC_MSG_ERROR(m4_normalize([The 32-bit x86 port is deprecated and may be removed in a future release. + Use --enable-deprecated-ports=yes to suppress this error.])) + fi + fi ]) AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_OS_VERSION],