Looks like you are using a newer Visual Studio toolchain:

'C:\PROGRA~2\MICROS~1\2017\PROFES~1\VC\Tools\MSVC\14.16.27023\

See below:

On 07/11/19 12:35, Moshe Zuisman wrote:
now I pulled last source (used get_ssource.sh) and - same result:
[...snip...]

*Generating Code...        sh
C:\openJdk8u_test\jdk8u\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\nmE8BD.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/openJdk8u_test/jdk8u/build/windows-x86_64-normal-server-release/hotspot/_hotspot.timestamp]
Error 2make: *** [/cygdrive/c/openJdk8u_test/jdk8u//make/Main.gmk:110:
hotspot-only] Error 2*


Take a look at JDK-8043492.  This issue looks very similar:
https://bugs.openjdk.java.net/browse/JDK-8043492

Fixed in 9, but if you want to update the toolchain when building jdk8u, you may need to backport the fix.

Tim

Reply via email to