[11u] RFR 8250605: Linux x86_32 builds fail after JDK-8249821

Aleksey Shipilev shade at redhat.com
Wed Sep 23 07:16:22 UTC 2020


Original fix:
   https://bugs.openjdk.java.net/browse/JDK-8250605
   https://hg.openjdk.java.net/jdk/jdk/rev/1a722ad6e23d

Now that JDK-8249821 is backported to 11u, Linux x86_32 and ARM32 builds fail.

11u variant applies to a different file:

diff -r b65a84ce3601 make/lib/Awt2dLibraries.gmk
--- a/make/lib/Awt2dLibraries.gmk       Tue Jul 28 09:05:36 2020 +0200
+++ b/make/lib/Awt2dLibraries.gmk       Wed Sep 23 09:14:26 2020 +0200
@@ -673,11 +673,11 @@
      CXXFLAGS := $(CXXFLAGS_JDKLIB) $(LIBFONTMANAGER_CFLAGS), \
      OPTIMIZATION := $(LIBFONTMANAGER_OPTIMIZATION), \
      CFLAGS_windows = -DCC_NOEX, \
      EXTRA_HEADER_DIRS := $(LIBFONTMANAGER_EXTRA_HEADER_DIRS), \
      WARNINGS_AS_ERRORS_xlc := false, \
-    DISABLED_WARNINGS_gcc := sign-compare unused-function, \
+    DISABLED_WARNINGS_gcc := sign-compare unused-function int-to-pointer-cast, \
      DISABLED_WARNINGS_clang := sign-compare, \
      DISABLED_WARNINGS_C_solstudio := \
          E_INTEGER_OVERFLOW_DETECTED \
          E_ARG_INCOMPATIBLE_WITH_ARG_L \
          E_ENUM_VAL_OVERFLOWS_INT_MAX, \

Testing: x86_32 build

-- 
Thanks,
-Aleksey



More information about the jdk-updates-dev mailing list