Failure buiilding OPEN JDK 11 on windows cygwin with VC 2017

David Holmes david.holmes at oracle.com
Thu May 30 09:45:55 UTC 2019


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.holmes at oracle.com 
> <mailto:david.holmes at 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 <zuismanm at gmail.com
>     <mailto:zuismanm at gmail.com>
>      > <mailto:zuismanm at gmail.com <mailto:zuismanm at 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.holmes at oracle.com <mailto:david.holmes at oracle.com>
>      >     <mailto:david.holmes at oracle.com
>     <mailto:david.holmes at 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*
>      >          >
>      >
> 



More information about the build-dev mailing list