Open sendaoYan opened 4 months ago
diff --git a/hotspot/make/linux/makefiles/vm.make b/hotspot/make/linux/makefiles/vm.make
index 69d503b058..6982f91e87 100644
--- a/hotspot/make/linux/makefiles/vm.make
+++ b/hotspot/make/linux/makefiles/vm.make
@@ -120,6 +120,9 @@ CFLAGS_WARN/compileBroker.o = $(CFLAGS_WARN/DEFAULT) -Wno-stringop-overflow
CFLAGS_WARN/method.o = $(CFLAGS_WARN/DEFAULT) -Wno-stringop-overflow
CFLAGS_WARN/thread.o = $(CFLAGS_WARN/DEFAULT) -Wno-stringop-overflow
CFLAGS_WARN/jni.o = $(CFLAGS_WARN/DEFAULT) -Wno-stringop-overflow
+ifeq ($(DEBUG_LEVEL), slowdebug)
+ CFLAGS_WARN/classFileParser.o = $(CFLAGS_WARN/DEFAULT) -Wno-stringop-overflow
+endif
CFLAGS += $(CFLAGS_WARN/BYFILE)
# Do not use C++ exception handling
73.patch To github.com:sendaoYan/riscv-port-jdk8u-ysd.git 4ad1ba6066..1fc2703a6d minus-jbs8276799 -> minus-jbs8276799
diff --git a/hotspot/make/linux/makefiles/vm.make b/hotspot/make/linux/makefiles/vm.make
index 6982f91e87..e7492951f4 100644
--- a/hotspot/make/linux/makefiles/vm.make
+++ b/hotspot/make/linux/makefiles/vm.make
@@ -120,7 +120,7 @@ CFLAGS_WARN/compileBroker.o = $(CFLAGS_WARN/DEFAULT) -Wno-stringop-overflow
CFLAGS_WARN/method.o = $(CFLAGS_WARN/DEFAULT) -Wno-stringop-overflow
CFLAGS_WARN/thread.o = $(CFLAGS_WARN/DEFAULT) -Wno-stringop-overflow
CFLAGS_WARN/jni.o = $(CFLAGS_WARN/DEFAULT) -Wno-stringop-overflow
-ifeq ($(DEBUG_LEVEL), slowdebug)
+ifeq ($(filter $(DEBUG_LEVEL), slowdebug fastdebug), $(DEBUG_LEVEL))
CFLAGS_WARN/classFileParser.o = $(CFLAGS_WARN/DEFAULT) -Wno-stringop-overflow
endif
CFLAGS += $(CFLAGS_WARN/BYFILE)
To github.com:sendaoYan/riscv-port-jdk8u-ysd.git 1fc2703a6d..b6430f594c minus-jbs8276799 -> minus-jbs8276799
make-aarch64.log make-gcc13-aarch64-fastdebug.log make-gcc13-aarch64-release.log make-gcc13-aarch64-slowdebug.log make-gcc13-riscv64-fastdebug.log make-gcc13-riscv64-release.log make-gcc13-riscv64-slowdebug.log make-gcc13-x86_64-fastdebug.log make-gcc13-x86_64-release.log make-gcc13-x86_64-slowdebug.log
make-gcc13-aarch64-fastdebug.log make-gcc13-aarch64-release.log make-gcc13-aarch64-slowdebug.log make-gcc13-riscv64-fastdebug.log make-gcc13-riscv64-release.log make-gcc13-riscv64-slowdebug.log make-gcc13-x86_64-fastdebug.log make-gcc13-x86_64-release.log make-gcc13-x86_64-slowdebug.log