Hang building JDK 7 Hotspot in Windows 7 (original) (raw)

Kelly Ohair kelly.ohair at oracle.com
Thu Feb 7 16:36:20 UTC 2013


no definite answers just ideas

we are starting to use windows 2008R2 which seems better make sure the env vars TMP and TEMP are set to directories windows understands eg C:/ paths and these directories exist and have write permissions try using
make LOG=debug,nofile

Sent from my iPhone

On Feb 6, 2013, at 23:59, Randy Nielsen <rnielsen at vocera.com> wrote:

I am thoroughly stuck building JDK 7 when I start the Hotspot portion of the build. This is Windows 7 64 bit building 64 bit JDK with Visual Studio 10 Service Pack 1. The hang seems to happen immediately after I start the hotspot portion of the make. There is no output at all. Watching the Windows Task Manager in the Processes tab shows the System Idle process at 99% almost all of the time. Occasionally mscorsvw.exe (.NET services) or minty.exe gets a few % of CPU but only very briefly.

From browsing the web I've tried the following "fixes": verified that there was no anti-virus program, and disabled ASLR (Address Space Layout Randomization). No change in behavior. Has anyone any ideas about how to deal with this? Also are there settings in the make that will dramatically increase the level of logging in the make that might help me debug this? Here's the output of the make hotspot: /usr/bin/mkdir -p C:/OpenJDK/openjdk/build/windows-amd64/hotspot/outputdir /usr/bin/mkdir -p C:/OpenJDK/openjdk/build/windows-amd64/hotspot/import ######################################################################## ######################################################################## ##### Entering hotspot for target(s) allproduct ##### ######################################################################## _cd ./hotspot/make && _ make JDKTOPDIR=C:/OpenJDK/openjdk/jdk JDKMAKESHAREDDIR=C:/OpenJDK/openjdk/jdk/make/common/shared EXTERNALSANITYCONTROL=true SOURCELANGUAGEVERSION=7 TARGETCLASSVERSION=7 MILESTONE=internal BUILDNUMBER=b00 JDKBUILDNUMBER=b00 FULLVERSION=1.7.0-internal-administrator201302062332-b00 PREVIOUSJDKVERSION=1.6.0 JDKVERSION=1.7.0 JDKMKTGVERSION=7 JDKMAJORVERSION=1 JDKMINORVERSION=7 JDKMICROVERSION=0 PREVIOUSMAJORVERSION=1 PREVIOUSMINORVERSION=6 PREVIOUSMICROVERSION=0 ARCHDATAMODEL=64 COOKEDBUILDNUMBER=0 ANTHOME="c:/OpenJDK/apache-ant-1.7.1" ALTOUTPUTDIR=C:/OpenJDK/openjdk/build/windows-amd64/hotspot/outputdir ALTEXPORTPATH=C:/OpenJDK/openjdk/build/windows-amd64/hotspot/import ALTSLASHJAVA="c:/OpenJDK" ALTBOOTDIR=c:/OpenJDK/jdk-6u18 ALTLANGTOOLSDIST=C:/OpenJDK/openjdk/build/windows-amd64/langtools/dist allproduct ==>> That's it - no more output. The output of the sanity portion of the make is below. Hoping someone can help! Randy $ make cygwin warning: MS-DOS style path detected: C:/Windows/system32/wscript.exe Preferred POSIX equivalent is: /cygdrive/c/Windows/system32/wscript.exe CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames _( cd ./jdk/make && _ make sanity HOTSPOTIMPORTCHECK=false JDKTOPDIR=C:/OpenJDK/openjdk/jdk JDKMAKESHAREDDIR=C:/OpenJDK/openjdk/jdk/make/common/shared EXTERNALSANITYCONTROL=true SOURCELANGUAGEVERSION=7 TARGETCLASSVERSION=7 MILESTONE=internal BUILDNUMBER=b00 JDKBUILDNUMBER=b00 FULLVERSION=1.7.0-internal-administrator201302062332-b00 PREVIOUSJDKVERSION=1.6.0 JDKVERSION=1.7.0 JDKMKTGVERSION=7 JDKMAJORVERSION=1 JDKMINORVERSION=7 JDKMICROVERSION=0 PREVIOUSMAJORVERSION=1 PREVIOUSMINORVERSION=6 PREVIOUSMICROVERSION=0 ARCHDATAMODEL=64 COOKEDBUILDNUMBER=0 ANTHOME="c:/OpenJDK/apache-ant-1.7.1" ALTOUTPUTDIR=C:/OpenJDK/openjdk/build/windows-amd64 ALTLANGTOOLSDIST=C:/OpenJDK/openjdk/build/windows-amd64/langtools/dist ALTCORBADIST=C:/OpenJDK/openjdk/build/windows-amd64/corba/dist ALTJAXPDIST=C:/OpenJDK/openjdk/build/windows-amd64/jaxp/dist ALTJAXWSDIST=C:/OpenJDK/openjdk/build/windows-amd64/jaxws/dist ALTHOTSPOTIMPORTPATH=C:/OpenJDK/openjdk/build/windows-amd64/hotspot/import BUILDHOTSPOT=true ; ) make[1]: Entering directory /cygdrive/c/OpenJDK/openjdk/jdk/make'_ _make[1]: Leaving directory /cygdrive/c/OpenJDK/openjdk/jdk/make' Build Machine Information: build machine = WIN-R7HSHTAIIHC Build Directory Structure: CWD = /cygdrive/c/OpenJDK/openjdk TOPDIR = . LANGTOOLSTOPDIR = ./langtools JAXPTOPDIR = ./jaxp JAXWSTOPDIR = ./jaxws CORBATOPDIR = ./corba HOTSPOTTOPDIR = ./hotspot JDKTOPDIR = ./jdk Build Directives: BUILDLANGTOOLS = true BUILDJAXP = true BUILDJAXWS = true BUILDCORBA = true BUILDHOTSPOT = true BUILDJDK = true DEBUGCLASSFILES = DEBUGBINARIES = Hotspot Settings: HOTSPOTBUILDJOBS = HOTSPOTOUTPUTDIR = C:/OpenJDK/openjdk/build/windows-amd64/hotspot/outputdir HOTSPOTEXPORTPATH = C:/OpenJDK/openjdk/build/windows-amd64/hotspot/import

