On 3/06/2019 6:20 am, Moshe Zuisman wrote:
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:

/$ make
Building target 'default (exploded-image)' in configuration 'windows-x86_64-normal-server-release'
Compiling 8 files for BUILD_TOOLS_LANGTOOLS
Creating hotspot/variant-server/tools/adlc/adlc.exe from 13 file(s)
Compiling 2 files for BUILD_JVMTI_TOOLS
Compiling 1 files for BUILD_JFR_TOOLS
Compiling 12 properties into resource bundles for jdk.jdeps
Compiling 7 properties into resource bundles for jdk.jshell
Warning: No mercurial configuration present and no .src-rev

Not sure how significant that is.

Parsing 2 properties into enum-like class for jdk.compiler
Compiling 13 properties into resource bundles for jdk.javadoc
Compiling 19 properties into resource bundles for jdk.compiler
Compiling 117 files for BUILD_java.compiler.interim
Compiling 394 files for BUILD_jdk.compiler.interim
Creating 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.interim
Compiling 162 files for BUILD_TOOLS_JDK
Sjavac server failed to initialize: No port file values materialized. Giving up after 60369 ms

Sorry I have no idea how sjavac is initialized or why it might fail to initialize. Hopefully Erik or Tim can chime in.

Process output:
<End of process output>
Process exit code: 0
IOException caught during compilation: Server failed to initialize: No port file values materialized. Giving up after 60369 ms make[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 1
make[2]: *** [make/Main.gmk:85: buildtools-jdk] Error 2
make[2]: *** Waiting for unfinished jobs....
Compiling 188 files for BUILD_jdk.rmic.interim
Note: 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 generated c:/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]

As Kim stated this issue should be fixed already, but I can't readily tell whether the version you are using contains the fix.

David
-----

Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [make/Main.gmk:257: hotspot-server-libs] Error 2

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 buildtools_jdk_tools_classes__the.BUILD_TOOLS_JDK_batch:
Sjavac server failed to initialize: No port file values materialized. Giving up after 60369 ms
Process output:
<End of process output>
Process exit code: 0
IOException 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.cpp
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 generated c:/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 2 make: *** [/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 <mailto: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>
     > <mailto: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>>
     >      > <mailto: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>>>
     >      >      > <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 <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>>>
     >      >      >     <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
    <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*
     >      >      >          >
     >      >      >
     >      >
     >

Reply via email to