How to troubleshoot build failure on windows cygwin

Moshe Zuisman zuismanm at gmail.com
Thu Jul 11 11:17:30 UTC 2019


Hi. I am trrting to build openjdk8u_b24 on windows cygwin environment.
Get fololowing error:
_________________________________________________________

























*
C:\progra~2\micros~1\2017\profes~1\vc\tools\msvc\1416~1.270\bin\hostx86\x64\cl.exe
   /nologo /W3 /WX /Zi /D "_LP64" /D "AMD64" /D "WIN32" /D "_WINDOWS" /D
"VM_LITTLE_ENDIAN" /D TARGET_OS_FAMILY_windows /D TARGET_ARCH_x86 /D
TARGET_ARCH_MODEL_x86_64 /D TARGET_OS_ARCH_windows_x86 /D
TARGET_OS_ARCH_MODEL_windows_x86_64 /D TARGET_COMPILER_visCPP /MD   /D
"PRODUCT" /D "COMPILER1" /D "COMPILER2" /D
"HOTSPOT_RELEASE_VERSION=\"25.71-b00\"" /D
"JRE_RELEASE_VERSION=\"1.8.0-internal-administrator_2019_07_09_23_08-b00\""
/D "HOTSPOT_LIB_ARCH=\"amd64\"" /D "HOTSPOT_BUILD_TARGET=\"product\"" /D
"HOTSPOT_BUILD_USER=\"Administrator\"" /D "HOTSPOT_VM_DISTRO=\"OpenJDK\""
/D "VENDOR=\"\"" /D "VENDOR_URL=\"\"" /D "VENDOR_URL_BUG=\"\"" /D
"VENDOR_URL_VM_BUG=\"\"" /I "..\generated"  /I
"C:\openJdk\openjdk8u\hotspot\src\share\vm"  /I
"C:\openJdk\openjdk8u\hotspot\src\share\vm\precompiled"  /I
"C:\openJdk\openjdk8u\hotspot\src\share\vm\prims"  /I
"C:\openJdk\openjdk8u\hotspot\src\os\windows\vm"  /I
"C:\openJdk\openjdk8u\hotspot\src\os_cpu\windows_x86\vm"  /I
"C:\openJdk\openjdk8u\hotspot\src\cpu\x86\vm" /D "_JNI_IMPLEMENTATION_"
/Fp"vm.pch" /Yu"precompiled.hpp" /c ..\generated\adfiles\ad_x86_64.cpp
..\generated\adfiles\ad_x86_64_clone.cpp
..\generated\adfiles\ad_x86_64_expand.cpp
..\generated\adfiles\ad_x86_64_format.cpp
..\generated\adfiles\ad_x86_64_gen.cpp
..\generated\adfiles\ad_x86_64_misc.cpp
..\generated\adfiles\ad_x86_64_peephole.cpp
..\generated\adfiles\ad_x86_64_pipeline.cpp
..\generated\adfiles\dfa_x86_64.cppad_x86_64.cppad_x86_64_clone.cppad_x86_64_expand.cppad_x86_64_format.cppad_x86_64_gen.cppad_x86_64_misc.cppad_x86_64_peephole.cppad_x86_64_pipeline.cppdfa_x86_64.cppGenerating
Code...        sh
C:\openJdk\openjdk8u\hotspot/make/windows/build_vm_def.sh
C:\progra~2\micros~1\2017\profes~1\vc\tools\msvc\1416~1.270\bin\hostx86\x64\link.exe
@C:\cygwin64\tmp\nm155D.tmp   Creating library jvm.lib and object
jvm.expad_x86_64_peephole.obj : error LNK2011: precompiled object not
linked in; image may not runjvm.dll : fatal error LNK1120: 1 unresolved
externalsNMAKE : fatal error U1077:
'C:\progra~2\micros~1\2017\profes~1\vc\tools\msvc\1416~1.270\bin\hostx86\x64\link.exe'
: return code '0x460'Stop.NMAKE : fatal error U1077: 'cd' : return code
'0x2'Stop.NMAKE : fatal error U1077:
'C:\PROGRA~2\MICROS~1\2017\PROFES~1\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\nmake.EXE'
: return code '0x2'Stop.make[3]: *** [Makefile:231: generic_build2] Error
2make[2]: *** [Makefile:177: product] Error 2make[1]: ***
[HotspotWrapper.gmk:45:
/cygdrive/c/openJdk/openjdk8u/build/windows-x86_64-normal-server-release/hotspot/_hotspot.timestamp]
Error 2make: *** [/cygdrive/c/openJdk/openjdk8u//make/Main.gmk:110:
hotspot-only] Error 2*
________________________________________________________________________

I have here 2 questions.
First is obvious - what can be a reason for such a failure?

Second - are there some troubleshooting flags , methods to work out such
problems? Since message is here very unclear. I can not get any clue from
here which external refference can not be found, which module refference
it?


More information about the build-dev mailing list