Bootstrap Settings: BOOTDIR = c:/OpenJDK/jdk-6u18 ALTBOOTDIR = c:/OpenJDK/jdk-6u18 BOOTVER = 1.6.0 [requires at least 1.6] OUTPUTDIR = C:/OpenJDK/openjdk/build/windows-amd64 ALTOUTPUTDIR = C:/OpenJDK/openjdk/build/windows-amd64 ABSOUTPUTDIR = C:/OpenJDK/openjdk/build/windows-amd64 Build Tool Settings: SLASHJAVA = c:/OpenJDK ALTSLASHJAVA = c:/OpenJDK VARIANT = OPT JDKDEVTOOLSDIR = c:/OpenJDK/devtools ALTJDKDEVTOOLSDIR = ANTHOME = c:/OpenJDK/apache-ant-1.7.1 UNIXCOMMANDPATH = /usr/bin/ ALTUNIXCOMMANDPATH = COMPILERPATH = C:/PROGRA2/MICROS2.0/Common7/Tools/../../Vc/bin/amd64/ ALTCOMPILERPATH = DEVTOOLSPATH = /usr/bin/ ALTDEVTOOLSPATH = MSVCRNNDLLPATH = C:/PROGRA2/MICROS2.0/Vc/redist/x64/Microsoft.VC100.CRT ALTMSVCRNNDLLPATH = INCLUDE = C:/PROGRA2/MICROS2.0/VC/include;C:/MSSDKWIN7/Windows/v7.1/Include LIB = C:/PROGRA2/MICROS2.0/VC/lib/amd64;C:/MSSDKWIN7/Windows/v7.1/Lib/x64 COMPILERNAME = Microsoft Visual Studio 10 (16.00.30319.01) COMPILERVERSION = VS2010 CCVER = 16.00.40219.01 [requires at least 16.00.30319.01] ZIPVER = 3.0 [requires at least 2.2] UNZIPVER = 6.00 [requires at least 5.12] LINKVER = 10.00.40219.01 [requires at least 10.00.30319.01] CC = C:/PROGRA2/MICROS2.0/Common7/Tools/../../Vc/bin/amd64/cl LINK = C:/PROGRA2/MICROS2.0/Common7/Tools/../../Vc/bin/amd64/link DUMPBIN = C:/PROGRA2/MICROS2.0/Common7/Tools/../../Vc/bin/amd64/dumpbin.exe ANTVER = 1.7.1 [requires at least 1.7.1] TEMPDIR = C:/OpenJDK/openjdk/build/windows-amd64/tmp Build Directives: OPENJDK = true USEHOTSPOTINTERPRETERMODE = PEDANTIC = DEVONLY = NODOCS = NOIMAGES = TOOLSONLY = INSANE = COMPILEAPPROACH = normal FASTDEBUG = COMPILERWARNINGSFATAL = false COMPILERWARNINGLEVEL = 3 SHOWALLWARNINGS = false INCREMENTALBUILD = false CCHIGHESTOPT = CCHIGHEROPT = CCLOWEROPT = CXXFLAGS = -O1 -Zi -nologo -MD /D STATICCPPLIB /D DISABLEDEPRECATESTATICCPPLIB -Zc:wchart- -FdC:/OpenJDK/openjdk/build/windows-amd64/tmp/obj64/.pdb -FmC:/OpenJDK/openjdk/build/windows-amd64/tmp/obj64/.map -wd4800 -W3 -D CRTSECURENODEPRECATE -D CRTNONSTDCNODEPRECATE CFLAGS = -O1 -Zi -nologo -MD /D STATICCPPLIB /D DISABLEDEPRECATESTATICCPPLIB -Zc:wchart- -FdC:/OpenJDK/openjdk/build/windows-amd64/tmp/obj64/.pdb -FmC:/OpenJDK/openjdk/build/windows-amd64/tmp/obj64/.map -wd4800 -W3 -D CRTSECURENODEPRECATE -D CRTNONSTDCNODEPRECATE BOOTJAVACMD = c:/OpenJDK/jdk-6u18/bin/java -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -Xmx512m -Xms512m -XX:PermSize=32m -XX:MaxPermSize=160m BOOTJAVACCMD = c:/OpenJDK/jdk-6u18/bin/javac -J-XX:ThreadStackSize=1536 -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-Xmx512m -J-Xms512m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -encoding ascii -source 6 -target 6 -XDignore.symbol.file=true BOOTJARCMD = c:/OpenJDK/jdk-6u18/bin/jar BOOTJARSIGNERCMD = c:/OpenJDK/jdk-6u18/bin/jarsigner Build Platform Settings: USER = Administrator PLATFORM = windows ARCH = amd64 LIBARCH = amd64 ARCHFAMILY = amd64 ARCHDATAMODEL = 64 ARCHPROP = amd64 PROCESSORARCHITECTURE = x86 PROCESSORIDENTIFIER = Intel64 Family 6 Model 26 Stepping 5, GenuineIntel USINGCYGWIN = true CYGWINVER = 6.1 [requires at least 4.0] CYGPATHCMD = cygpath -a -s -m OSVERSION = 6.1 [requires at least 5.2] OSVARIANTNAME = OSVARIANTVERSION = 6.1 MBOFMEMORY = 8191 GNU Make Settings: MAKE = make MAKEVER = 3.82 [requires at least 3.81] MAKECMDGOALS = sanity MAKEFLAGS = w SHELL = /bin/sh Target Build Versions: JDKVERSION = 1.7.0 MILESTONE = internal RELEASE = 1.7.0-internal FULLVERSION = 1.7.0-internal-administrator201302062332-b00 BUILDNUMBER = b00 External File/Binary Locations: USRJDKINSTANCESPATH = C:/PROGRA~1/Java BUILDJDKIMPORTPATH = c:/OpenJDK/re/jdk/1.7.0/promoted/latest/binaries ALTBUILDJDKIMPORTPATH = JDKIMPORTPATH = c:/OpenJDK/re/jdk/1.7.0/promoted/latest/binaries/windows-amd64 ALTJDKIMPORTPATH = LANGTOOLSDIST = C:/OpenJDK/openjdk/build/windows-amd64/langtools/dist ALTLANGTOOLSDIST = C:/OpenJDK/openjdk/build/windows-amd64/langtools/dist CORBADIST = C:/OpenJDK/openjdk/build/windows-amd64/corba/dist ALTCORBADIST = C:/OpenJDK/openjdk/build/windows-amd64/corba/dist JAXPDIST = C:/OpenJDK/openjdk/build/windows-amd64/jaxp/dist ALTJAXPDIST = C:/OpenJDK/openjdk/build/windows-amd64/jaxp/dist JAXWSDIST = C:/OpenJDK/openjdk/build/windows-amd64/jaxws/dist ALTJAXWSDIST = C:/OpenJDK/openjdk/build/windows-amd64/jaxws/dist HOTSPOTDOCSIMPORTPATH = /NODOCSDIR ALTHOTSPOTDOCSIMPORTPATH = HOTSPOTIMPORTPATH = C:/OpenJDK/openjdk/build/windows-amd64/hotspot/import ALTHOTSPOTIMPORTPATH = C:/OpenJDK/openjdk/build/windows-amd64/hotspot/import HOTSPOTSERVERPATH = C:/OpenJDK/openjdk/build/windows-amd64/hotspot/import/jre/bin/server ALTHOTSPOTSERVERPATH = HOTSPOTLIBPATH = C:/OpenJDK/openjdk/build/windows-amd64/hotspot/import/lib ALTHOTSPOTLIBPATH = DXSDKVER = 0x0900 DXSDKPATH = C:/PROGRA2/MI4ADD1 ALTDXSDKPATH = C:/PROGRA2/MI4ADD1 DXSDKINCLUDEPATH = C:/PROGRA2/MI4ADD1/Include ALTDXSDKINCLUDEPATH = DXSDKLIBPATH = C:/PROGRA2/MI4ADD1/Lib/x64 ALTDXSDKLIBPATH = WINDOWSSDKDIR = C:/PROGRA2/MICROS1/Windows/v7.0a/ ALTWINDOWSSDKDIR = RC = C:/PROGRA2/MICROS1/Windows/v7.0a//Bin/x64/RC.Exe REBASE = C:/PROGRA2/MICROS1/Windows/v7.0a//Bin/x64/ReBase.Exe CACERTSFILE = ./../src/share/lib/security/cacerts ALTCACERTSFILE = OpenJDK-specific settings: FREETYPEHEADERSPATH = C:/OpenJDK/freetype-2.4.11/include ALTFREETYPEHEADERSPATH = C:/OpenJDK/freetype-2.4.11/include FREETYPELIBPATH = C:/OpenJDK/freetype-2.4.11 ALTFREETYPELIBPATH = C:/OpenJDK/freetype-2.4.11 Previous JDK Settings: PREVIOUSRELEASEPATH = USING-PREVIOUSRELEASEIMAGE ALTPREVIOUSRELEASEPATH = PREVIOUSJDKVERSION = 1.6.0 ALTPREVIOUSJDKVERSION = PREVIOUSJDKFILE = ALTPREVIOUSJDKFILE = PREVIOUSJREFILE = ALTPREVIOUSJREFILE = PREVIOUSRELEASEIMAGE = c:/OpenJDK/jdk-6u18 ALTPREVIOUSRELEASEIMAGE = WARNING: To build Java 2 SDK 1.7.0 you need : VS2010 - link.exe version '10.00.30319.01' Specifically the Visual Studio 10 link.exe. You appear to be using Linker version '10.00.40219.01' Sanity check passed. _make _ _SKIPFASTDEBUGBUILD=true _ _SKIPDEBUGBUILD=true _ __ genericbuildreposeries make[1]: Entering directory `/cygdrive/c/OpenJDK/openjdk' /usr/bin/mkdir -p ./build/windows-amd64/j2sdk-image /usr/bin/mkdir -p C:/OpenJDK/openjdk/build/windows-amd64/langtools == End of listing of make sanity portion of build ==



More information about the build-dev mailing list