Failure buiilding OPEN JDK 11 on windows cygwin with VC 2017
David Holmes
david.holmes at oracle.com
Wed May 29 05:35:41 UTC 2019
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