Hello,

Please approve and review this fix for 8u. There is a discrepancy between the Solaris and Linux makefiles for Hotspot, where a source file is excluded for a certain configuration on Linux but not on Solaris. This causes the build to fail on Solaris in that configuration.

Bug: https://bugs.openjdk.java.net/browse/JDK-8136691
Patch:
diff --git a/make/solaris/makefiles/trace.make b/make/solaris/makefiles/trace.make
--- a/make/solaris/makefiles/trace.make
+++ b/make/solaris/makefiles/trace.make
@@ -56,8 +56,12 @@
 ifeq ($(HAS_ALT_SRC), true)
 TraceGeneratedNames +=  \
        traceRequestables.hpp \
-    traceEventControl.hpp \
-    traceProducer.cpp
+    traceEventControl.hpp
+
+ifneq ($(INCLUDE_TRACE), false)
+  TraceGeneratedNames += traceProducer.cpp
+endif
+
 endif

 TraceGeneratedFiles = $(TraceGeneratedNames:%=$(TraceOutDir)/%)


/Erik

Reply via email to