RFR: JDK-8199339: JDK-8198859 broke solaris x64 (original) (raw)

Erik Joelsson erik.joelsson at oracle.com
Thu Mar 8 17:46:04 UTC 2018


The change in JDK-8198859 unfortunately broke solaris x64. While we (at Oracle) aren't building this platform regularly anymore, we still have a weird dependency on it so need to keep it building for a while more.

The simplest fix is to only do the elfedit on sparc.

Bug: https://bugs.openjdk.java.net/browse/JDK-8199339

Patch:

diff -r 28729cf7e4bc make/hotspot/lib/CompileDtracePostJvm.gmk --- a/make/hotspot/lib/CompileDtracePostJvm.gmk +++ b/make/hotspot/lib/CompileDtracePostJvm.gmk @@ -160,7 +160,9 @@          > (DTRACESUPPORTDIR)/(DTRACE_SUPPORT_DIR)/(DTRACESUPPORTDIR)/(@F).d))      (callExecuteWithLog,(call ExecuteWithLog, (callExecuteWithLog,@, (DTRACE)(DTRACE) (DTRACE)(DTRACE_FLAGS) -o $@
         -s (DTRACESUPPORTDIR)/(DTRACE_SUPPORT_DIR)/(DTRACESUPPORTDIR)/(@F).d) -    (callExecuteWithLog,(call ExecuteWithLog, (callExecuteWithLog,@.elfedit, (ELFEDIT)(ELFEDIT) (ELFEDIT)(call GetElfeditCommands) $@) +        ifeq ($(OPENJDK_TARGET_CPU_ARCH), sparc) +      (callExecuteWithLog,(call ExecuteWithLog, (callExecuteWithLog,@.elfedit, (ELFEDIT)(ELFEDIT) (ELFEDIT)(call GetElfeditCommands) $@) +        endif

############################################################################      # Build the stand-alone dtrace libraries

/Erik



More information about the build-dev mailing list