-
Bug
-
Resolution: Won't Fix
-
P3
-
9
-
windows
D:\hotspot_src\buildscripts>set BUILD_WIN_SA=1
D:\hotspot_src\buildscripts>set ENABLE_FULL_DEBUG_SYMBOLS=1
D:\hotspot_src\buildscripts>cd D:\hotspot_src\hs-rt\hotspot_23_jul\make\windows
D:\hotspot_src\hs-rt\hotspot_23_jul\make\windows>build.bat debug compiler2 D:\hotspot_src\hs-rt\hotspot_23_jul D:\hotspot_src\latest_product_jdk8
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
mkdir windows_i486_compiler2
cd windows_i486_compiler2
nmake -nologo -f D:\hotspot_src\hs-rt\hotspot_23_jul\make\windows\makefiles\top.make BUILD_FLAVOR=debug ARCH=x86
nmake in ./generated
cd generated && "d:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.EXE" -NOLOGO -f D:\hotspot_src\hs-rt\hotspot_23_jul\make\windows\makefil
VOR=debug
mkdir -p ../generated/saclasses
...Building sa-jdi.jar into ../generated/saclasses
...D:\hotspot_src\latest_product_jdk8\bin\javac -g -encoding ascii -source 6 -target 6 -classpath D:\hotspot_src\latest_product_jdk8/lib/tools.jar -d ../gen
warning: [options] bootstrap class path not set in conjunction with -source 1.6
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
"D:\hotspot_src\latest_product_jdk8\bin\rmic" -classpath ../generated/saclasses -d ../generated/saclasses sun.jvm.hotspot.debugger.remote.RemoteDebu
Warning: generation and use of skeletons and static stubs for JRMP
is deprecated. Skeletons are unnecessary, and static stubs have
been superseded by dynamically generated stubs. Users are
encouraged to migrate away from using rmic to generate skeletons and static
stubs. See the documentation for java.rmi.server.UnicastRemoteObject.
echo sun.jvm.hotspot.runtime.VM.saBuildVersion=> ../generated/saclasses/sa.properties
rm -f ../generated/saclasses/sun/jvm/hotspot/utilities/soql/sa.js
D:\hotspot_src\hs-rt\hotspot_23_jul/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/sa.js ../generated/saclasses/sun/jvm/hotspot/utilities/
'D:\hotspot_src\hs-rt\hotspot_23_jul' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'D:\hotspot_src\hs-rt\hotspot_23_jul' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"d:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.EXE"' : return code '0x2'
Stop.
windows/makefiles/sa.make:
$(GENERATED)/sa-jdi.jar: $(AGENT_FILES)
$(QUIETLY) mkdir -p $(SA_CLASSDIR)
@echo ...Building sa-jdi.jar into $(SA_CLASSDIR)
@echo ...$(COMPILE_JAVAC) -classpath $(SA_CLASSPATH) -d $(SA_CLASSDIR) ....
@$(COMPILE_JAVAC) -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -d $(SA_CLASSDIR) $(AGENT_FILES)
$(COMPILE_RMIC) -classpath $(SA_CLASSDIR) -d $(SA_CLASSDIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
$(QUIETLY) echo $(SA_BUILD_VERSION_PROP)> $(SA_PROPERTIES)
$(QUIETLY) rm -f $(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql/sa.js
$(QUIETLY) $(CP) $(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql <<------
$(QUIETLY) rm -rf $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources
$(QUIETLY) mkdir $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources
$(QUIETLY) $(CP) $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources <<-----
$(QUIETLY) $(CP) -r $(AGENT_SRC_DIR)/images/* $(SA_CLASSDIR) <<------
$(RUN_JAR) cf $@ -C $(SA_CLASSDIR) .
$(RUN_JAR) uf $@ -C $(AGENT_SRC_DIR) META-INF/services/com.sun.jdi.connect.Connector
$(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal
$(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.debugger.x86.X86ThreadContext
$(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.debugger.amd64.AMD64ThreadContext
$(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.asm.Disassembler
sa.make does not use or pickup the parameterized $(CP) variable (it does not use any parameterized vars)
D:\hotspot_src\buildscripts>set ENABLE_FULL_DEBUG_SYMBOLS=1
D:\hotspot_src\buildscripts>cd D:\hotspot_src\hs-rt\hotspot_23_jul\make\windows
D:\hotspot_src\hs-rt\hotspot_23_jul\make\windows>build.bat debug compiler2 D:\hotspot_src\hs-rt\hotspot_23_jul D:\hotspot_src\latest_product_jdk8
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
mkdir windows_i486_compiler2
cd windows_i486_compiler2
nmake -nologo -f D:\hotspot_src\hs-rt\hotspot_23_jul\make\windows\makefiles\top.make BUILD_FLAVOR=debug ARCH=x86
nmake in ./generated
cd generated && "d:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.EXE" -NOLOGO -f D:\hotspot_src\hs-rt\hotspot_23_jul\make\windows\makefil
VOR=debug
mkdir -p ../generated/saclasses
...Building sa-jdi.jar into ../generated/saclasses
...D:\hotspot_src\latest_product_jdk8\bin\javac -g -encoding ascii -source 6 -target 6 -classpath D:\hotspot_src\latest_product_jdk8/lib/tools.jar -d ../gen
warning: [options] bootstrap class path not set in conjunction with -source 1.6
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
"D:\hotspot_src\latest_product_jdk8\bin\rmic" -classpath ../generated/saclasses -d ../generated/saclasses sun.jvm.hotspot.debugger.remote.RemoteDebu
Warning: generation and use of skeletons and static stubs for JRMP
is deprecated. Skeletons are unnecessary, and static stubs have
been superseded by dynamically generated stubs. Users are
encouraged to migrate away from using rmic to generate skeletons and static
stubs. See the documentation for java.rmi.server.UnicastRemoteObject.
echo sun.jvm.hotspot.runtime.VM.saBuildVersion=> ../generated/saclasses/sa.properties
rm -f ../generated/saclasses/sun/jvm/hotspot/utilities/soql/sa.js
D:\hotspot_src\hs-rt\hotspot_23_jul/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/sa.js ../generated/saclasses/sun/jvm/hotspot/utilities/
'D:\hotspot_src\hs-rt\hotspot_23_jul' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'D:\hotspot_src\hs-rt\hotspot_23_jul' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"d:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.EXE"' : return code '0x2'
Stop.
windows/makefiles/sa.make:
$(GENERATED)/sa-jdi.jar: $(AGENT_FILES)
$(QUIETLY) mkdir -p $(SA_CLASSDIR)
@echo ...Building sa-jdi.jar into $(SA_CLASSDIR)
@echo ...$(COMPILE_JAVAC) -classpath $(SA_CLASSPATH) -d $(SA_CLASSDIR) ....
@$(COMPILE_JAVAC) -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -d $(SA_CLASSDIR) $(AGENT_FILES)
$(COMPILE_RMIC) -classpath $(SA_CLASSDIR) -d $(SA_CLASSDIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
$(QUIETLY) echo $(SA_BUILD_VERSION_PROP)> $(SA_PROPERTIES)
$(QUIETLY) rm -f $(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql/sa.js
$(QUIETLY) $(CP) $(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql <<------
$(QUIETLY) rm -rf $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources
$(QUIETLY) mkdir $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources
$(QUIETLY) $(CP) $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources <<-----
$(QUIETLY) $(CP) -r $(AGENT_SRC_DIR)/images/* $(SA_CLASSDIR) <<------
$(RUN_JAR) cf $@ -C $(SA_CLASSDIR) .
$(RUN_JAR) uf $@ -C $(AGENT_SRC_DIR) META-INF/services/com.sun.jdi.connect.Connector
$(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal
$(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.debugger.x86.X86ThreadContext
$(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.debugger.amd64.AMD64ThreadContext
$(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.asm.Disassembler
sa.make does not use or pickup the parameterized $(CP) variable (it does not use any parameterized vars)
- relates to
-
JDK-8054534 Investigate removal of build.bat
- Closed
-
JDK-8046765 makefiles should use parameterized $(CP) and $(MV) rather than explicit commands
- Resolved