Hi David. I have updated to Visual studio 2017 15.9.12. Build still fails, while now works much longer and pass much more steps:
*$ makeBuilding target 'default (exploded-image)' in configuration 'windows-x86_64-normal-server-release'Compiling 8 files for BUILD_TOOLS_LANGTOOLSCreating hotspot/variant-server/tools/adlc/adlc.exe from 13 file(s)Compiling 2 files for BUILD_JVMTI_TOOLSCompiling 1 files for BUILD_JFR_TOOLSCompiling 12 properties into resource bundles for jdk.jdepsCompiling 7 properties into resource bundles for jdk.jshellWarning: No mercurial configuration present and no .src-revParsing 2 properties into enum-like class for jdk.compilerCompiling 13 properties into resource bundles for jdk.javadocCompiling 19 properties into resource bundles for jdk.compilerCompiling 117 files for BUILD_java.compiler.interimCompiling 394 files for BUILD_jdk.compiler.interimCreating support/modules_libs/java.base/server/jvm.dll from 855 file(s)Creating hotspot/variant-server/libjvm/gtest/jvm.dll from 91 file(s)Creating hotspot/variant-server/libjvm/gtest/gtestLauncher.exe from 1 file(s)Compiling 299 files for BUILD_jdk.javadoc.interimCompiling 162 files for BUILD_TOOLS_JDKSjavac server failed to initialize: No port file values materialized. Giving up after 60369 msProcess output:<End of process output>Process exit code: 0IOException caught during compilation: Server failed to initialize: No port file values materialized. Giving up after 60369 msmake[3]: *** [CompileToolsJdk.gmk:48: /cygdrive/c/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/build/windows-x86_64-normal-server-release/buildtoo/jdk_tools_classes/_the.BUILD_TOOLS_JDK_batch] Error 1make[2]: *** [make/Main.gmk:85: buildtools-jdk] Error 2make[2]: *** Waiting for unfinished jobs....Compiling 188 files for BUILD_jdk.rmic.interimNote: Some input files use or override a deprecated API.Note: Recompile with -Xlint:deprecation for details.c:/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/src/hotspot/share/runtime/flags/jvmFlagRangeList.cpp(341): error C2220: warning treated as error -o 'object' file generatedc:/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/src/hotspot/share/runtime/flags/jvmFlagRangeList.cpp(341): warning C4305: 'argument': truncation fm 'const intx' to 'double'make[3]: *** [lib/CompileJvm.gmk:151: /cygdrive/c/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/build/windows-x86_64-normal-server-release/hotspot/riant-server/libjvm/objs/jvmFlagRangeList.obj] Error 1make[3]: *** Waiting for unfinished jobs....make[2]: *** [make/Main.gmk:257: hotspot-server-libs] Error 2ERROR: Build failed for target 'default (exploded-image)' in configuration 'windows-x86_64-normal-server-release' (exit code 2)=== Output from failing command(s) repeated here ===* For target buildtools_jdk_tools_classes__the.BUILD_TOOLS_JDK_batch:Sjavac server failed to initialize: No port file values materialized. Giving up after 60369 msProcess output:<End of process output>Process exit code: 0IOException caught during compilation: Server failed to initialize: No port file values materialized. Giving up after 60369 ms* For target hotspot_variant-server_libjvm_objs_jvmFlagRangeList.obj:jvmFlagRangeList.cppc:/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/src/hotspot/share/runtime/flags/jvmFlagRangeList.cpp(341): error C2220: warning treated as error -o 'object' file generatedc:/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/src/hotspot/share/runtime/flags/jvmFlagRangeList.cpp(341): warning C4305: 'argument': truncation fm 'const intx' to 'double' ... (rest of output omitted)* All command lines available in /cygdrive/c/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/build/windows-x86_64-normal-server-release/make-support/ilure-logs.=== End of repeated output ===No indication of failed target found.Hint: Try searching the build log for '] Error'.Hint: See doc/building.html#troubleshooting for assistance.make[1]: *** [/cygdrive/c/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/make/Init.gmk:305: main] Error 2make: *** [/cygdrive/c/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/make/Init.gmk:186: default] Error 2* пт, 31 мая 2019 г. в 08:47, David Holmes <david.hol...@oracle.com>: > Hi Moshe, > > Can you update your VS 2017 installation? The only difference I can spot > is that we are using > > Microsoft Visual Studio 2017 15.9.6 > > with > > Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27026.1 > > while you have: > > Visual Studio 2017 Developer Command Prompt v15.0.26228.86 > > with > > [Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25027 > > David > ----- > > On 31/05/2019 1:55 am, Moshe Zuisman wrote: > > Hi David. I have done it. with same result. > > I have added --debug-configure flag.. Attaching full configure output.. > > > > I am stuck with this issue and right now - have no idea - how to get out > > of this "blind alley"... > > > > чт, 30 мая 2019 г. в 12:46, David Holmes <david.hol...@oracle.com > > <mailto:david.hol...@oracle.com>>: > > > > Hi Moshe, > > > > can you try running configure with --disable-precompiled-headers > > > > Thanks, > > David > > > > On 30/05/2019 6:26 pm, Moshe Zuisman wrote: > > > Configuration summary: > > > ==================================================== > > > The existing configuration has been successfully updated in > > > > > > /cygdrive/c/jdk11-1ddf9a99e4ad/build/windows-x86_64-normal-server-release > > > using configure arguments > '--with-boot-jdk=/cygdrive/c/jdk-11.0.3'. > > > > > > Configuration summary: > > > * Debug level: release > > > * HS debug level: product > > > * JVM variants: server > > > * JVM features: server: 'aot cds cmsgc compiler1 compiler2 > > epsilongc > > > g1gc graal jfr jni-check jvmci jvmti management nmt parallelgc > > serialgc > > > services vm-structs' > > > * OpenJDK target: OS: windows, CPU architecture: x86, address > > length: 64 > > > * Version string: > 11-internal+0-adhoc.ADPRODcuser.jdk11-1ddf9a99e4ad > > > (11-internal) > > > > > > Tools summary: > > > * Environment: cygwin version 3.0.7(0.338/5/3) (root at > > > /cygdrive/c/cygwin64) > > > * Boot JDK: java version "11.0.3" 2019-04-16 LTS Java(TM) > SE > > > Runtime Environment 18.9 (build 11.0.3+12-LTS) Java HotSpot(TM) > > 64-Bit > > > Server VM 18.9 (build 11.0.3+12-LTS, mixed mode) (at > > > /cygdrive/c/jdk-11.0.3) > > > * Toolchain: microsoft (Microsoft Visual Studio 2017) > > > * C Compiler: Version 19.10.25027 (at > > > > > > > /cygdrive/c/progra~2/mib055~1/2017/profes~1/vc/tools/msvc/1410~1.250/bin/hostx86/x64/cl) > > > * C++ Compiler: Version 19.10.25027 (at > > > > > > > /cygdrive/c/progra~2/mib055~1/2017/profes~1/vc/tools/msvc/1410~1.250/bin/hostx86/x64/cl) > > > > > > Build performance summary: > > > * Cores to use: 2 > > > * Memory limit: 8191 MB > > > > > > WARNING: The result of this configuration has overridden an older > > > configuration. You *should* run 'make clean' to make sure you get > a > > > proper build. Failure to do so might result in strange build > > problems. > > > > > > чт, 30 мая 2019 г. в 00:58, David Holmes <david.hol...@oracle.com > > <mailto:david.hol...@oracle.com> > > > <mailto:david.hol...@oracle.com <mailto:david.hol...@oracle.com > >>>: > > > > > > Can you provide the configuration summary produced by > configure? > > > > > > It's an issue with precompiled headers but I've no idea what. > > > > > > David > > > > > > On 30/05/2019 5:21 am, Moshe Zuisman wrote: > > > > I thought, that may be probleem ressults form some > specific > > > > configuration on my machine (for example I have 2 version > of > > > MSVCc - > > > > 2012 and 2017. > > > > So I created clean VmWare Virtual machine and installed > their > > > only MSVC > > > > 2017 and cygwin. And tried to build OPEN JDK theeir. and > > got exactly > > > > same failure. > > > > > > > > ср, 29 мая 2019 г. в 09:40, Moshe Zuisman > > <zuism...@gmail.com <mailto:zuism...@gmail.com> > > > <mailto:zuism...@gmail.com <mailto:zuism...@gmail.com>> > > > > <mailto:zuism...@gmail.com <mailto:zuism...@gmail.com> > > <mailto:zuism...@gmail.com <mailto:zuism...@gmail.com>>>>: > > > > > > > > I am using > > > > > http://hg.openjdk.java.net/jdk-updates/jdk11u/rev/a23d4b4ea281 > > > > > > <http://hg.openjdk.java.net/jdk-updates/jdk11u/rev/a23d4b4ea281> > > > > > > > > > > > > ср, 29 мая 2019 г. в 08:35, David Holmes > > > <david.hol...@oracle.com <mailto:david.hol...@oracle.com> > > <mailto:david.hol...@oracle.com <mailto:david.hol...@oracle.com>> > > > > <mailto:david.hol...@oracle.com > > <mailto:david.hol...@oracle.com> > > > <mailto:david.hol...@oracle.com > > <mailto:david.hol...@oracle.com>>>>: > > > > > > > > Hi Moshe, > > > > > > > > On 29/05/2019 2:15 am, Moshe Zuisman wrote: > > > > > I am trying to build OPEN jdk 11 on cygwin with > > MSVC 2017 > > > > > > > > > > > > > > > _________________________________________________________________________ > > > > > > > > VS 2017 is the official supported compiler for > > building > > > OpenJDK > > > > 11 [1] > > > > and we don't see any issues. What version of the > 11u > > > source are you > > > > trying to compile? > > > > > > > > David > > > > > > > > [1] > > > > > > > https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms > > > > > > > > > > > > > > > > > > > > > > > > > *c:\progra~2\mib055~1\2017\profes~1\vc\tools\msvc\1410~1.250\include\exception(366): > > > > > warning C4577: 'noexcept' used with no > > exception handling > > > > mode specified; > > > > > termination on exception is not guaranteed. > Specify > > > > /EHscmake[3]: *** > > > > > [lib/CompileJvm.gmk:151: > > > > > > > > > > > > > > > > /cygdrive/c/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/build/windows-x86_64-normal-server-release/hotspot/variant-server/libjvm/objs/BUILD_LIBJVM_pch.obj] > > > > > Error 1make[3]: *** Waiting for unfinished > > > jobs....make[2]: *** > > > > > [make/Main.gmk:257: hotspot-server-libs] Error > > > 2make[2]: *** > > > > Waiting for > > > > > unfinished jobs....ERROR: Build failed for > > target 'default > > > > > (exploded-image)' in configuration > > > > 'windows-x86_64-normal-server-release' > > > > > (exit code 2)=== Output from failing command(s) > > > repeated here > > > > ===* For > > > > > target > > > > > > > > > > > > > > > > hotspot_variant-server_libjvm_objs_BUILD_LIBJVM_pch.obj:BUILD_LIBJVM_pch.cppc:\progra~2\mib055~1\2017\profes~1\vc\tools\msvc\1410~1.250\include\exception(366): > > > > > error C2220: warning treated as error - no > > 'object' file > > > > > > > > > > > > > > > > generatedc:\progra~2\mib055~1\2017\profes~1\vc\tools\msvc\1410~1.250\include\exception(366): > > > > > warning C4577: 'noexcept' used with no > > exception handling > > > > mode specified; > > > > > termination on exception is not guaranteed. > > Specify /EHsc > > > > ... (rest of > > > > > output omitted)* All command lines available in > > > > > > > > > > > > > > > > /cygdrive/c/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/build/windows-x86_64-normal-server-release/make-support/failure-logs.=== > > > > > End of repeated output ===No indication of > > failed target > > > > found.Hint: Try > > > > > searching the build log for '] Error'.Hint: See > > > > > doc/building.html#troubleshooting for > > > assistance.make[1]: *** > > > > > > > > > > > > > > > > [/cygdrive/c/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/make/Init.gmk:305: > > > > > main] Error 2make: *** > > > > > > > > > > > > > > > > [/cygdrive/c/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/make/Init.gmk:186: > > > > > default] Error 2* > > > > > > > > > > > > > > >