view patches/hotspot/shenandoah/werror.patch @ 2986:2ba4051a8442

Bump shenandoah to aarch64-shenandoah-jdk8u282-b08. 2021-02-03 Andrew John Hughes <gnu_andrew@member.fsf.org> Bump shenandoah to aarch64-shenandoah-jdk8u282-b08. * patches/hotspot/shenandoah/8062808-pr3548.patch, * patches/hotspot/shenandoah/8197981-pr3548.patch, * patches/hotspot/shenandoah/pr1869.patch, * patches/hotspot/shenandoah/pr3519-return_value-02.patch, * patches/hotspot/shenandoah/pr3601.patch: Remove patches included upstream. * Makefile.am: (ICEDTEA_PATCHES): Make PR1869, 8062808/PR3548, 8197981/PR3548 and PR3601 patches AArch32 only as they are now upstream in the new Shenandoah bundle. Remove Shenandoah-only PR3519 altogether. * NEWS: Updated. * hotspot.map.in: Bump shenandoah to aarch64-shenandoah-jdk8u282-b08. * patches/hotspot/aarch32/8062808-pr3548.patch: Replace symlink to Shenandoah version with a regenerated version that does not assume PR1748 is applied first. * patches/hotspot/aarch32/8143245-pr3548.patch, * patches/hotspot/aarch32/8197981-pr3548.patch: Replace symlinks to Shenandoah versions with copies, as the Shenandoah versions have been removed. * patches/hotspot/aarch32/pr1748.patch: Replace symlink to Shenandoah version with a regenerated version that applies after JDK-8062808, but without JDK-8036122 being applied as in the Shenandoah version. * patches/hotspot/aarch32/pr1869.patch, * patches/hotspot/aarch32/pr3601.patch, * patches/hotspot/aarch32/werror.patch: Replace symlinks to Shenandoah versions with copies, as the Shenandoah versions are either removed or modified to apply against 8u282-b08. * patches/hotspot/shenandoah/8143245-pr3548.patch: Regenerated against new context in cppInterpreter_zero.cpp due to JDK-8254166. * patches/hotspot/shenandoah/pr1748.patch: Regenerated against new context in linux/makefiles/gcc.make due to JDK-8062808 being upstreamed. * patches/hotspot/shenandoah/werror.patch: Regenerated against new context in solaris/makefiles/gcc.make due to JDK-8036122.
author Andrew John Hughes <gnu_andrew@member.fsf.org>
date Thu, 04 Feb 2021 06:19:03 +0000
parents 264e472a8d18
children
line wrap: on
line source

# HG changeset patch
# User andrew
# Date 1408489026 -3600
#      Tue Aug 19 23:57:06 2014 +0100
# Node ID 22d29c372fc4271930e4169a66818f67e27cf6e8
# Parent  c75d6ce2e98b901b31ac84dbbb59667e03beb9d5
Merge jdk8u20-b23

diff -Nru openjdk.orig/hotspot/make/linux/makefiles/gcc.make openjdk/hotspot/make/linux/makefiles/gcc.make
--- openjdk.orig/hotspot/make/linux/makefiles/gcc.make	2021-02-03 05:46:04.643791423 +0000
+++ openjdk/hotspot/make/linux/makefiles/gcc.make	2021-02-03 17:48:23.482188036 +0000
@@ -202,7 +202,9 @@
 endif
 
 # Compiler warnings are treated as errors
+ifneq ($(COMPILER_WARNINGS_FATAL),false)
 WARNINGS_ARE_ERRORS = -Werror
+endif
 
 ifeq ($(USE_CLANG), true)
   # However we need to clean the code up before we can unrestrictedly enable this option with Clang
diff -Nru openjdk.orig/hotspot/make/solaris/makefiles/adlc.make openjdk/hotspot/make/solaris/makefiles/adlc.make
--- openjdk.orig/hotspot/make/solaris/makefiles/adlc.make	2021-01-15 17:21:13.000000000 +0000
+++ openjdk/hotspot/make/solaris/makefiles/adlc.make	2021-02-03 17:48:23.482188036 +0000
@@ -73,8 +73,10 @@
 
 # CFLAGS_WARN holds compiler options to suppress/enable warnings.
 # Compiler warnings are treated as errors
-ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)
-  CFLAGS_WARN = +w -errwarn
+ifneq ($(COMPILER_WARNINGS_FATAL),false)
+  ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)
+    CFLAGS_WARN = +w -errwarn
+  endif
 endif
 # When using compiler version 5.13 (Solaris Studio 12.4), calls to explicitly 
 # instantiated template functions trigger this warning when +w is active.
diff -Nru openjdk.orig/hotspot/make/solaris/makefiles/gcc.make openjdk/hotspot/make/solaris/makefiles/gcc.make
--- openjdk.orig/hotspot/make/solaris/makefiles/gcc.make	2021-01-15 17:21:13.000000000 +0000
+++ openjdk/hotspot/make/solaris/makefiles/gcc.make	2021-02-03 17:48:53.654476968 +0000
@@ -117,7 +117,9 @@
 
 
 # Compiler warnings are treated as errors 
-WARNINGS_ARE_ERRORS = -Werror 
+ifneq ($(COMPILER_WARNINGS_FATAL),false)
+WARNINGS_ARE_ERRORS = -Werror
+endif
 # Enable these warnings. See 'info gcc' about details on these options
 WARNING_FLAGS = -Wpointer-arith -Wconversion -Wsign-compare -Wundef -Wformat=2
 CFLAGS_WARN/DEFAULT = $(WARNINGS_ARE_ERRORS) $(WARNING_FLAGS)